Re: AW: squid dying: n_files_in_map > max_n_files

From: Lionel Bouton <Lionel.Bouton@dont-contact.us>
Date: Mon, 16 Mar 1998 20:07:24 +0100

At 19:44 16/03/98 , you wrote:
>squid version 1.1.20, Linux version 2.0.32, 64Mb Ram.
>This happened after running ~1 month... I applied the filehandle path
>also...
>I canīt use the cgi, since i have no webserver running out there ... is
>therea way to find things without it?

use the client executable in squid's bin directory
(I told you so in my previous mail but I made a mistake, here follows the
correct command-line)

client cache_object://computer_name.domain_name/stats/utilization

change computer_name.domain_name into your squid's host name.
(have a look in squid.conf around the 'cachemgr_passwd' directives for
other cache_objects you can retrieve)

The result is rather cryptic. But here is what you are looking for:
the 'TOTAL' line corresponding to HTTP data.
the first field is the number of files in your cache
the third is the size of these files

here is what I get for my cache:

{ HTTP
{ OTHER 0 0 0 0 0.00 0 0 0}
{ HTTP 60260 829876 801453 768709 0.46 1 77134 544062}
{ FTP 346 123019 95231 48393 0.05 0 226 166111}
{ GOPHER 0 0 0 0 0.00 0 0 0}
{ WAIS 0 0 0 0 0.00 0 0 0}
{CACHE_OB 1 50 3 3 0.00 0 4863 14712}
{ TOTAL 60607 952945 896687 817105 0.43 2 82223 724885}
}
{ ICP
{ OTHER 0 0 0 0 0.00 0 0 0}
{ HTTP 0 0 0 0 0.00 0 0 0}
{ FTP 0 0 0 0 0.00 0 0 0}
{ GOPHER 0 0 0 0 0.00 0 0 0}
{ WAIS 0 0 0 0 0.00 0 0 0}
{CACHE_OB 0 0 0 0 0.00 0 0 0}
{ TOTAL 0 0 0 0 0.00 0 0 0}
}

60607 files and 896687 kilobytes
-> 896687/60607 ~ 14.8kB / file for my cache.
Received on Mon Mar 16 1998 - 11:12:47 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:23 MST