On Fri, 7 Jan 2000 [EMAIL PROTECTED] wrote:
> > Doesn't concurrencyremote limit the number of processes forked?
>
> Yes.
>
> > Surely he has enough file descriptors for the default of 20
> > processes.
>
> 20*2*2+5 filedescriptors is about the number he needs then.
After searching the archives and reading the manpage for pipe, I kinda
figured out the problem. I had bumped the concurrencyremote up to 35 for
the hell of it when I installed the system, but apparently even 20
would've screwed up with Solaris 7's default of 64 filehandles per
process. Fortunately, they introduced plimit in version 7 which lets you
change these on the fly for any running processes. I forgot to actually
change them on qmail-?spawn and only changed qmail-send which didn't help
at all, but this morning, I figured that one out, too. I also added the
ulimit -n to the startup scripts.
It took all week to deliver about 800 messages, and a few seconds to
deliver most of the remaining 300 after that.
Thanks for the formula, too! That's a big help.
Monte