All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Nigel Kukard <nkukard@lbsd.net>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: ip_queue & QUEUE target
Date: Sun, 15 Jun 2003 20:07:48 +0200	[thread overview]
Message-ID: <3EECB5F4.7010004@trash.net> (raw)
In-Reply-To: <20030615180031.GE2103@lbsd.net>



Nigel Kukard wrote:

>>netlink sockets provide unreliable communication. your problem is
>>probably the sockets receive queue overflowing. ip_queue then
>>returns a negative error code to nf_queue which drops the packet.
>>    
>>
>
>well i'm pumping through about 5,000 pkt/s, doing a few Mb/s. What would
>the best thing be to use? or how could i remedy this problem?
>
>i set the rcv buffer to a few Mb, and also the ipq_maxlen to 8196... is
>there anything else i can do?
>
>  
>
Probably not much, but did you make sure you also increased
/proc/sys/net/core/rmem_max ? If you don't mind your statistics
beeing wrong (better than high drop rates imho) you could
modify ip_queue so it nf_reinjects packets which could not
be sent instead of returning a error to nf_queue.

Bye
Patrick

>Regards
>Nigel
>
>  
>

  reply	other threads:[~2003-06-15 18:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-15 15:53 ip_queue & QUEUE target Nigel Kukard
2003-06-15 17:06 ` Patrick McHardy
2003-06-15 18:00   ` Nigel Kukard
2003-06-15 18:07     ` Patrick McHardy [this message]
2003-06-15 18:21       ` Nigel Kukard
2003-06-15 18:35       ` Nigel Kukard
2003-06-15 18:50         ` Martin Josefsson
2003-06-15 18:53         ` Patrick McHardy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EECB5F4.7010004@trash.net \
    --to=kaber@trash.net \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=nkukard@lbsd.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.