On Mon, 21 May 2001, Mark Hernandez wrote:
> It's been the third time I rebooted my Proxy server since last Thursday, coz of it's
>very slow service I used TOP to determine the memory usage. It filled up my 256 Mb
>memory and overflowed to 140/256 Mb of swap space.
> cache_mem in the squid.conf is 64 Mb.
> I have more than 150 users using this Proxy server.
>
> Question:
> 1.) How could I determine memory usage other than TOP?
> 2.) Why does this Server used up a lot of memory? Is squid related to the matter?
> 3.) How could I prevent this "memory overflow" from happening again?
>
> TIA for the usual support.
>
First, I have some questions:
1. What's the system memory of your PC?
2. How many hardisk are you using?
3. How many partitions do you have?
Squid uses lots of system memory. My setup is like this:
1. I have 2 X 9GB SCSI hardisk.
2. The first hardisk is for linux and small cache.
3. The second hardisk is for squid cache.
4. The system memory is 348 MB.
Actually I also encountered that problem when I both used the first and
second hardisk for squid cache. The solution I did was to minimize my
cache proxy size. Also, you can solve the problem by increasing your
system memory let's say to 512 MB or 1GB. Try to minimize your cache proxy
size first. HTH.
To those old/experienced users of squid what other solution can you advise
to us other than what I mentioned. Any inputs to improve our cache
proxy. TIA!
--
Roi
Angeles Communications
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]