Re: increment MAX_SWAP_FILE

From: Jordyn A. Buchanan <jordyn@dont-contact.us>
Date: Mon, 29 Dec 1997 10:40:37 -0500

At 10:32 AM +0000 12/29/97, Engelhard wrote:
>hi netters,
>
>I get this error message from /var/log/messages:
>
>Dec 29 13:44:28 zigzag squid[185]: You should increment MAX_SWAP_FILE
>
>I don't find an entry to set MAX_SWAP_FILE on squid.conf, kernel option
>or src/Makefile.
>Iam using FreeBSD2.2.5, squid-1.1.19 with 3GB cache_swap, 64M cache_mem.
>Please help, thanks in advance

This has been covered once or twice, but MAX_SWAP_FILE is computed based on
your cache size and store_avg_object_size. The best solution is probably
to take a look at your cache's characteristics using cachemgr.cgi and
compute an appropriate value for store_avg_object_size. I've had
reasonable success just cutting the value in half, from the default of 20
to 10.

Jordyn

|----------------------------------------------------------------|
|Jordyn A. Buchanan mailto:jordyn@bestweb.net |
|Bestweb Corporation http://www.bestweb.net |
|Senior System Administrator +1.914.271.4500 |
|----------------------------------------------------------------|
Received on Mon Dec 29 1997 - 07:49:36 MST

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