Re: HELP!: Recompile MAX_SWAP_FILE size?

From: Bill Wichers <[email protected]>
Date: Fri, 9 Jan 1998 12:23:00 -0500 (EST)

You need to redefine the value of store_avg_object_size to something lower
than the default of 20 (20k). For me, store_avg_object_size 11 works well.

        -Bill

On Fri, 9 Jan 1998, Jordan Mendelson wrote:

>
> I keep getting this message:
>
> Jan 9 11:30:28 snappy squid[12713]: You need to recompile with a larger
> value f
> or MAX_SWAP_FILE
>
> And squid keeps restarting over and over. I only maintain a 300 meg cache.
>
> in the logs I get:
>
> 98/01/09 11:30:52| You've run out of swap file numbers. Freeing 1MB
>
> About 50 times and then:
>
> 98/01/09 11:22:04| You've run out of swap file numbers. Freeing 1MB
> 98/01/09 11:22:05| file_map_allocate: All 23040 files are in use!
> 98/01/09 11:22:05| You need to recompile with a larger value for
> MAX_SWAP_FILE
>
> At which time it restarts.
>
> I looked at MAX_SWAP_FILE, but I don't understand it. It says 1 << 21. I
> changed it to 1 << 25, but it still happens.
>
>
>
>
> Jordan
>
> --
> Jordan Mendelson : www.wserv.com/~jordy/
> Web Services, Inc. : www.wserv.com
>
>
Received on Fri Jan 09 1998 - 09:28:10 MST

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