Re: Help: increase MAX_SWAP_FILE

From: Raul Ocampo <spud@dont-contact.us>
Date: Tue, 27 Jan 1998 18:50:27 +0800 (CST)

Upgrade to squid version 1.1.20, the version your using has a
problem.

RAUL

On Tue, 27 Jan 1998, Enrico Fermi wrote:

>
> I have installed Squid Cache version 1.1.19 on my linux box. This
> program is allright for about one month and then when I try to use the
> cache Squid kill himself.
>
> The message in the cache log file tell something about MAX_SWAP_FILE
> parameter. I have seen an
> advertissement on increase of the value of this parameter.
>
> In witch file is there MAX_SWAP_FILE parameter ?
>
> While happen this ?
>
> My I have something help ?
>
>
> Thanks in advance. Paolo Santinelli
>
> Messages in the cache log file is :
>
>
>
>
> Starting Squid Cache version 1.1.19 for i586-pc-linux-gnu...
> With 256 file descriptors available
> Started 5 'dnsserver' processes
> Unlinkd pipe opened on FD 12
> Swap maxSize 102400, estimated 5120 objects
> Target number of buckets: 256
> Using 7951 Store buckets, maintain 1 bucket every 10 seconds
> file_map_create: creating space for 7680 objects Rebuilding storage
> from disk image in /usr/local/squid/cache
> Rebuilding in FAST MODE.
> Accepting HTTP connections on FD 16.
> Accepting ICP connections on FD 17.
> Ready to serve requests.
> 4096 Lines read so far.
> You should increment MAX_SWAP_FILE
> You've run out of swap file numbers. Freeing 1MB
> Finished rebuilding storage from disk image.
> 7680 Lines read from previous logfile.
> 7680 Objects loaded.
> 0 Objects expired.
> 0 Duplicate URLs purged.
> 0 Swapfile clashes avoided.
> Took 2 seconds (3840.0 objects/sec).
> store_swap_size = 67210k
> You've run out of swap file numbers. Freeing 1MB
> file_map_allocate: All 7680 files are in use!
> You need to recompile with a larger value for MAX_SWAP_FILE
> storeWriteCleanLog: Starting...
> 4096 lines written so far.
> Finished. Wrote 7680 lines.
> Took 1 seconds (7680.0 lines/sec).
>
>
>
>
>
>
>
>
>
>
> _________________________________________________________
> DO YOU YAHOO!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
Received on Tue Jan 27 1998 - 02:48:47 MST

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