On Sat, 7 Feb 2004, Sönke Ruempler wrote:

> >> Please note: This also happens on RedHat 8 machines, which updated
> >> the kernel to a version > 2.4.1. You'll need to apply the
> >> LD_ASSUME_KERNEL = fix here too.
> >
> > Look that the problem is not the kernel. It is glibc-NPTL.
> 
> So, yesterday evening both xmail servers crached again at exactly the same
> time. I added the LD_ .... in my xmail startup scripts after the first
> crash, but that seems to effect nothing. So what please tell me what i have
> to do exactly.
> 
> Both are RedHat 7.x machines with kernel 2.4.24 and gcc 2.96, and that are
> the only crashes we ever had with xmail. I dunno if it has something to do
> with the kernel upgrade to 2.4.24 ?!

If you did not manually upgrade glibc, the one that comes with RH7.x does 
not have NPTL, so LD_ASSUME_KERNEL has no effect. OTOH you had machines 
(likely those ones) with a *huge* RSS, that is typical NPTL effect. If the 
RSS grows over a certain limit, the OOM killer in the kernel kicks in and 
kills your hungry application. You can try to get 1.18:

http://www.xmailserver.org/xmail-1.18.tar.gz

and build it in debug mode by replacing -O2 with -g and removing all the 
"strip" lines from Makefile.lnx. Then you can add "ulimit -c 300000" to 
your XMail startup script and run it again. Note that with RSS like your 
the core might not even fit the 300MB limit though.



- Davide


-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to