stage directory

Andrew Morgan morgan at orst.edu
Wed Sep 3 19:34:24 EDT 2003


I just had a similar problem here today.  I saw that users could connect
to the imap port, but not imaps.  Also lmtpd process where hung (using
cpu) and unable to deliver mail.  In the syslogs I saw messages like:

master[18444]: can't fork process to run service imaps: Resource
temporarily unavailable

The fix was to increase the number of available file descriptors.  The
default on Debian Linux is 1024.  Also, the number of processes is limited
to 256 by default.  I increased it by putting the following two lines near
the top of my cyrus init script:

ulimit -n 209708
ulimit -u 2048

	Andy

On Wed, 3 Sep 2003, Ilan Rabinovitch wrote:

> Rob,
>
> Thanks for your continued help with Cyrus.
>
> Well I am definately having some cyrus issues.  It seems to fall asleep
> every few hours and never wake up.  I end up having to restart it otherwise
> mail begins to bounce.
>
> I've posted the errors here before, but nobody seemed to have any idea.
> I've had a look at some of the mail in the stage directory and I'm confident
> in saying that the mail sitting there is already delivered its just not
> being removed.  Instead of filling up the list with more e-mails with the
> same info I'll just post the archive links:
>
> http://www.mail-archive.com/info-cyrus@lists.andrew.cmu.edu/msg13708.html
>
> Thanks,
> Ilan
>
> On Tue, Sep 02, 2003 at 07:43:31PM -0400, Rob Siemborski wrote:
> > On Tue, 2 Sep 2003, Ilan Rabinovitch wrote:
> >
> > > Is there anyway to flush the stage directory.  My stage directory has now
> > > hit over 500MB.  This is becoming an issue.
> >
> > The stage directory should basicly remain empty for all normal cyrus
> > operations, it's just used as a place to prep files before they are linked
> > (a la single instance store) into their appropriate directories.
> >
> > If it is filling up in any meaningful way, I'd look through your logs to
> > hopefully find out why.
> >
> > -Rob
> >
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> > Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
> > Research Systems Programmer * /usr/contributed Gatekeeper
>
> --
> Ilan Rabinovitch
> ilan at fonz.net E-MAIL
>
> The Southern California Llnux Expo: "Bringing businesses, academic institutions and the Linux community together in a way that no other conference does!" -- http://www.socallinuxexpo.org
>





More information about the Info-cyrus mailing list