*BSD News Article 59890


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!newsfeed.internetmci.com!uwm.edu!chi-news.cic.net!news.cic.net!pauls
From: pauls@cic.net (Paul Southworth)
Newsgroups: comp.mail.misc,comp.unix.bsd.freebsd.misc
Subject: procmail: locking problems under FreeBSD 2.1.0-RELEASE?
Date: 18 Jan 1996 00:48:16 GMT
Organization: CICNet, Inc.
Lines: 29
Message-ID: <4dk5cg$de2@news.cic.net>
NNTP-Posting-Host: locust.cic.net
Xref: euryale.cc.adfa.oz.au comp.mail.misc:24924 comp.unix.bsd.freebsd.misc:12686


procmail 3.10 appears to be having locking problems on my FreeBSD 2.1.0-R 
server.  Until mid-December it was doing OK, but for the last few weeks it
appears that procmail is taking up to an hour to handle a local delivery.
Mail load for my account is 500-1000 messages per day, so procmail is a
real necessity.  Currently 10-50 procmail processes will be hanging around
in the process table, presumably waiting for a lock.

Occasionally also seeing "signal 213" death for procmail:

TAA23010     3660 Tue Jan 16 19:46 <foo@bar.com>
                 (mailer prog died with signal 213)
                              |"IFS=' ';exec /usr/local/bin/procmail #pauls"

But mostly they're just hanging around.  Then periodically a handful of them
will all finish up and write the messages to the appropriate place.

I think procmail decided to use fcntl(2) locking.

Running sendmail 8.7.3.

.procmailrc has been happy and basically unchanged since procmail 2.9.x
but system was changed from SunOS to FreeBSD.

Ideas?

--
Paul Southworth
pauls@cic.net