Visualizzazione dei risultati da 1 a 6 su 6
  1. #1
    Utente di HTML.it L'avatar di ganesha
    Registrato dal
    Jan 2003
    Messaggi
    357

    Dove è finita la memoria??

    Ho una linux-box che di mestiere fa il webserver.
    Ultimamante ho aggiunto un po' di ram (da 192 a 578mb) per evitare che utilizzi memoria swap.
    La cosa strana è che dopo un po' di ore dei 578mb ne rimangono liberi solo una decina. Se controllo l'occupazione di memoria dei processi attivi i conti non tornano affatto.
    Qualcuno sa dirmi se questo comportamento è normale? ma più che altro dove è finata la ram mancante?

    Questa qua sotto è una videata del comando top con i processi ordinati per occupazione di memoria:
    codice:
    Mem:   579600K av,  568412K used,   11188K free,       0K shrd,   69808K buff
    Swap:  200772K av,       0K used,  200772K free                   87492K cached
    
      PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
     3408 apache    15   0 14572  14M  8188 S     0,0  2,5   0:33 httpd
     4782 apache    15   0 13448  13M  8192 S     0,0  2,3   0:08 httpd
     4733 apache    15   0 13384  13M  8208 S     0,0  2,3   0:29 httpd
     4760 apache    15   0 13268  12M  8192 S     0,0  2,2   0:12 httpd
     4763 apache    15   0 13028  12M  8188 S     0,0  2,2   0:17 httpd
     4854 apache    15   0 13020  12M  8136 S     0,0  2,2   0:03 httpd
     4874 apache    15   0  8708 8708  7976 S     0,0  1,5   0:00 httpd
     4932 apache    15   0  8664 8664  7980 S     0,0  1,4   0:00 httpd
     2333 root      15   0  7132 7132  6708 S     0,0  1,2   0:01 httpd
      942 xfs       15   0  3616 3616   840 S     0,0  0,6   0:00 xfs
     5044 root      15   0  1416 1416  1032 S     0,0  0,2   0:00 bash
     5003 root      15   0  1300 1300   928 S     0,0  0,2   0:00 login
     5004 webmaste  15   0  1292 1292   968 S     0,0  0,2   0:00 bash
      806 root      18   0  1228 1228  1020 S     0,0  0,2   0:00 sshd
      839 root      15   0  1040 1040   836 S     0,0  0,1   0:00 xinetd
     5091 root      15   0  1016 1016   820 R     0,2  0,1   0:02 top
     5043 root      15   0   972  972   788 S     0,0  0,1   0:00 su
     5002 root      15   0   752  752   628 R     0,0  0,1   0:00 in.telnetd
      645 rpcuser   18   0   720  720   624 S     0,0  0,1   0:00 rpc.statd
      880 root      15   0   616  616   540 S     0,0  0,1   0:00 crond
      592 root      15   0   588  588   500 S     0,0  0,1   0:00 syslogd
      617 rpc       15   0   584  584   500 S     0,0  0,1   0:00 portmap
     1001 daemon    15   0   524  524   460 S     0,0  0,0   0:00 atd
        1 root      15   0   480  480   420 S     0,0  0,0   0:04 init
      752 root      15   0   480  480   424 S     0,0  0,0   0:00 apmd
      597 root      15   0   444  444   384 S     0,0  0,0   0:00 klogd
     1010 root      16   0   400  400   344 S     0,0  0,0   0:00 mingetty
     1011 root      16   0   400  400   344 S     0,0  0,0   0:00 mingetty
     1012 root      16   0   400  400   344 S     0,0  0,0   0:00 mingetty
     1013 root      16   0   400  400   344 S     0,0  0,0   0:00 mingetty
     1014 root      16   0   400  400   344 S     0,0  0,0   0:00 mingetty
     1015 root      16   0   400  400   344 S     0,0  0,0   0:00 mingetty
        2 root      15   0     0    0     0 SW    0,0  0,0   0:00 keventd
        3 root      15   0     0    0     0 SW    0,0  0,0   0:00 kapmd
        4 root      34  19     0    0     0 SWN   0,0  0,0   0:00 ksoftirqd_CPU0
        5 root      15   0     0    0     0 SW    0,0  0,0   0:00 kswapd

  2. #2
    Utente di HTML.it L'avatar di ganesha
    Registrato dal
    Jan 2003
    Messaggi
    357
    up

  3. #3
    Utente bannato
    Registrato dal
    Mar 2001
    Messaggi
    1,144
    la memoria viene liberata solo se richiesta da altre applicazioni, altrimenti resta lì come eventuale cache

    free -m ti da delle informazioni più accurate

  4. #4
    Utente di HTML.it
    Registrato dal
    Jan 2002
    Messaggi
    411
    Il tuo e' esattamente il 132.126 ^ post sull' argomento.

    Fai una ricerca.
    RTFM.
    Pessimismo e fastidio.

  5. #5
    Utente di HTML.it L'avatar di ganesha
    Registrato dal
    Jan 2003
    Messaggi
    357
    quindi anche se top mi da solo 11 mega liberi, se un nuovo processo ne richiede ad es. 50 non mi swappa.. bene

    b00malek, ho provato a fare la ricerca ma ricevo questa risposta:
    codice:
    A causa dei problemi del forum la ricerca è stata momentaneamente disabilitata. 
    Ci scusiamo per l'inconveniente.
    grazie

  6. #6
    Utente di HTML.it L'avatar di chaosd
    Registrato dal
    Mar 2004
    Messaggi
    1,282
    Originariamente inviato da b00malek
    Il tuo e' esattamente il 132.126 ^ post sull' argomento.

    Fai una ricerca.

    chessimpatico!

    cmq la ricerca non va
    <Girls are like Internet Domains: the ones you like are already taken, but you can still get one from a strange country!>

    Computers are like conditioned air: they stop work properly when you open windows

    Livin' on: Kubuntu + 2.6.24.2

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.