|
/
Zope
/
Apsis
/
Pound Mailing List
/
Archive
/
2004
/
2004-08
/
Pound worker crashes occasionally
[
HTTP pthread_create: Cannot allocate memory / ... ]
[
errors with pound/zope-2.7/plone2 / "Claus ... ]
Pound worker crashes occasionally
Dmitry Dvoinikov <dmitry(at)targeted.org> |
2004-08-20 09:17:27 |
[ FULL ]
|
I keep occasionally seeing
Aug 20 13:10:10 balancer /kernel: pid 38444 (pound), uid 0: exited on signal 6
(core dumped)
in /var/log/messages
and although I have set LogLevel 2 in pound.conf, no other
relevant info.
I guess this is worker crashing because pound keeps working.
I suspect that this could be one of the reasons for the intermittent
request failures that I also experience. Any suggestions on debugging
or fixing this ?
I'm running Pound-current as of June 15, 2004 under FreeBSD 4.10.
Sincerely,
Dmitry Dvoinikov
http://www.targeted.org/
|
|
|
Re: Pound worker crashes occasionally
Dmitry Dvoinikov <dmitry(at)targeted.org> |
2004-08-20 13:25:32 |
[ FULL ]
|
Tried to install 1.7-stable, no result, still keeps crashing:
Aug 20 16:20:14 balancer /kernel: pid 72426 (pound), uid 0: exited on signal 6
(core dumped)
Aug 20 16:20:14 balancer pound: MONITOR: worker exited on signal 6,
restarting...
Here is the core stack dump:
#0 0x281d8ce4 in kill () from /usr/lib/libc_r.so.4
#1 0x28227382 in abort () from /usr/lib/libc_r.so.4
#2 0x28200ecb in __assert () from /usr/lib/libc_r.so.4
#3 0x28138585 in RAND_SSLeay () from /usr/lib/libcrypto.so.3
#4 0x281380cb in RAND_add () from /usr/lib/libcrypto.so.3
#5 0x281536fb in DH_OpenSSL () from /usr/lib/libcrypto.so.3
#6 0x28153871 in BN_pseudo_rand () from /usr/lib/libcrypto.so.3
#7 0x281539fe in BN_bntest_rand () from /usr/lib/libcrypto.so.3
#8 0x28153a73 in BN_pseudo_rand_range () from /usr/lib/libcrypto.so.3
#9 0x280e50e5 in BN_is_prime_fasttest () from /usr/lib/libcrypto.so.3
#10 0x280e4c0c in BN_generate_prime () from /usr/lib/libcrypto.so.3
#11 0x280d6b7d in RSA_generate_key () from /usr/lib/libcrypto.so.3
#12 0x8052afd in thr_RSAgen (arg=0x0) at svc.c:815
#13 0x281b3240 in _thread_start () from /usr/lib/libc_r.so.4
#14 0x0 in ?? ()
I guess the problem is/was dynamic linking with the wrong ssl library,
dump of binary pound contained libcrypto.so.3 which was the old
(and presumably single-threaded) one. Statically linked with the
freshly built thread-safe libcrypto.a instead, hopefully this fixes
the problem.
Sincerely,
Dmitry Dvoinikov
http://www.targeted.org/
[...]
|
|
|
Re: Pound worker crashes occasionally
Robert Segall <roseg(at)apsis.ch> |
2004-08-20 14:53:27 |
[ FULL ]
|
On Friday 20 August 2004 13.25, Dmitry Dvoinikov wrote:[...]
Good catch Dmitry. Let us know how it works.
BTW - please avoid 1.7, as it had known problems. Try -current instead.[...]
|
|
|
Re: Pound worker crashes occasionally
Clement Laforet <sheep.killer(at)cultdeadsheep.org> |
2004-08-20 15:10:15 |
[ FULL ]
|
On Fri, 20 Aug 2004 17:25:32 +0600
Dmitry Dvoinikov <dmitry(at)targeted.org> wrote:
[...]
<snip>
[...]
openssl-base on 4.x is not threaded. Use openssl from ports to have a
threaded version.
clem
|
|
|
FreeBSD : Re: Pound worker crashes occasionally
"Jay West" <jwest(at)imail.kwcorp.com> |
2004-08-20 16:16:06 |
[ FULL ]
|
If you're using FreeBSD 4.10, I don't believe there is a port for
Pound-Current, just Pound-1.7. Note that there are several patches applied
to Pound-1.7 in the ports collection specific for FreeBSD. If you just get
the latest Pound-current, the patches from 1.7 in the port won't apply
correctly.
I do have a FreeBSD port I created for Pound-Current (081904) that applies
the FreeBSD specific patches for that version if you want it, email me
off-list.
Not sure this is the problem you are running into, but it may be.
Regards,
Jay West
----- Original Message -----
From: "Dmitry Dvoinikov" <dmitry(at)targeted.org>
To: <pound(at)apsis.ch>
Sent: Friday, August 20, 2004 2:17 AM
Subject: Pound worker crashes occasionally
[...]
signal 6 (core dumped)[...]
---
[This E-mail scanned for viruses by Declude Virus]
|
|
|
|