XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum [Powered by Invision Power Board]
Printable Version of Topic
Click here to view this topic in its original format
XMail Forum > XMail Queue Manager > Linux Kernel >2.4.1 Users - please read!


Posted by: hschneider Nov 14 2003, 09:55 AM
The way how threads are handled by the kernel has changed since since kernel 2.4.1.
See http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/release-notes/x86/ for details.

Since XQM and XQMAgent use threads extensively, they are both affected by this change.

To avoid crashes, you should wrap them into a startup script which forces the system to emulate the old thread scheme:

------------------------------
#!/bin/sh
export LD_ASSUME_KERNEL=2.4.1
./xqmwin # or ./xqmagent
------------------------------

Don't forget to do
chmod 755 scriptname

Posted by: hschneider Dec 1 2003, 02:12 PM
XQM >= 1.43 and Agent >= 1.36 come with such script included.
Just start them with the .sh file.

Posted by: hschneider Jan 22 2004, 12:14 AM
It is urgently recommended to put LD_ASSUME_KERNEL also into your XMail startup script, since the new threading engine causes XMail's threads to behave unpredictable. Symptoms are mem exhaustion and crashes. After switching back to 2.4.1, it will run stable as a rock again ...

Posted by: atomant Feb 3 2004, 12:38 PM
Attention: Don't use LD_ASSUME_KERNEL ... in both startup scripts. I have found out that if I use in Xmail and xqmagent this env variable then I can't connect to the xqmagent. Using only at Xmail startup script and not for xqmagent solved my problem.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)