Re: Rebuilding storage

From: Clifton Royston <cliftonr@dont-contact.us>
Date: Thu, 3 Feb 2000 10:33:06 -1000

On Thu, Feb 03, 2000 at 03:43:27PM +0200, Janis Ivanovskis wrote:
> I suppose i find out where is my problem, i have 64Mb of RAM, and the squid
> process takes about 60MB. And than my linux box is slowing down. I cannot
> even work normaly. I understand that swap is out of space. But this problem
> shows only up yesterday , when i installed socks5 server, but i think that
> socks5 server is not responsible for this, cause i did not change any
> squid.conf parameters. So i do not know what to change. I reduce cache_mem,
> cache_object_size, but anyway suid takes up all the swap space, what to do,
> how can i reduce squid, to use so much swap space.

It sounds like your problem is that you have hit a critical point where
you have more processes actively running, that need to stay in RAM,
than you have RAM. Adding socks, or having your cache grow a little,
may have just "pushed it over the edge."

For example (simplifying a bit) if you have named, socks, and squid,
then everytime you get a squid request, squid will have to be pulled
off the swap and into RAM, forcing out named; then when squid does a
DNS lookup, the OS will have to pull named off the swap and into RAM,
forcing out socks; then when squid does an HTTP request, the OS will
have to pull socks off the swap and into RAM, forcing squid back out,
and so on.

The quickest way for now is to reduce the cache_mem setting in the
squid.conf file, but the problem is not so much Squid itself, as the
whole of the software running.

  -- Clifton

-- 
 Clifton Royston  --  LavaNet Systems Architect --  cliftonr@lava.net
        "An absolute monarch would be absolutely wise and good.  
           But no man is strong enough to have no interest.  
             Therefore the best king would be Pure Chance.  
              It is Pure Chance that rules the Universe; 
          therefore, and only therefore, life is good." - AC
Received on Thu Feb 03 2000 - 13:43:26 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:56 MST