From owner-freebsd-stable Tue Dec 7 4: 3: 2 1999 Delivered-To: freebsd-stable@freebsd.org Received: from mx.nkm.lt (mx.nkm.lt [193.219.211.9]) by hub.freebsd.org (Postfix) with SMTP id 409EE14CA3 for ; Tue, 7 Dec 1999 04:02:57 -0800 (PST) (envelope-from midom@dammit.lt) Received: (qmail 16725 invoked by uid 1073); 7 Dec 1999 12:02:55 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 7 Dec 1999 12:02:55 -0000 Date: Tue, 7 Dec 1999 14:02:55 +0200 (EET) From: Domas Mituzas X-Sender: midom@mx.nkm.lt To: Bob Bishop Cc: Szilveszter Adam , freebsd-stable@FreeBSD.ORG Subject: Re: Out of swap hangs machine In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello to all, maybe I missed some discussion, but out-of-swap can occur during large email delivery (e.g. if you accept huge email messages, you should know, that for example procmail uses ~twice the memory the message takes). So one or several email messages can cause your system crash, if you do not have enough swap. Even mail servers, that have 64megs of ram should have at least 200 megs of swap. If the out of memory occurs, such proccesses will stop working properly, even if memory usage decreases: qmail (qmail-lspawn hangs) apache (root process core dump) inetd (dumb errors in front of every connection :-) mysqld (core dump - malloc not working) etc So, just few words about stability. I reported to apache and made a small patch for inetd, as error messages as "inetd in realloc()" will make POP3 and other protocols not working. With respect, Domas Mituzas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message