From owner-freebsd-current Mon Aug 10 11:24:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA13337 for freebsd-current-outgoing; Mon, 10 Aug 1998 11:24:31 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from burka.carrier.kiev.ua (burka.carrier.kiev.ua [193.193.193.107]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA13318 for ; Mon, 10 Aug 1998 11:24:24 -0700 (PDT) (envelope-from archer@grape.carrier.kiev.ua) Received: from kozlik.carrier.kiev.ua (kozlik.carrier.kiev.ua [193.193.193.111]) by burka.carrier.kiev.ua (8.9.0/8.Who.Cares) with ESMTP id VAA20963 for ; Mon, 10 Aug 1998 21:23:58 +0300 (EEST) Received: (from uucp@localhost) by kozlik.carrier.kiev.ua (8.9.0/8.9.0/8.Who.Cares) with UUCP id VAA26682 for current@freebsd.org; Mon, 10 Aug 1998 21:21:05 +0300 (EEST) Received: (from archer@localhost) by grape.carrier.kiev.ua (8.8.8/8.8.8) id VAA07767; Mon, 10 Aug 1998 21:01:00 +0300 (EEST) (envelope-from archer) Date: Mon, 10 Aug 1998 21:01:00 +0300 (EEST) From: Alexander Litvin Message-Id: <199808101801.VAA07767@grape.carrier.kiev.ua> To: current@FreeBSD.ORG Subject: Re: Reminder : can't fork X-Newsgroups: grape.freebsd.current In-Reply-To: <199808100729.AAA03741@rah.star-gate.com> Organization: Lucky Grape User-Agent: tin/pre-1.4-980202 (UNIX) (FreeBSD/3.0-CURRENT (i386)) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <199808100729.AAA03741@rah.star-gate.com> you wrote: AH> Hi, AH> Your bug description sounds very similar to what I am experiencing AH> however I can't reproduce the problem so far. Wrote a short program AH> which allocates memory then touches every page -- repeated the AH> same procedure till I ran out of swap space and the system kills AH> my process which is okay. Have a simple way to reproduce the problem. For me it is like that. I have 32M RAM + 128M swap. I have a simple prog which just allocs 32M of mem and "touches" it: ---------------------------------------------------------- #include #include #define MEMSIZE 33554432 int main() { int i; char* buf; buf=malloc(MEMSIZE); if(buf==NULL) { printf("Can't alloc mem\n"); exit(1); } else for(i=0;i Daemons seems to stay up so I am going to have to wait till AH> I can reproduce the problem . AH> Regards, AH> Amancio --- Misfortune, n.: The kind of fortune that never misses. -- Ambrose Bierce, "The Devil's Dictionary" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message