Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Nov 2009 16:08:53 -0800
From:      Peter Kieser <peter@kieser.ca>
To:        Michael Schaefer <utf128@googlemail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: rTorrent + FreeBSD + pf = freeze?
Message-ID:  <4B05DE15.9070209@kieser.ca>
In-Reply-To: <4B058999.20504@gmail.com>
References:  <4B058999.20504@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hello,

This problem has been going on for at least the past 2 years. I've had 
the exact same issue with rtorrent locking up or restarting machines 
running FreeBSD, regardless of the hardware used.

I did not have any sort of firewall installed (neither pf, or ipfw). If 
I loaded up rtorrent and had a number of torrents open the machines 
would lock up or restart. It was reproducible at the time, but I could 
never get anyone to admit there was a bug and I'm unable to find the 
initial posting.

Regards,

-Peter

Michael Schaefer wrote:
> Hello everybody,
> 
> I encountered same problems and am kinda glad to see I'm not alone. I
> use FreeBSD 7.1-RELEASE-p8 (GENERIC) on a VIA EPIA board (800MHz C3).
> This box for the moment does nothing but torrent. I use two instances
> of rtorrent. Each with an own user and in its own screen session.
> Let's name them A and B. A seeds around 300 torrents and B around 500
> (each rtorrent instance communicates just to one specific tracker).
> The configuration is exactly the same, except B communicates with the
> track only using https (A does plain http).
> While A works 100% perfect an stable, B crashes the machine
> reproducible. When using rtorrent 0.8.3/0.12.3 this happened only
> about once a month. After upgrading to 0.8.4/0.12.4 the rate of
> crashes increased to about once a week. now i upgraded to 0.8.5/0.12.5
> and cannot even start instance B without crashing the machine
> immediately just several minutes after I started it. Sometimes it
> somehow "survives" the starting procedure (where actually all seeding
> torrents are registered at the tracker at more or less the same time)
> but then it takes about 10min - 2 hours after the hole systems crashes
> again. Like I mentioned: instance B works perfectly without any
> problems. I'm pretty sure I encountered the problem also (even not
> the heavily) during times instance B was only seeding about 300
> torrents...
> 
> For me the system simply reboots and doesn't freeze. The logs are
> clear and show no advice concerning the problem.
> It's not a matter of hardware since I changed the board (which
> included CPU, RAM, NIC,...) and also the hard disc month ago. Also a
> heat problem can be excluded.
> 
> Any clou about all that?
> btw: I don't use PF at all...
> 
> regards - Michael
> 
> 
> On Wed, 21 Oct 2009, cpghost wrote:
>> Hi,
>>
>> could a resource leak or bug in pf(4) crash a RELENG_7 router (as of 
>> Oct 6th)?
>>
>> I'm experiencing frequent crashes on my soekris net4801 home router 
>> for some months now, and I'm wondering if it could be some kind of 
>> pf-related bug similar to this on OpenBSD:
>>
>> http://www.mail-archive.com/misc@openbsd.org/msg58042.html
>>
>> More precisely, when I fire up rtorrent-devel on some *other* machine
>>  (not the router!), everything runs fine at first. It could also run 
>> very fine for many days. BUT should I start a torrent with a large 
>> number of seeders which could saturate my link for an extended period
>>  of time, the soekris router would suddenly freeze... but not 
>> immediately: more like a few hours (3 to 6) or so of relatively heavy
>>  traffic. Only a hard reboot of the router would help. Please note 
>> that rtorrent is NOT running on the router, only its traffic is being
>>  redirected through the router.
>>
>> So I'm suspecting some bug / resource leak in pf that would bring the
>>  kernel down somehow. What kind of resources should I monitor (and 
>> how)? Maybe that could bring some clues?
>>
>> Oh, before anybody asks: I have no crashdumps, the router freezes 
>> totally without panicking. And it doesn't recover automatically even
>> after many hours.
>>
>> Any ideas?
>>
>> Thanks, -cpghost.
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

[-- Attachment #2 --]
0	*H
010	+0	*H
000
	*H
010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA0
091009000001Z
101009215032Z0k10U
Persona Not Validated1)0'U StartCom Free Certificate Member10	*H
	peter@kieser.ca0"0
	*H
0
Vռr{@CG(G+wL XU['%xQ_\9qY
GU7/Su)+֏ӝP
_ڋ[:@r3d=dOW÷fhʿNKF1TJPY(G(sɢ$ǎĉGM&ַ՗STCM,O6u+)8[=[~rm>?h0~0	U00U0U%0++0Uy
,=^~P0U#0Sr풜\|~5NԸQ0}10	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1)0'U StartCom Certification Authority
0U0peter@kieser.ca0BU 90501+70 0.+"http://www.startssl.com/policy.pdf04+(http://www.startssl.com/intermediate.pdf0+00
StartCom Ltd.0Limited Liability, see section *Legal Limitations* of the StartCom Certification Authority Policy available at http://www.startssl.com/policy.pdf0cU\0Z0+)'%http://www.startssl.com/crtu1-crl.crl0+)'%http://crl.startssl.com/crtu1-crl.crl0+009+0-http://ocsp.startssl.com/sub/class1/client/ca0B+06http://www.startssl.com/certs/sub.class1.client.ca.crt0#U0http://www.startssl.com/0
	*H
n:9T?j^}x:ll>ٜ
0٤;gD3:K~DЮJWEBÝL۱Ja
^h\Cm3|O,K|)!
 ;+NgK ,ɈULcLXy';$RC&GtZO>Qā	t6c>&SƦ(XS`yjpc}\)[BJHjJHva000
	*H
010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA0
091009000001Z
101009215032Z0k10U
Persona Not Validated1)0'U StartCom Free Certificate Member10	*H
	peter@kieser.ca0"0
	*H
0
Vռr{@CG(G+wL XU['%xQ_\9qY
GU7/Su)+֏ӝP
_ڋ[:@r3d=dOW÷fhʿNKF1TJPY(G(sɢ$ǎĉGM&ַ՗STCM,O6u+)8[=[~rm>?h0~0	U00U0U%0++0Uy
,=^~P0U#0Sr풜\|~5NԸQ0}10	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1)0'U StartCom Certification Authority
0U0peter@kieser.ca0BU 90501+70 0.+"http://www.startssl.com/policy.pdf04+(http://www.startssl.com/intermediate.pdf0+00
StartCom Ltd.0Limited Liability, see section *Legal Limitations* of the StartCom Certification Authority Policy available at http://www.startssl.com/policy.pdf0cU\0Z0+)'%http://www.startssl.com/crtu1-crl.crl0+)'%http://crl.startssl.com/crtu1-crl.crl0+009+0-http://ocsp.startssl.com/sub/class1/client/ca0B+06http://www.startssl.com/certs/sub.class1.client.ca.crt0#U0http://www.startssl.com/0
	*H
n:9T?j^}x:ll>ٜ
0٤;gD3:K~DЮJWEBÝL۱Ja
^h\Cm3|O,K|)!
 ;+NgK ,ɈULcLXy';$RC&GtZO>Qā	t6c>&SƦ(XS`yjpc}\)[BJHjJHva00ʠ
0
	*H
0}10	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1)0'U StartCom Certification Authority0
071024210154Z
121022210154Z010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA0"0
	*H
0
	-).2AUGo#G
B|NDRpM-B=o-we5JQpa>O.#._<V
[~**pz~3WG.ᘟMlr[<Ce6fqO"uxfWN#uicgkv$Lb%y`_{`xK'GN[0W0U00U0USr풜\|~5NԸQ0U#0N@[i04hCA򡁁0}10	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1)0'U StartCom Certification Authority0	U00=+10/0-+0!http://www.startssl.com/sfsca.crt0`UY0W0,*(&http://cert.startcom.org/sfsca-crl.crl0'%#!http://crl.startssl.com/sfsca.crl0]U T0P0L+70;0/+#http://cert.startcom.org/policy.pdf05+)http://cert.startcom.org/intermediate.pdf0+00' Start Commercial (StartCom) Ltd.0Limited Liability, read the section *Legal Limitations* of the StartCom Certification Authority Policy available at http://cert.startcom.org/policy.pdf0	`HB0P	`HB
CAStartCom Class 1 Primary Intermediate Free SSL Email Certificates0
	*H
[,0 &()04ࠔ~}ANӲ1	"ObT:d>ijkI:n$ir++vD
鄅GN$74il*N5Y4eh.|ReF8!t|{t/`8CSa│R"܃.pi |sBIZ,&౼	=QCsvt⫆Qc:6"iAμy
л'4sQ@@Vۉ0ǛHILƈ6FC8(P98'(V7Ý3W4lV/KFQG4u۪,2	l
ZHx'%:8:(hP)/ܳjGBXbgnm%3:f 9<_W100010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA0	+0	*H
	1	*H
0	*H
	1
091120000853Z0#	*H
	1a)'QlDD0_	*H
	1R0P0	`He0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA0*H
	1010	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1806U/StartCom Class 1 Primary Intermediate Client CA0
	*H
F;ꪊA9PJW;qǖXV},t2Gڌ'!ԋ/Z.zVwSܑN@;P)3c>eOdE=2|Mcu+1.W?W8˜[1ɝT}*	iI.	*$R1XYKM^&~xqY
@_xK5I|HY#*/so^SYK'nA*5

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B05DE15.9070209>