sön 2007-07-15 klockan 08:02 +0800 skrev Ming-Ching Tiew: > >> #!/bin/sh > >> /mnt/squid/libexec/cachemgr.cgi | sed -e '1,8d' > >> > >> Everything works perfectly after this. > > > >Odd.. what kind of web server are you using? > > I use busybox httpd. Do you mean the extra text is expected > and it should be handled by the web server ? Then it might > then be the web server configuration problem. It's part of the CGI standard.. how CGI programs returns HTTP headers for the web server to use.. > But I have a bigger problem now. I noticed that after running > the cachemgr.cgi, I will get this in my cache.log :- > > WARNING! Your cache is running out of filedescriptors > > If I don't run it, it's fine. Very very odd. Don't see how cachemgr.cgi could cause this.. unless you have an URL which points back on squid itself.. what do access.log say? > I have 1 G RAM, running nothing else important except squid. > And I allocated 128 M for cache_mem. I also allocated > a huge cache_dir :- > > cache_dir ufs /mnt/squid/var/cache 40000 16 256 > > Is it that the cache_dir is too big ? Not related to the above warning.. Regards Henrik
Attachment:
signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel