netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber-dcUjhNyLwpNeoWH0uzbU5w@public.gmane.org>
To: Jeff Chua <jeff.chua.linux-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: lkml <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Krzysztof Piotr Oledzki <ole-gcSpNFQc7Gg@public.gmane.org>,
	Netfilter Development Mailinglist
	<netfilter-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Jozsef Kadlecsik
	<kadlec-K40Dz/62t/MgiyqX0sVFJYdd74u8MsAO@public.gmane.org>,
	"David S. Miller" <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>,
	cups-bugs <cups-bugs-B9D8k9nSxTHQT0dZR+AlfA@public.gmane.org>
Subject: Re: cups slow on linux-2.6.24
Date: Thu, 31 Jan 2008 04:25:49 +0100	[thread overview]
Message-ID: <47A13FBD.8050803@trash.net> (raw)
In-Reply-To: <b6a2187b0801301921s4a7842cg6cfec09a393cd63-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Jeff Chua wrote:
> On Jan 31, 2008 10:41 AM, Patrick McHardy <kaber-dcUjhNyLwpNeoWH0uzbU5w@public.gmane.org> wrote:
>
>   
>> Thanks. In the dump we can see that connections reusing ports
>> always have their first SYN dropped and retransmissted three
>> seconds later. I'm not sure whats causing this yet, do you have
>> any firewall rules that affect loopback traffic?
>>     
>
> No firewall.
>
> And the "lp" is just to print to a file@localhost.
>
> # lpadmin -p lp -i /etc/cups/interfaces/lp -v lpd://localhost/file -o
> printer-error-policy=retry-job
> # lpadmin -p file -i /etc/cups/interfaces/file -v file:/dev/null -o
> printer-error-policy=retry-job
>
> Filter for lp is ..
>   cat $6
>
> Filter for file is ...
>   cat $6 >/tmp/$$
>   

Actually its probably the SYN/ACK that is dropped. Please try whether

modprobe ipt_LOG
echo 255 >/proc/sys/net/netfilter/nf_conntrack_log_invalid

and then running the test again logs something to the ring buffer.
You don't need to run the entire test, just until you get a log
message from conntrack.

  parent reply	other threads:[~2008-01-31  3:25 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.64.0801290635001.23096@boston.corp.fedex.com>
2008-01-28 22:56 ` cups slow on linux-2.6.24 Krzysztof Oledzki
     [not found]   ` <Pine.LNX.4.64.0801282348440.30640-2hlNpRK6mjE3b3fIMdp3XWZHpeb/A1Y/@public.gmane.org>
2008-01-28 23:55     ` Jeff Chua
     [not found] ` <Pine.LNX.4.64.0801290855360.19273@blackhole.kfki.hu>
     [not found]   ` <b6a2187b0801291924k15f883aeg54f704156e4f2e3e@mail.gmail.com>
2008-01-30 13:47     ` Patrick McHardy
2008-01-31  2:23       ` Jeff Chua
     [not found]         ` <b6a2187b0801301823m331957e9n9d9bb9613622c844-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-01-31  2:26           ` Jeff Chua
2008-01-31  2:41             ` Patrick McHardy
     [not found]               ` <47A13573.7090804-dcUjhNyLwpNeoWH0uzbU5w@public.gmane.org>
2008-01-31  3:21                 ` Jeff Chua
     [not found]                   ` <b6a2187b0801301921s4a7842cg6cfec09a393cd63-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-01-31  3:25                     ` Patrick McHardy [this message]
2008-01-31  5:01                       ` Jeff Chua
     [not found]                         ` <b6a2187b0801302101l46d614c9y53f798a025b57dc3-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-01-31 10:40                           ` Jozsef Kadlecsik
2008-01-31 18:53                             ` Patrick McHardy
2008-02-01  0:47                               ` David Newall
2008-02-01  2:12                                 ` David Miller
2008-02-01  6:07                                   ` David Newall
2008-02-01  6:10                                     ` Patrick McHardy
2008-02-01  5:28                             ` Jeff Chua
2008-02-02 14:44                               ` Jozsef Kadlecsik
2008-02-03 16:08                                 ` Jeff Chua
2008-01-31  2:31           ` Jeff Chua
     [not found] <Pine.LNX.4.64.0802042226340.28805@boston.corp.fedex.com>
     [not found] ` <Pine.LNX.4.64.0802042226340.28805-2K9XAwmnW1wYQUuIRqa960M9+F4ksjoh@public.gmane.org>
2008-02-04 20:17   ` Jozsef Kadlecsik
2008-02-05  1:17 Jeff Chua
     [not found] ` <Pine.LNX.4.64.0802050913560.6704-2K9XAwmnW1wYQUuIRqa960M9+F4ksjoh@public.gmane.org>
2008-02-05  8:16   ` Jozsef Kadlecsik
2008-02-05 13:47     ` Patrick McHardy
  -- strict thread matches above, loose matches on Subject: below --
2008-02-10 15:06 Jeff Chua
     [not found] ` <Pine.LNX.4.64.0802102257420.14442-2K9XAwmnW1wYQUuIRqa960M9+F4ksjoh@public.gmane.org>
2008-02-14 15:02   ` Jozsef Kadlecsik
2008-02-14 22:50     ` David Miller
2008-02-15  1:44       ` 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=47A13FBD.8050803@trash.net \
    --to=kaber-dcujhnylwpneowh0uzbu5w@public.gmane.org \
    --cc=cups-bugs-B9D8k9nSxTHQT0dZR+AlfA@public.gmane.org \
    --cc=davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org \
    --cc=jeff.chua.linux-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=kadlec-K40Dz/62t/MgiyqX0sVFJYdd74u8MsAO@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=netfilter-devel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=ole-gcSpNFQc7Gg@public.gmane.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).