On Wednesday 13 August 2003 19.39, Brian Hechinger wrote:
> so ulimit for filedescriptors on solaris defaults to 256 for
> non-root. is there a way to determine how many filedescriptors
> squid needs so that i can set a proper ulimit?
A reasonable amount is at least 3 * number of concurrent users. In
some configuration (especially if not using half_closed_clients off)
more is needed, and the number is also larger for smaller amounts of
users (the "unexpected" variance in browsing request load is larger
making bigger extremes in relation to the number of users on small
numbers of users)
Note: The default limit for files on Solaris is usually 1024 with a
soft limit of 256, allowing non-root users to change their files
ulimit up to 1024. Squid automatically sets the ulimit as high as
possible on startup, but you may need to raise it manually while
building Squid.
Regards
Henrik
-- Donations welcome if you consider my Free Squid support helpful. https://www.paypal.com/xclick/business=hno%40squid-cache.org If you need commercial Squid support or cost effective Squid or firewall appliances please refer to MARA Systems AB, Sweden http://www.marasystems.com/, info@marasystems.comReceived on Wed Aug 13 2003 - 12:24:45 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:53 MST