From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 24269 invoked from network); 10 Jun 1999 11:48:51 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 10 Jun 1999 11:48:51 -0000 Received: from despam.spin.it (despam.spin.it [147.123.1.123]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id GAA30181 for ; Thu, 10 Jun 1999 06:59:55 -0400 Received: from noc.spin.it (up.spin.it [147.123.1.22]) by despam.spin.it (Postfix/beta-19990601/Spin-ext-03jun1999) with ESMTP id 005363C011 for ; Thu, 10 Jun 1999 12:59:53 +0200 (CEST) Received: (from furio@localhost) by noc.spin.it (8.8.8/8.8.8/Spin-noc-nov1998) id MAA17652 for axp-list@redhat.com; Thu, 10 Jun 1999 12:59:53 +0200 (METDST) From: furio ercolessi Message-Id: <199906101059.MAA17652@noc.spin.it> Subject: Re: fork: Cannot allocate memory To: axp-list@redhat.com Date: Thu, 10 Jun 1999 12:59:53 METDST In-Reply-To: <199906092344.TAA02585@ra.lexis-nexis.com>; from "Larry Snyder" at Jun 9, 99 7:44 pm X-Mailer: Elm [revision: 109.19] > > Just a thought.... > I assume squid is running as root, and maybe banging against a memory/ > user limitation. > Can squid run as non-root? (maybe nobody....)? If so, it'd probably > be better security-wise, anyway. > Are other (non-root) users experiencing the same problem? It doesn't > look like you're running out of proc-table or overall ram. Squid is running on its own UID, and it is rather quiet from the point of view of process creation. The problem affects all users, including root. I do not think I have any memory/user limitation. I now tried to bump the max no. of tasks to 4096, just to see if it makes a difference; the syndrome takes a few hours or days to develop. furio ercolessi PS for Maurice: no, we have definitely trashed that SCSI adapter brand... > furio ercolessi wrote: > > Hi all, > > > > I am at a loss to understand why my system (LX, 2.2.7) from time to time > > is now refusing to start new processes: > > > > ------------------------------------------------- > > # man ps > > Formatting page, please wait... > > sh: fork: Cannot allocate memory > > sh: fork: Cannot allocate memory > > Error executing formatting or display command. > > [...] > > # free > > total used free shared buffers cached > > Mem: 516720 510696 6024 71416 214536 97896 > > -/+ buffers/cache: 198264 318456 > > Swap: 262136 2280 259856 > > ------------------------------------------------- > > > > Plenty of memory is available (even if of course the system should > > have to get rid of a few buffers). The number of processes now > > is less than 100, while NR_TASKS is 512 and MAX_TASKS_PER_USER 256. > > > > This syndrome started since when I started running squid on the > > system; but the squid process is around 100MB. > > Any ideas? > > > > Thanks > > > > furio ercolessi > > Spin - Trieste (Italy) > > > > -- > > To unsubscribe: send e-mail to axp-list-request@redhat.com with > > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com > >