dying processes
Julian Field
mailscanner at ecs.soton.ac.uk
Sat Jan 18 13:18:29 GMT 2003
At 02:33 18/01/2003, you wrote:
>I had the same problem. I restart MailScanner regularly. As Julian
>pointed out, /var/spool/MailScanner did occupy a lot of space. I knocked
>off quarantine. I notice that the incoming directory has a whole lot of
>files. I think this is temporary unpacking and repacking area, if I'm
>not wrong.
You're right. The incoming directory is entirely temporary. If you have the
RAM and want MailScanner to run faster, put your incoming directory on a
tmpfs filesystem (/dev/shm on many Linuxes, /tmp on Solaris).
> Would it be prudent to cron a command like
>"find /var/spool/MailScanner/incoming +mtime +3| xargs rm -f" on a daily
>basis.
You could do that. When MailScanner is shut down cleanly, it should clean
up the incoming directory. If you "kill -9" it then it can't do that.
>Maybe this can be part of standard install?
>
>Julian:
>Can clean up option of quarantine and temporary directory (in terms of
>no of hours or days) be part of the configuration in future releases?
>The cron job can be modified every time MailScanner starts.
Each of the parallel processes only knows about its own incoming directory,
this job is much better done by a cron job.
>Mohan
>
>-----Original Message-----
>From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
>Behalf Of Julian Field
>Sent: Friday, January 17, 2003 8:46 PM
>To: MAILSCANNER at JISCMAIL.AC.UK
>Subject: Re: dying processes
>
>
>It may sound silly, but have you done a "df -k" recently? I've been
>experiencing a similar problem myself with another user's server, and it
>took me a while to realise one of the filesystems had filled up.
>
>At 14:22 17/01/2003, you wrote:
> > I am not running Razor. I have MailScanner 4.10, SpamAssassin 2.43
> > and ClamAv 0.54 on Red Hat 8.0.
> >
> > I would notice on my mailscanner-mrtg graphs that the number of
> > MailScanner processes would drop from 20 to 3 sometimes, and stay
> > there until I restarted MailScanner. I didn't look through the logs
> > "real" hard, but my cursory examination didn't turn up anything.
> >
> >On Fri, 17 Jan 2003 14:45:18 +1300
> >Craig Bates <c.bates at COMNET.CO.NZ> wrote:
> >
> > > Dale,
> > >
> > > Are you runing Spam assassin & RAZOR? What OS and anti-virus are
> > > you
> > running?
> > >
> > > Anybody else having these problems????
> > >
> > > Thanks,
> > >
> > > Craig
> > >
> > > On Friday 17 January 2003 11:34, you wrote:
> > > > I was having this same problem, but didn't investigate why very
> > > > much, that is why I put the restart option in mailscanner-mrtg,
> > > > whenever it detects mailscanner is below a certain number of
> > > > processes it
> > restarts it.
> > > >
> > > > Dale
> > > >
> > > > On Fri, 17 Jan 2003 09:36:22 +1300
> > > >
> > > > Craig Bates <c.bates at COMNET.CO.NZ> wrote:
> > > > > Hi,
> > > > >
> > > > > I decided to install MailScanner on RedHat80 as I was having
> > > > > problems with MailScanner processes dying on FreeBSD. I am now
> > > > > having
> > exactly the
> > > > > same problem with RedHat80 This proves that the problem is
> > > > > independent of OS, sendmail version / compilation and perl
> > > > > version.
> > > > >
> > > > > I find it very strage that nobody else seems to have this
> > > > > problem and I have it on 3 boxes!
> > > > >
> > > > > Is there anybody on this list that has MailScanner working with
> > > > > spamassassin-2.43-3.i386.rpm, razor-agents-2.22.tar.gz,
>fp-linux-sb.rpm
> > > > > (f-prot)? One of these must be causing the problem as I'm sure
> > > > > MailScanner and RedHat8.0 is a very common installation that
> > > > > works!
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Craig
> >
> >
> >--
> > Dale Lovelace
> > System Administrator
> > hotels.com
> > (214) 361-7311 Ext. 1074
>
>--
>Julian Field
>www.MailScanner.info
>MailScanner thanks transtec Computers for their support
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support
More information about the MailScanner
mailing list