Discussion:
New process for every day the machine has been running
Ken Smith
2013-11-09 00:09:41 UTC
Permalink
Hi all

Running Centos 6.4, mailscanner-4.84.5-3, sendmail-8.14.4-8.el6.x86_64,
SELinux enabled

The machine has one of these processes for each day it has been running.

smmsp 18382 0.0 0.0 78164 2064 ? SNs Oct25 0:00
sendmail: Queue runner at 00:15:00 for /var/spool/clientmqueue

Should they be getting killed off somehow.

I don't see any SELinux messages about it.

I'm sure I've probably missed some simple thing.

Guidance much appreciated

Thanks

Ken
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Paul Sand
2013-11-09 09:47:02 UTC
Permalink
Post by Ken Smith
Running Centos 6.4, mailscanner-4.84.5-3, sendmail-8.14.4-8.el6.x86_64,
SELinux enabled
The machine has one of these processes for each day it has been running.
smmsp 18382 0.0 0.0 78164 2064 ? SNs Oct25 0:00
sendmail: Queue runner at 00:15:00 for /var/spool/clientmqueue
Should they be getting killed off somehow.
I am running pretty much the same setup (except no SELinux). I only
see one of these processes, started when MailScanner starts. So they
shouldn?t be getting killed, but you shouldn?t have more than the first
one.

The Mailscanner startup script is supposed to start the sendmail processes
itself. (I.e., not through the normal /etc/init.d/sendmail script.)
So one thing to look at:

# chkconfig --list sendmail

Should be:

sendmail 0:off 1:off 2:off 3:off 4:off 5:off 6:off

Just guessing.
--
-- Paul A Sand <pas at unh.edu>
-- Information Technology / University of New Hampshire
-- http://pubpages.unh.edu/~pas
-- Trademarks mentioned in this message appear for identification purposes only.
Ken Smith
2013-11-09 22:55:41 UTC
Permalink
Post by Paul Sand
Post by Ken Smith
Running Centos 6.4, mailscanner-4.84.5-3, sendmail-8.14.4-8.el6.x86_64,
SELinux enabled
The machine has one of these processes for each day it has been running.
smmsp 18382 0.0 0.0 78164 2064 ? SNs Oct25 0:00
sendmail: Queue runner at 00:15:00 for /var/spool/clientmqueue
Should they be getting killed off somehow.
I am running pretty much the same setup (except no SELinux). I only
see one of these processes, started when MailScanner starts. So they
shouldn?t be getting killed, but you shouldn?t have more than the first
one.
The Mailscanner startup script is supposed to start the sendmail processes
itself. (I.e., not through the normal /etc/init.d/sendmail script.)
# chkconfig --list sendmail
sendmail 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Just guessing.
Indeed

chkconfig --list sendmail
sendmail 0:off 1:off 2:off 3:off 4:off 5:off
6:off
# chkconfig --list MailScanner
MailScanner 0:off 1:off 2:on 3:on 4:on 5:on 6:off
#

What puzzles me is what starts a new process every day. Nothing in crom
that I can see.

Ken
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Mark Sapiro
2013-11-10 07:55:00 UTC
Permalink
Post by Ken Smith
What puzzles me is what starts a new process every day. Nothing in crom
that I can see.
Have you looked in /var/log/cron for what runs at the time these start
or for crond pids just a small bit less than those of the new processes?
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
Ken Smith
2013-11-10 17:28:48 UTC
Permalink
Post by Mark Sapiro
{snip}.
Have you looked in /var/log/cron for what runs at the time these start
or for crond pids just a small bit less than those of the new processes?
I'm on the trail now. I backup the Cyrus files in a daily cron that
stops MailScanner first then shuts Cyrus down, does the backup and
starts them up again.

The command "service MailScanner stop" does not stop the incoming
sendmail processes completely.

I'm looking through the script in init.d

Thanks

Ken
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Loading...