From: furio ercolessi <furio@spin.it>
To: axp-list@redhat.com
Subject: Re: fork: Cannot allocate memory
Date: Thu, 10 Jun 1999 12:59:53 METDST [thread overview]
Message-ID: <199906101059.MAA17652@noc.spin.it> (raw)
In-Reply-To: <199906092344.TAA02585@ra.lexis-nexis.com>; from "Larry Snyder" at Jun 9, 99 7:44 pm
>
> 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 <furio@spin.it> 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
>
>
next prev parent reply other threads:[~1999-06-10 11:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-09 21:08 fork: Cannot allocate memory furio ercolessi
1999-06-09 23:44 ` Larry Snyder
1999-06-10 10:59 ` furio ercolessi [this message]
1999-06-10 13:35 ` Stefan Boresch
1999-06-10 16:20 ` furio ercolessi
1999-06-14 21:13 ` furio ercolessi
1999-06-18 7:57 ` furio ercolessi
1999-06-18 9:30 ` mgraffam
1999-06-18 10:26 ` furio ercolessi
1999-06-21 18:54 ` Todd Fleisher
1999-06-18 12:38 ` Charles E Taylor IV
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox