On Sun, 3 Sep 2000, John Summerfield 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..
>
>
>I got that message a few times; the folk on linux-kernel said, "It's obvious, 
>You've run out of memory."

They may have, however I have gotten an "Unable to load
interpreter" message several times as well, and all it means is
that _for_some_reason_ it was unable to load the interpreter.  I
_know_ that it wasn't due to OOM because I was not OOM, and I
have a dynamic swap daemon which makes sure of that.

In my case it was a full process table.

Try this:

while [ /bin/true ]; do (sleep 1;(sleep 900 &)); done

That should fork off a new process every second that sleeps for
900 seconds, in an infinite loop.  So when you start it, run top
on another console, and press "A" to sort by age.  You'll quickly
see new "sleep 900" processes adding to the process table one at
a time, one second apart.  After about 5-10 minutes, your process
table will fill, and you'll get "Unable to load interpreter"
messages.  If you don't want to wait 5-10 minutes, use the
following for the do loop instead:

(sleep 900 &) instead of (sleep 1;(sleep 900 &))

Make sure you do not have any important work running on the
machine before doing this as it is essentially just a fork
bomb.  Without the sleep 1 in there, the top display should fill
up quickly, and within seconds the process table will baunch.

Usually when the kernel OOM's, you will get kernel printk's to
your screen and syslog saying:

VM: Out Of Memory

or something similar..  I'm hunting through my logs trying to
find a specific example, but because I'm using swapd, OOM isn't a
concern anymore for me...

Nope.. couldn't find one..  I know I've got it buried somewhere
though..

Not sure what other errors would cause the dynamic linker to
fail, but I'm sure any specific resource constraint would result
in a similar message...

Just some thoughts and ideas..

TTYL


--
Mike A. Harris                                     Linux advocate     
Computer Consultant                                  GNU advocate  
Capslock Consulting                          Open Source advocate

Want to run Microsoft Windows software in Linux?  You can!  VMware allows 
you to install and run other operating systems inside a window in X windows.
You can install Windows 95/98/NT/2000, FreeBSD, Solaris, and many more.
3D Games do not work yet, but virtually all office and productivity software
runs excellent.           http://www.vmware.com



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

Reply via email to