requests for mbufs denied increasing

Peter Blok pblok at bsd4all.org
Wed May 31 08:23:56 PDT 2006


This will indeed fix the false mbufs denied counts as part of the
uma_reclaim and mb_reclaim functionality.

If you still see mbuf denied counts after implementing this fix, it might be
your problem. If the counts stay at 0 and your system still stops accepting
network connections, you have a different problem.

Peter

-----Original Message-----
From: owner-freebsd-net at freebsd.org [mailto:owner-freebsd-net at freebsd.org]
On Behalf Of Maxim Konovalov
Sent: Wednesday, May 31, 2006 3:41 PM
To: Alexandre Biancalana
Cc: freebsd-net at freebsd.org
Subject: Re: requests for mbufs denied increasing

On Wed, 31 May 2006, 10:29-0300, Alexandre Biancalana wrote:

> Hi list,
>
>    I've a NFS/FTP server used as backup server, receiving few
> connections with high volume of data (100GB/Day). During this period
> the "requests for mbufs denied (mbufs/clusters/mbuf+clusters)" of
> netstat -m is increasing constantly, now is:
[...]

Try patch Robert Watson committed to HEAD ten days ago:

Index: sys/vm/uma_core.c
===================================================================
RCS file: /home/ncvs/src/sys/vm/uma_core.c,v
retrieving revision 1.136
retrieving revision 1.137
diff -u -p -r1.136 -r1.137
--- sys/vm/uma_core.c	11 Feb 2006 19:20:56 -0000	1.136
+++ sys/vm/uma_core.c	21 May 2006 23:25:32 -0000	1.137
@@ -2413,8 +2413,7 @@ zfree_start:
 	 * If nothing else caught this, we'll just do an internal free.
 	 */
 zfree_internal:
-	uma_zfree_internal(zone, item, udata, SKIP_DTOR, ZFREE_STATFAIL |
-	    ZFREE_STATFREE);
+	uma_zfree_internal(zone, item, udata, SKIP_DTOR, ZFREE_STATFREE);

 	return;
 }
%%%

-- 
Maxim Konovalov
_______________________________________________
freebsd-net at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"




More information about the freebsd-net mailing list