Date: Sun, 21 Dec 2003 13:38:08 +0545 From: bikrant@wlink.com.np To: freebsd-questions@freebsd.org Subject: System Crash (freebsd+clamscan) ! Message-ID: <200312211338.08325.bikrant@wlink.com.np>
next in thread | raw e-mail | index | archive | help
Hi, I'm running qmail+qmail-scanner+clamscan on freebsd 4.9. The system is P-IV with 1 GB of RAM and 1 GB Swap. My system crashed twice with the following message in my syslog. Dec 21 11:19:19 qmail-scanner /kernel: pid 57024 (clamscan), uid 1009, was killed: out of swap space Dec 21 11:19:23 qmail-scanner last message repeated 6 times Dec 21 11:20:14 qmail-scanner /kernel: swap_pager_getswapspace: failed Dec 21 11:20:16 qmail-scanner last message repeated 516 times Dec 21 11:20:16 qmail-scanner /kernel: pid 57204 (clamscan), uid 1009, was killed: out of swap space I know the system had worked under heavy loads but the last time it crashed during off hours (ie. smtp connection was quite low compared to peak hours). I guess the problem occured due to some malformed attachments but I'm not sure. Did anyone ran through this problem before? Below I've included my qmail, sysctl and loader.conf settings. This is how is run qmil-smtpd /var/qmail/supervise/qmail-smtpd/run: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=500 LOCAL=`head -1 /var/qmail/control/me` exec /usr/local/bin/softlimit -m 50000000 \ /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 qmail-scanner# cat /etc/tcp.smtp 127.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" 202.79.32.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" 202.79.36.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" sysctl settings kern.maxfilesperproc=8192 kern.ipc.somaxconn=8192 kern.maxfiles=65536 kern.maxprocperuid=8192 and boot/loader.conf kern.ipc.nmbclusters="16384"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312211338.08325.bikrant>