Re: [squid-users] cachemgr.cgi - display raw text

From: Ming-Ching Tiew <mingching.tiew@dont-contact.us>
Date: Sun, 15 Jul 2007 08:02:09 +0800

>> #!/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.

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.

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 ?

Regards.
Received on Sat Jul 14 2007 - 17:58:32 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:03 MDT