Date: Fri, 7 Mar 2003 17:20:12 -0500 (EST) From: Prashant Sarma <prashant@netlab.uky.edu> To: freebsd-questions@freebsd.org Subject: mbufs not being freed. Message-ID: <Pine.LNX.4.44.0303071713210.5739-100000@willow.netlab.uky.edu>
next in thread | raw e-mail | index | archive | help
Hello All, I am facing a peculiar problem with the mbufs for the network traffic not being freed on my FreeBSD 4.7-RELEASE-p7 machine. I used to run FreeBSD 4.3 but after rebooting recently, the mbuf count (netstat -m) would keep going up until there was no space left for the packets arriving on the interfaces. I thought that this could be because of the older version of FreeBSD and upgraded to 4.7, but still no luck. Increasing the space for mbuf clusters (kern.ipc.nmbclusters) and mbufs (kern.ipc.nmbufs) only postpones the problem. When the mbufs are all used up, I get the following error: "xl0: no memory for rx list -- packet dropped!" and the machine stops responding to all network traffic including pings. SPECS: The machine in question is a Dell PC with a 1.5 GHz processor and 512 MB RAM. It has 2 interfaces, a 3 Com builtin on the motherboard and a PCI Netgear card. It runs a name server, web server and MySQL server. Here are a snippets of relevant information: dmesg: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.7-RELEASE-p7 #0: Thu Mar 6 12:32:53 EST 2003 CPU: Pentium 4 (1495.16-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf12 Stepping = 2 dc0: <82c169 PNIC 10/100BaseTX> port 0xdc00-0xdcff mem 0xff7ffc00-0xff7ffcff irq 11 at device 7.0 on pci2 dc0: Ethernet address: 00:02:e3:09:10:bb xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xd880-0xd8ff mem 0xff7ff800-0xff7ff87f irq 11 at device 12.0 on pci2 xl0: Ethernet address: 00:06:5b:55:03:95 *** netstat -m: 5149/5168/65536 mbufs in use (current/peak/max): 2607 mbufs allocated to data 2542 mbufs allocated to socket names and addresses 64/346/32768 mbuf clusters in use (current/peak/max) 1984 Kbytes allocated to network (2% of mb_map in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines Any suggestions about what might be causing this and how to solve this? Regards, Prashant Sarma Lexington, KY To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0303071713210.5739-100000>