Date: Wed, 31 Oct 2001 08:30:20 -0500 From: Aaron Bush <abush@microcenter.com> To: freebsd-net@FreeBSD.ORG Subject: tuning network limits? Message-ID: <3BDFFCEC.32FF9CC@mail.microcenter.com>
next in thread | raw e-mail | index | archive | help
Hello, I have a FreeBSD 4.3-RELEASE box that appears to be dropping network connections. The system is using ipf to track state and only allow web (http, https) connections. Once per day i index one of the virtual domains by using htdig. Sometimes htdig is not able to index the entire site (itself, via route through loopback) and other times it can. The problem is not isolated to htdig though. A PHP application has also reported that it was unable to open a socket. The /var/log/messages show no packets being dropped by the ipf rules (default is to block and log). I am assuming that the system must be hitting some kernel limit and not allowing any more sockets to be created. In the handbook i see mention of tuning the NMBCLUSTERS options and assume that the following command shows that i have indeed hit the limit (mbuf clusters?). Also the requests for memory denied seems to be high, would failed attempts to create sockets cause this to increase? tosh# netstat -m 623/2304/4096 mbufs in use (current/peak/max): 263 mbufs allocated to data 360 mbufs allocated to packet headers 239/1024/1024 mbuf clusters in use (current/peak/max) 2624 Kbytes allocated to network (85% of mb_map in use) 9152 requests for memory denied 3 requests for memory delayed 0 calls to protocol drain routines What other tools can i use to determine where the problem may be. Thanks, -ab To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BDFFCEC.32FF9CC>