From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias DiPasquale Subject: Re: queue buffer size increasing howto? - solved Date: Tue, 7 Sep 2004 19:39:13 -0400 Sender: netfilter-bounces@lists.netfilter.org Message-ID: <876ef97a040907163945871569@mail.gmail.com> References: <1093182015.17276.24.camel@debian> <876ef97a0408220750591cc852@mail.gmail.com> <1094285774.6293.44.camel@debian> <1094574626.15915.4.camel@debian> Reply-To: Tobias DiPasquale Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1094574626.15915.4.camel@debian> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: Banszki Gabor Cc: netfilter On Tue, 07 Sep 2004 18:30:26 +0200, Banszki Gabor wrote: > Hi everybody! > > I solved the problem by using pthread.h > > The main thread in my process is reading from the queue buffer and open > new threads for the long time tasks. > > In this case I don't need to increase the buffer size of the netlink > socket. You will still lose some data under high enough load. This is exactly what I did, as well, and I still needed to pump up the size of the socket recv buffer. -- [ Tobias DiPasquale ] 0x636f6465736c696e67657240676d61696c2e636f6d