Will do, still questioning where the limit on concurrent incoming smtp
connections is set?
I'm sure it's in the Doc's but 20 things to do you know.

************************
John McCoy, Jr
Central Systems Administrator
Mills College, Oakland, CA
510-430-3321
[EMAIL PROTECTED]
************************

-----Original Message-----
From: Charles Cazabon [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 27, 2001 8:53 AM
To: qmail@list. cr. yp. to
Subject: Re: qmail Virus Scanner Memory question

John McCoy, Jr. <[EMAIL PROTECTED]> wrote:
> I'm using qmail-scanner-0.95 to implement virus scanning, I've got the
> patches all applied and things compile just fine.
> However when I put the pieces in place I get this error:
>
> libthread panic: _sys_thread_create():alloc_thread returns 0 (no mem) :
> dumping core (PID: 26646 LWP 1)
>
> I reading this, as there is not enough memory to run the scanner, is this
> correct?

Yes.

> I am set up using the Life with qmail method so here is my
> qmail/supervise/qmail-smtpd/run file:
>
> #!/bin/sh
> QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" export QMAILQUEUE
> QMAILDUID=`/usr/xpg4/bin/id -u qmaild`
> NOFILESGID=`/usr/xpg4/bin/id -g qmaild`
> exec /usr/local/bin/softlimit -m 6000000 \
>     /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
>         -u $QMAILDUID -g $NOFILESGID 0 smtp \
>         /var/qmail/bin/qmail-smtpd 2>&1
>
> I've read in the archives that most people had success with setting the
> softlimit to 6000000, I guess I'm just a little wary about going much
> higher, also I'm unsure if the number of incoming connections is limited,
I
> would need it to be no more then 50.
>
> System Spec:
> Sol 7 Sparq

Solaris binaries are bloated; it probably will require more than the 6MB
others have found success with.  Try raising it to 8MB, or 10MB, and see if
it fixes the problem.

Charles
--
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------

Reply via email to