From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 30529 invoked from network); 10 Jun 1999 00:34:01 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 10 Jun 1999 00:34:01 -0000 Received: from lexis-nexis.com (mx01.lexis-nexis.com [138.12.4.45]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id TAA05489 for ; Wed, 9 Jun 1999 19:45:19 -0400 Received: from ra.lexis-nexis.com by lexis-nexis.com (8.9.3/8.9.3) with SMTP id TAA10091 for ; Wed, 9 Jun 1999 19:44:47 -0400 (EDT) Received: by ra.lexis-nexis.com (SMI-8.6/SMI-SVR4) id TAA02585; Wed, 9 Jun 1999 19:44:47 -0400 From: larrys@lexis-nexis.com (Larry Snyder) Message-Id: <199906092344.TAA02585@ra.lexis-nexis.com> Date: Wed, 9 Jun 1999 19:44:47 -0400 (EDT) To: axp-list@redhat.com Subject: Re: fork: Cannot allocate memory In-Reply-To: <199906092108.XAA26327@noc.spin.it> X-Mailer: Ishmail 1.3.3-980626-sol MIME-Version: 1.0 Content-Type: text/plain 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. my .02, FWIW -ls- 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