All of lore.kernel.org
 help / color / mirror / Atom feed
* libnetfilter_conntrack, nfct_catch returns ENOBUFS
@ 2007-06-18 15:47 fabien.marotte
  2007-06-18 16:10 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 4+ messages in thread
From: fabien.marotte @ 2007-06-18 15:47 UTC (permalink / raw)
  To: netfilter-devel

Hi,

I develop an application using libnetfilter_conntrack to catch events 
happening in the conntrack system.
I am currently testing the robustness of my application using ab tool 
(connection stress).

libnetfilter_conntrack version is 0.50. I use the new API.
My callback catching the events always returns NFCT_CB_CONTINUE meaning 
that ncft_catch should never returns.

But with 20 (and more) TCP  connections opening simultaneously, nfct_catch 
returns. The error code in errno is 105. Seems to be ENOBUFS.

Looking at the code, I see the comment "ENOBUFS is returned in case that 
nfnetlink is exhausted".

I am very surprised to have memory issues with so few connections.

Could you explain me why this error occurs ? Is this a kernel error 
propagated in user space or is this a user space error ?

Thanks,

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-06-18 18:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-18 15:47 libnetfilter_conntrack, nfct_catch returns ENOBUFS fabien.marotte
2007-06-18 16:10 ` Pablo Neira Ayuso
2007-06-18 16:56   ` fabien.marotte
2007-06-18 18:11     ` Pablo Neira Ayuso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.