[Linuxtrent] R: Re: swappa troppo...

  • From: Gilberto Osler <gibo@xxxxxxxxxxx>
  • To: linuxtrent@xxxxxxxxxxxxx
  • Date: Wed, 8 Jul 2009 11:58:18 +0200 (CEST)

Mmm.. squid con 128 MB di ram...

Prova ad impostare il parametro cache_mem nel file squid.conf limitandolo per 
esempio a 10 MB (è la cache del proxy in ram).



----- Messaggio originale -----
Da: "Flavio" <elektro67@xxxxxxxxx>
A: linuxtrent@xxxxxxxxxxxxx
Inviato: Mercoledì, 8 luglio 2009 12:00:03 GMT +01:00 
Amsterdam/Berlino/Berna/Roma/Stoccolma/Vienna
Oggetto: [Linuxtrent] Re: swappa troppo...

Giuliano Natali ha scritto:
> On Mer, Luglio 8, 2009, 11:15 am, Flavio wrote:
>> Stando a top l'uso della swap e' preoccupante... credo.
>>
>> top - 11:13:55 up 7 days,  2:15,  1 user,  load average: 0.01, 0.02, 0.00
>> Tasks:  49 total,   1 running,  48 sleeping,   0 stopped,   0 zombie
>> Cpu(s):  1.3%us,  0.8%sy,  0.0%ni, 95.3%id,  1.3%wa,  0.1%hi,  1.2%si,
>> 0.0%st
>> Mem:    125948k total,   122584k used,     3364k free,    34848k buffers
>> Swap:    38184k total,    38184k used,        0k free,    48144k cached
> 
> Mi interessavano i processi a dire la verità ma tant'è...
> forse la domanda non era proprio precisina.
> 
> La faccio adesso: cosa ci fai girare su sta portaaerei?
> In pratica, cosa sarebbe sto miniserver?
> 
> 128Mb di ram e 38 mega di swap....
> 
> Cosa l'è?
> 
> Diaolin
> 
> 

Daiii... non prendete in giro il mio "megafotonicoserver"... poverino 
sta facendo un lavoro immane, dimenticato su un tetto in sardegna a 50 
gradi di temperatura...

Si tratta di una alix su cui c'e' un po di roba che serve a fare da 
gateway/hotspot in un villaggio, niente di piu'.

Ecco i processi:

top - 11:54:26 up 7 days,  2:55,  1 user,  load average: 0.06, 0.07, 0.02
Tasks:  48 total,   1 running,  47 sleeping,   0 stopped,   0 zombie
Cpu(s):  3.2%us,  2.3%sy,  0.0%ni, 91.6%id,  0.0%wa,  0.3%hi,  2.6%si, 
0.0%st

   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND 

  3952 proxy     20   0 12832 9764 1612 S  5.2  7.8 285:26.91 squid 

  1161 flax      20   0  2208 1040  828 R  2.6  0.8   0:00.26 top 

   805 flax      20   0  7880 1504 1036 S  0.6  1.2   0:01.44 sshd 

     1 root      20   0  2756 1672  524 S  0.0  1.3   0:12.70 init 

     2 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kthreadd 

     3 root      15  -5     0    0    0 S  0.0  0.0   0:00.10 
ksoftirqd/0 

     4 root      RT  -5     0    0    0 S  0.0  0.0   0:04.14 watchdog/0 

     5 root      15  -5     0    0    0 S  0.0  0.0   0:04.12 events/0 

     6 root      15  -5     0    0    0 S  0.0  0.0   0:00.22 khelper 

    38 root      15  -5     0    0    0 S  0.0  0.0   0:06.28 kblockd/0 

    45 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kseriod 

    86 root      20   0     0    0    0 S  0.0  0.0   0:02.34 pdflush 

    88 root      15  -5     0    0    0 S  0.0  0.0   0:05.50 kswapd0 

   128 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 aio/0 

   386 proxy     20   0  2200  844  536 S  0.0  0.7   0:00.28 ncsa_auth 

   387 proxy     20   0  2068  508  396 S  0.0  0.4   0:00.02 ncsa_auth 

   388 proxy     20   0  2068  504  396 S  0.0  0.4   0:00.00 ncsa_auth 

   389 proxy     20   0  2068  504  396 S  0.0  0.4   0:00.00 ncsa_auth 

   390 proxy     20   0  2068  508  396 S  0.0  0.4   0:00.02 ncsa_auth 

   803 root      20   0  7880 2480 2024 S  0.0  2.0   0:00.84 sshd 

   806 flax      20   0  5424 2940 1412 S  0.0  2.3   0:03.52 bash 

  1303 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 ata/0 

  1306 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 ata_aux 

  2099 root      15  -5     0    0    0 S  0.0  0.0   1:58.68 kjournald 

  2296 root      16  -4  2124  644  376 S  0.0  0.5   0:04.10 udevd 

  3543 root      20   0  1628  504  436 S  0.0  0.4   0:00.00 getty 

  3544 root      20   0  1628  508  436 S  0.0  0.4   0:00.00 getty 

  3549 root      20   0  1628  508  436 S  0.0  0.4   0:00.00 getty 

  3553 root      20   0  1628  504  436 S  0.0  0.4   0:00.00 getty 

  3556 root      20   0  1628  504  436 S  0.0  0.4   0:00.00 getty 

  3592 syslog    20   0  1840  664  508 S  0.0  0.5   0:49.55 syslogd 

  3611 root      20   0  1776  508  420 S  0.0  0.4   0:00.48 dd 

  3613 klog      20   0  2940 1840  408 S  0.0  1.5   0:03.02 klogd 

  3629 dnsmasq   20   0  2164  836  668 S  0.0  0.7   5:39.08 dnsmasq 

  3658 root      20   0  5140 1008  656 S  0.0  0.8   0:00.10 sshd 

  3918 Debian-e  20   0  5752  868  580 S  0.0  0.7   0:00.56 exim4 

  3949 root      20   0  4712  660  368 S  0.0  0.5   0:00.00 squid 

  3970 daemon    20   0  1884  404  288 S  0.0  0.3   0:00.02 atd





-- 
Per iscriversi  (o disiscriversi), basta spedire un  messaggio con OGGETTO
"subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx


--
Per iscriversi  (o disiscriversi), basta spedire un  messaggio con OGGETTO
"subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx


Other related posts: