Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: larrys@lexis-nexis.com (Larry Snyder)
To: axp-list@redhat.com
Subject: Re: fork: Cannot allocate memory
Date: Wed, 9 Jun 1999 19:44:47 -0400 (EDT)	[thread overview]
Message-ID: <199906092344.TAA02585@ra.lexis-nexis.com> (raw)
In-Reply-To: <199906092108.XAA26327@noc.spin.it>

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 <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


  reply	other threads:[~1999-06-10  0:34 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 [this message]
1999-06-10 10:59   ` furio ercolessi
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