<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.18.3">
</HEAD>
<BODY>
Greetings,<BR>
<BR>
Has anyone had any issues with this configuration?<BR>
<BR>
I have installed MailScanner on many servers, personal, my employers, and private clients over the years, must be totalling into hundreds having used it since 2002, even on virtual stuff like xen and vmware, but I've never had the displeasure of doing one under an openvz container, that said, this is my first hands on with openvz (no, I don't control of the vps server hardware but I have faith in the company that does as they have been doing this for a couple years, so I trust the container and master host are properly setup).<BR>
<BR>
I know even an old pro like myself can make a mistake, so I duplicated the setup on a spare dev box, and it works fine, but on that vps, not a hope in hell...<BR>
<BR>
There are no errors in any lint/debug for MS or SA, forcing a confiscated rootkit, gets found by clamav and dealt with correctly, so I'm ruling out anti virus as well.<BR>
<BR>
Using base config of 5 children, It repeatedly restarts, it will process mail in the process though, there are again, no indications as to why it is restarting continuously.<BR>
<BR>
<BR>
So I dropped the kids to "2" and it starts, all good as it should.<BR>
<BR>
26227 ? Ss 0:00 MailScanner: master waiting for children, sleeping<BR>
26232 ? S 0:02 MailScanner: waiting for messages<BR>
28345 ? S 0:02 MailScanner: waiting for messages<BR>
<BR>
Except.. (yep there's always an "except")...<BR>
Often, a child grabs the batch, then, the other kid grabs it, processing it twice, resulting in the recipient getting two copies of the message.<BR>
<BR>
and.. then, if it restarts itself as per the restart timeout value, they end up like this, trying to start a child, even though it already has restarted itself and both of its kids (and we don't ever see 26227 return to master state.)<BR>
16328 ? S 0:02 MailScanner: waiting for messages<BR>
18049 ? S 0:02 MailScanner: waiting for messages<BR>
26227 ? Ss 0:00 MailScanner: starting child<BR>
<BR>
<BR>
This is a centos 5.4 system. MailScanner was installed from source not an ancient rpm or whatever.<BR>
<BR>
<TT>CPU: 8 Intel(R) Xeon(R) CPU E5450 @ 3.00GHz at 123MHz</TT><BR>
<TT>Memory: 512 MB</TT><BR>
<TT>Machine: x86_64</TT><BR>
<TT>Release: Linux 2.6.18-028stab068.3</TT><BR>
<BR>
<BR>
So, has anyone run into any problems like this with openvz?<BR>
<BR>
Cheers<BR>
(thanks to Julian if he approves this post)<BR>
(direct replies accepted)
</BODY>
</HTML>