ENOBUFS in nfq under heavy load

Eric Leblond e.leblond at inl.fr
Tue Jul 17 17:56:08 CEST 2007


Hi,

Le mardi 17 juillet 2007 à 16:46 +0100, Stanisław Pitucha a écrit :
> Hi
> After running nf_queue app under heavy load I get ENOBUFS error. Ok -
> maybe not that heavy - around 100 concurrent voip calls - lots of
> small udp packets. Nfq socket suddenly hangs. recv() from nfnl_fd()
> socket returns -1, errno=ENOBUFS and when I try to destroy the queue
> it stops:
> stacktrace with gdb breaking...
> 
> Any idea how to avoid / fix it? 

You could simply use the limit match to avoid "heavy" load.

> Is the problem on my side?

No, it's an implementation problem.

> My bufsize is 65535 for reading from nfq socket.
> 
> Thanks
> Stan

BR,
-- 
Éric Leblond, eleblond at inl.fr
Téléphone : 01 44 89 46 39, Fax : 01 44 89 45 01
INL, http://www.inl.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : /pipermail/netfilter-devel/attachments/20070717/b4790c15/attachment.pgp


More information about the netfilter-devel mailing list