In addition to what Brian was talking about, Linux specifically, takes a slice
of RAM and puts it into the memory CACHE.
vis (on a AMD K4 64M & 128M swap)
(this box is my internal squid cache for a few users)
yoda:~ # free
total used free shared buffers cached
Mem: 61800 49928 11872 0 5400 21572
-/+ buffers/cache: 22956 38844
Swap: 133048 16412 116636
yoda:~ #
TOP output
10:46pm up 29 days, 14:36, 3 users, load average: 0.00, 0.00, 0.00
75 processes: 74 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: 0.9% user, 0.3% system, 0.0% nice, 98.6% idle
Mem: 61800K av, 50224K used, 11576K free, 0K shrd, 5448K buff
Swap: 133048K av, 16412K used, 116636K free 21660K
cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %M
It also helps if you spread your disk load over multiple disks & controllers
to lighten the IO load. More memory (RAM) is also good.
A client of mine currently uses four P3 boxes with 512Mg ram (, FreeBSD &
squid) connecting into two front end high end Netscape proxy boxes(Sun
E450's, 2G ram, x2 333Mhz) for internet access for around 100,000 users in a
banking environment.. and it rocks...
Dan.
>===== Original Message From Brian <hiryuu@envisiongames.net> =====
>Squid must be able to write to the cache (and log directories) as whatever
>user you specified in the config. Usually it will warn about that on
>screen or in syslog.
>
> -- Brian
>
>On Friday 24 August 2001 11:38 am, pat lendon wrote:
>> Today I noticed that the cache was all owned by myself (I must have
>> created cache while I was logged in as myself). I have since changed
>> the ownership and group of cache directories to squid:squid.
>>
>> I can not test starting squid as root until later tonight.
>>
>> Would the cache ownership cause this problem?
>> What else might cause this problem?
>>
>> Thank you,
>>
>> -pat
-----------------------
The Totalise Email system, probably the most flexible email system in the
world. To register for an account goto http://www.totalise.net
Received on Fri Aug 24 2001 - 15:38:51 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:55 MST