On Wed, 13 Oct 2004, Alejandro Barcena wrote:

Thanks for replying to my mail.

It's very slow... and most of clients aren't getting back the page they asked for, they just can't browse... but some do.

I've analized the log files, and I don't stop getting the:
2004/10/13 20:18:09| WARNING! Your cache is running out of filedescriptors
2004/10/13 20:18:25| WARNING! Your cache is running out of filedescriptors
2004/10/13 20:18:41| WARNING! Your cache is running out of filedescriptors
2004/10/13 20:18:57| WARNING! Your cache is running out of filedescriptors
2004/10/13 20:19:13| WARNING! Your cache is running out of filedescriptors


There can be a number of reasons to this

a) Your squid is really running out of file descriptors. This will happen if you trow a couple of thousand users at a Squid cache without tuning the number of filedescriptors (see FAQ).

b) Your Squid is overloaded, or most likely your cache_dir is. If using the default "ufs" cache_dir type then speed will be very much limited by the speed of your harddrive, and when this limit is reached performance quickly spirals down. Use "aufs/diskd" cache_dir types, and design the hardware correctly for the load you are planning.

Regards
Henrik




Reply via email to