On Thu, 31 Aug 2000, Mike A. Harris wrote:
> On Fri, 1 Sep 2000, Yuzz wrote:
> 
> >Unable to load intepreter /lib/linux.so.2 ...
> >How to solve this problem??
> 
> Sounds to me like you've maxed out your process table.  The Linux
> process table can only hold 512 simultaneous processes.  If you
> fill that up, you'll see the above message likely during the next
> fork()/exec().  You may also see some daemon's die, etc..
> 
> It is also possible to see that message when running out of
> virtual memory I believe.
> 
> The solution for the first problem is to either not have that
> many processes running on your system either by limiting what is
> spawning that many processes, or by possibly reworking the code
> that is doing so so it isn't so process intensive.  Another
> solution is to increase the size of the process table by
> modifying the NR_TASKS define in the kernel source and
> recompiling.  Change it to 1024 or 2048 or so.  Do not go nuts
> with it though or you'll cause problems I believe.  I think
> somewhere around 4000 is the absolute max on x86..

Red Hat kernels patch (server-tuning.patch or similar in the
SRPM) NR_TASKS to 4090:
[pmatilai@chip linux]$ grep NR_TASKS tasks.h
#define NR_TASKS        4090    /* On x86 Max 4092, or 4090 w/APM
configured. */

so unless it's a custom built kernel chances are it's something else.

> 
> If it is the latter problem of OOM, then either add more memory,
> or add more swap space.

One other possibility is that you've run into the maximum open
files-limit which by default is 4096. The cure for that is very easy
though, just do
echo 8192 > /proc/sys/fs/file-max

There should be something about this in the logs ('maximum open files on
system reached' or so) if this is the reason for your problem. (Seen this
recently myself..)

        - Panu -

> 
> Hope this helps.
> 
> Good luck,
> TTYL
> 
> 
> --
> Mike A. Harris                                     Linux advocate     
> Computer Consultant                                  GNU advocate  
> Capslock Consulting                          Open Source advocate
> 
> Want to try a new high performance open source web server?  Try Caudium!
> http://caudium.org            http://caudium.sourceforge.net
> 
> 
> 
> _______________________________________________
> Redhat-devel-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-devel-list
> 

-- 
        - Panu -



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to