Hi,

A proxy (squid) server running i368/4.6RELEASE with around 800 users, what
would be a reasonable value to increase  kern.maxclusters too, to cure this :


r...@proxy-s ~> grep mcl   /var/log/messages
Dec 10 10:13:43 proxy-s /bsd: WARNING: mclpools limit reached; increase
kern.maxclusters
Dec 10 11:06:07 proxy-s /bsd: WARNING: mclpools limit reached; increase
kern.maxclusters
Dec 15 13:41:48 proxy-s /bsd: WARNING: mclpools limit reached; increase
kern.maxclusters


r...@proxy-s ~> sysctl kern.maxclusters
kern.maxclusters=6144


r...@proxy-s ~> netstat -m
4098 mbufs in use:
        1131 mbufs allocated to data
        2962 mbufs allocated to packet headers
        5 mbufs allocated to socket names and addresses
1084/6152/6144 mbuf 2048 byte clusters in use (current/peak/max)
0/8/6144 mbuf 4096 byte clusters in use (current/peak/max)
0/8/6144 mbuf 8192 byte clusters in use (current/peak/max)
0/8/6144 mbuf 9216 byte clusters in use (current/peak/max)
0/8/6144 mbuf 12288 byte clusters in use (current/peak/max)
0/8/6144 mbuf 16384 byte clusters in use (current/peak/max)
0/8/6144 mbuf 65536 byte clusters in use (current/peak/max)
14176 Kbytes allocated to network (22% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines


something like kern.maxclusters=10000 or ?



/Pete

Reply via email to