|Printable Version of Topic
Click here to view this topic in its original format
|XMail Forum > XMail Server > Xmail Mem Usage & Crashes On Linux Kernel >2.4.1!|
|Posted by: hschneider Jan 10 2004, 05:15 PM|
|Posted by: hschneider Jan 13 2004, 11:09 AM|
| This phenomena seems to dissappear, when you:
- build XMail _without_ -static (this dements the mail above)
- additionally put 'export LD_ASSUME_KERNEL=2.4.1' in your XMail startup script.
Looks like the problem here is the same like with XQM Agent: The new threading scheme introduced with RH9 causes unpredictable behavior of multi-threaded applications. Therefore the LD_ASSUME_KERNEL env var exists, which will force the kernel to emulate the old threadiing scheme.
Source (read from bottom to top):
|Posted by: hschneider Jan 14 2004, 01:09 PM|
|Posted by: hschneider Jan 19 2004, 11:17 AM|
|Posted by: atomant Jan 19 2004, 03:04 PM|
|It is important for all users running kernel > 2.4.1 which also includes RH8 users with updated kernel to the latest version.|
|Posted by: leyland Feb 5 2004, 12:37 PM|
| Same Here.. Today keeping Crash... ..
I tested 1.5 1.6 1.7 same problem
added LD_ASSUME_KERNEL=2.4.1, same problem. It will not fix. Before 5-FEB-2004 without this kind crash.
Glibc 2.2.5-44 RPM
GCC 2.96-113 RPM
Anti Virus Filter
Every hour receive 200-500 Emails
|Posted by: hschneider Feb 5 2004, 01:12 PM|
| What is the output of
Where is your export statement located? In your XMail startup script ?
Sure that THIS script is executed?
|Posted by: leyland Feb 5 2004, 03:01 PM|
[root@sun root]# uname -a
Linux sun.os.st 2.4.22 #2 Sun Sep 21 13:50:10 HKT 2003 i686 unknown
|Posted by: hschneider Feb 5 2004, 03:13 PM|
|Fact is, that you need LD_ASSUME_KERNEL to be set. Please check all other things mentioned above.|
|Posted by: leylandhk Mar 9 2004, 02:40 AM|
I HAVE BEEN ADDED
/var/MailRoot/bin/XMail -Md -Ms /var/MailRoot -FI 127.0.0.1:0 -Pt 60 -St 60 -Sl -SI 0.0.0.0:8025 -SI 0.0.0.0:25 -PI 0.0.0.0:8110 -PI 0.0.0.0:110
Today it crashed again!!!!!
I still dunno what happen! ;
|Posted by: hschneider Mar 9 2004, 07:55 AM|
| 1.17 has a small mem leak, which can cause coredumps under certain conditions. Please use the latest 1.18 pre release:
|Posted by: vegetto34 Mar 16 2004, 11:26 AM|
| I have not noticed this on my RH 9 install... Maybe because I only have 2 users and not that much traffic? my server has been up 24/7 for the past month and i've been able to send and receive e-mails without a problem.
amd k6-2 550mhz w/ 128 megs ram. it would have crashed a lot since it doesn't have much room or CPU power to run it well. i'd love to put in a P4 system but for my low traffic it would be overkill... (although administrating it would be much faster)
|Posted by: hschneider Mar 16 2004, 12:09 PM|
|In most cases 1.17 runs stable. But when it crashes, an update to 1.18 is the cure.|