* [LARTC] About sockets in "CLOSING" state
@ 2005-04-08 14:56 Denis Potapov
2005-04-09 19:59 ` Andy Furniss
2005-04-10 5:03 ` Denis Potapov
0 siblings, 2 replies; 3+ messages in thread
From: Denis Potapov @ 2005-04-08 14:56 UTC (permalink / raw)
To: lartc
Hi,
I have met the problem: when I use the shaping discipline
tc qdisc add dev ppp0 parent 1:2 tbf latency 50ms burst 1450 rate 50kbit
one of my application (namely, "aMule") starts leaving sockets in
"CLOSING" state. These sockets accumulate and do not disappear.
Eventually I have so many of these dead sockets that the kernel warns
"Out of socket memory" in syslog (That happens when I have more than
5000 dead sockets).
When the discipline above canceled the problem disappears. Now the
questions.
1. Is it problem of my application (=aMule) or QoS.
2. Is there any way to eliminate these "dead" sockets out of kernel
memory, like "kill"?
Please, share if you have any ideas.
Thanks,
D.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] About sockets in "CLOSING" state
2005-04-08 14:56 [LARTC] About sockets in "CLOSING" state Denis Potapov
@ 2005-04-09 19:59 ` Andy Furniss
2005-04-10 5:03 ` Denis Potapov
1 sibling, 0 replies; 3+ messages in thread
From: Andy Furniss @ 2005-04-09 19:59 UTC (permalink / raw)
To: lartc
Denis Potapov wrote:
> Hi,
>
> I have met the problem: when I use the shaping discipline
>
> tc qdisc add dev ppp0 parent 1:2 tbf latency 50ms burst 1450 rate 50kbit
>
> one of my application (namely, "aMule") starts leaving sockets in
> "CLOSING" state. These sockets accumulate and do not disappear.
> Eventually I have so many of these dead sockets that the kernel warns
> "Out of socket memory" in syslog (That happens when I have more than
> 5000 dead sockets).
>
> When the discipline above canceled the problem disappears. Now the
> questions.
>
> 1. Is it problem of my application (=aMule) or QoS.
>
> 2. Is there any way to eliminate these "dead" sockets out of kernel
> memory, like "kill"?
>
> Please, share if you have any ideas.
Using burst 1450 on tbf will drop all packets > 1449 bytes if your MTU
is > 1449 then this could be the problem.
Andy.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] About sockets in "CLOSING" state
2005-04-08 14:56 [LARTC] About sockets in "CLOSING" state Denis Potapov
2005-04-09 19:59 ` Andy Furniss
@ 2005-04-10 5:03 ` Denis Potapov
1 sibling, 0 replies; 3+ messages in thread
From: Denis Potapov @ 2005-04-10 5:03 UTC (permalink / raw)
To: lartc
Hi,
Andy Furniss wrote:
> Denis Potapov wrote:
> >Hi,
> >
> >I have met the problem: when I use the shaping discipline
> >
> >tc qdisc add dev ppp0 parent 1:2 tbf latency 50ms burst 1450 rate 50kbit
> >
> >one of my application (namely, "aMule") starts leaving sockets in
> >"CLOSING" state. These sockets accumulate and do not disappear.
> >Eventually I have so many of these dead sockets that the kernel warns
> >"Out of socket memory" in syslog (That happens when I have more than
> >5000 dead sockets).
> >
> >When the discipline above canceled the problem disappears. Now the
> >questions.
> >
> >1. Is it problem of my application (=aMule) or QoS.
> >
> >2. Is there any way to eliminate these "dead" sockets out of kernel
> > memory, like "kill"?
> >
> >Please, share if you have any ideas.
>
> Using burst 1450 on tbf will drop all packets > 1449 bytes if your MTU
> is > 1449 then this could be the problem.
Thanks, that indeed was the problem.
D.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-04-10 5:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-08 14:56 [LARTC] About sockets in "CLOSING" state Denis Potapov
2005-04-09 19:59 ` Andy Furniss
2005-04-10 5:03 ` Denis Potapov
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.