qmail Virus Scanner Memory question
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? 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 600 \ /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \ -u $QMAILDUID -g $NOFILESGID 0 smtp \ /var/qmail/bin/qmail-smtpd 21 I've read in the archives that most people had success with setting the softlimit to 600, 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 Qmail-1.03 with tls qmail-queue patches NAI 4.x scanner gcc Thanks all. John McCoy, Jr Central Systems Administrator Mills College, Oakland, CA 510-430-3321 [EMAIL PROTECTED]
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 600 \ /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \ -u $QMAILDUID -g $NOFILESGID 0 smtp \ /var/qmail/bin/qmail-smtpd 21 I've read in the archives that most people had success with setting the softlimit to 600, 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. ---
RE: qmail Virus Scanner Memory question
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 600 \ /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \ -u $QMAILDUID -g $NOFILESGID 0 smtp \ /var/qmail/bin/qmail-smtpd 21 I've read in the archives that most people had success with setting the softlimit to 600, 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. ---
Re: qmail Virus Scanner Memory question
John McCoy, Jr. [EMAIL PROTECTED] wrote: Will do, still questioning where the limit on concurrent incoming smtp connections is set? See the documentation of tcpserver for how to set concurrency of tcpserver-run daemons. 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. ---