From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nikola Milutinovic Newsgroups: gmane.os.tru64.managers Subject: Fork failing, any advice? Date: Thu, 04 Nov 2004 12:04:46 +0100 Message-ID: <418A0CCE.9030002@ev.co.yu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1099566244 22131 80.91.229.6 (4 Nov 2004 11:04:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Nov 2004 11:04:04 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Nov 04 12:03:51 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1CPfPD-0003Bi-00 for ; Thu, 04 Nov 2004 12:03:51 +0100 Original-Received: (qmail 31608 invoked by uid 5); 4 Nov 2004 11:03:07 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 31593 invoked by uid 49501); 4 Nov 2004 11:03:07 -0000 Original-Received: from Nikola.Milutinovic@ev.co.yu by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.4.110):SA:0(-4.9/5.0):. Processed in 0.997394 secs); 04 Nov 2004 11:03:07 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 4 Nov 2004 11:03:05 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I6N00A7SIOZIJ@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 04 Nov 2004 06:03:03 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute3.ornl.gov by emroute3.ornl.gov (PMDF V6.2-X27 #30899) id <0I6N00102IOP88@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 04 Nov 2004 06:02:53 -0500 (EST) Original-Received: from Firewall.ev.co.yu (gateway.ev.co.yu [194.247.214.130]) by emroute3.ornl.gov (PMDF V6.2-X27 #30899) with SMTP id <0I6N0003RIONP1@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 04 Nov 2004 06:02:49 -0500 (EST) Original-Received: by Firewall.ev.co.yu; (5.65v4.0/1.3/10May95) id AA16862; Thu, 04 Nov 1999 12:07:27 +0100 Original-Received: from [192.168.61.110] (Brigitte.ev.co.yu [192.168.61.110]) by Uprava.ev.co.yu (8.12.10/8.12.10) with ESMTP id iA4B0ers023915 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 04 Nov 2004 12:00:43 +0100 (MET) Original-To: Tru64 UNIX Managers X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Envelope-From: X-ORNL-Envelope-To: tru64-unix-managers@sws1.ctd.ornl.gov rfc822;tru64-unix-managers@ornl.gov X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-Virus-Scanned: by amavisd-milter (http://www.amavis.org/) Xref: main.gmane.org gmane.os.tru64.managers:7740 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7740 Hi managers and experts. I have a dosen Alpha servers acting as Oracle, DNS and E-Mail servers. I do not have the option to migrate e-mail from the Alphas, so I'm kinda stuck. The e-mail system is working in conjunction with AntiVirus software: - Sendmail 8.12.10 (with Milter API) - AMaViS Daemon v0.1 (with Milter daemon) - Sophie v3.02 (daemon using Sophos AV engine) - Sophos AV for Tru64 UNIX (current - 2 months, hourly updates) When this works, it works like a charm. We have had a viral infection and our sub-admins are not verry diligent in cleaning the infected machines. This means that I do have more viral sending attempt than usual. On several machines I'm seeing this in the logs: Nov 4 11:04:15 edzr sophie[1852]: ERROR : fork() failed! [Operation would block] Nov 4 11:04:16 edzr sm-mta[29871]: NOQUEUE: SYSERR(root): daemon: cannot fork: Operation would block Nov 4 11:04:16 edzr amavisd[19861]: shutdown server - cannot fork As a result, since sendmail is configured to temporarily fail receiving mail in case of AV failure, all mail stops. When I get to the machine and restart AMaViSD and Sophie, it all works again. What is causing the failed fork() operation? Machines have more than 70% swap free and max-proc-user is 256, more than enough for either Sendmail, AMaViS or Sophie to fork. Besides, Sophie is running as "root" (I know, I know, security...) Nix.