[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: U3, squid and swapping



you can try using the vm.swappiness=0 and putting that in sysctl.

Jussi Silvennoinen wrote:
After upgrading to U3 (x86), my little squid-box starting swapping without obvious cause. Things we're fine with 2.6.9-22.0.2.ELsmp.

After 4 days and 2.7 million requests, it's now at:

             total       used       free     shared    buffers     cached
Mem:          2025       1461        564          0          7         79
-/+ buffers/cache:       1374        651
Swap:         4094        885       3208

Squid is squid-2.5.STABLE12-4.i686 because of #167503, tried for sometime to convince RH support that the LARGEFILE-problem does exist in EL-package of squid to no avail, finally decided I have better things to do than to draw the problem in crayons to them.

Squid has no disk storage, only 'cache_mem 1300 MB'. Restarting squid releases the swap and things are okay again for a while. But swap starts to pick up slowly. Only squid, snmpd and postfix are running.

Anybody else seeing anything similar?


--
My "Foundation" verse:
Isa 54:17 No weapon that is formed against thee shall prosper; and every tongue that shall rise against thee in judgment thou shalt condemn. This is the heritage of the servants of the LORD, and their righteousness is of me, saith the LORD.

-- carpe ductum -- "Grab the tape"
CDTT (Certified Duct Tape Technician)

Linux user #322099
Machines:
206822
256638
276825
http://counter.li.org/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]