LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   squid problem (https://www.linuxquestions.org/questions/linux-networking-3/squid-problem-189856/)

mchitrakar 06-04-2004 09:48 PM

squid problem
 
hi everyone,

can anyone help me with this new squid problem of mine? the squid always
gives this error filesize limit:
"/usr/local/squid/bin/RunCache: line 35:
1011 filesize limit exceeded squid -NsY $conf >> $logdir/squid.out 2>&1"

As soon as client browser accesses the any site, this problem arises, then
no connection. sometimes, server hangs up.

please help me. thnxs

Pcghost 06-04-2004 11:04 PM

A couple of things to check for first. How big is the hard drive and how many users? Is your squid log file directory full of old logs? It appears that squid cannot write to it's log file. If disk space is not an issue check the the settings of the cache, like minimum and maximum size for cache objects.

mchitrakar 06-06-2004 09:37 PM

thanks. but there is no issue with my hard-disk. its 40GB and with
"df " cmd, i found it used less than 17% in usr. total usage is only
25%.
As u said, i went inside /usr/local/squid/logs directory. but there is only 4
files in there. but the ../cache directory has many files.
some config data are as in squid.conf of /etc/squid are:
"cache_mem: 32 MB
cache_swap_low and high : 90 and 95
min_obj_size and max:0 and 4096
max obj in mem = 8kb. "

please help me. I am quite a newbie and please give me some steps to
solve this prob. If cache is full, how i empty it?
what can be main culprit and how do i arrest it and resolve the
situation back to normality.
i hope for your helps. thnx.

mchitrakar 06-06-2004 10:18 PM

i forgot to add folowing info ..contd from above:

few weeks back: there was an error message
called: " Neighbour buffer overflow"
is this error also interretlated?
please also tell me : what error messgs come when which happenms?
w

Pcghost 06-07-2004 12:39 AM

Google Groups (formerly known as Deja.com) is the index of Squid error messages. Simply copy the error and paste it into google groups and it will have explanations of the error and what settings or problems it is related to.

I would suggest tightening the cache_swap_low_and_high to 92 and 94. It will prevent your hard drive from thrashing replacing cache objects. It is a issue with large caches.


All times are GMT -5. The time now is 09:12 PM.