From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 20335 invoked from network); 30 Nov 1998 15:47:48 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 30 Nov 1998 15:47:48 -0000 Received: from guerilla.foo.bar (hennen32s.iserlohn.netsurf.de [194.195.194.226]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id KAA00544 for ; Mon, 30 Nov 1998 10:45:38 -0500 Received: from localhost (localhost [127.0.0.1]) by guerilla.foo.bar (8.8.8/8.8.8) with ESMTP id QAA19448 for ; Mon, 30 Nov 1998 16:45:34 +0100 Date: Mon, 30 Nov 1998 16:45:33 +0100 (MET) From: Sascha Schumann X-Sender: sas@guerilla.foo.bar To: axp-list@redhat.com Subject: Re: Unable to load interpreter ??? In-Reply-To: <199811301533.QAA29884@beta.mdy.univie.ac.at> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 30 Nov 1998, Stefan Boresch wrote: > > > > I have seen this behaviour before. If you have sustained heavy paging, your > > system's virtual memory completely runs out and then is reclaimed back to > > sensible amounts, in continuous oscillations. You can watch this happen, > > although tools like vmstat and top don't last for more than a couple of > > hours under these extreme circumstances (I had a nice graph somewhere of vm > > cycles on what should have been a steady-state overnight test). Attempting > > to run a shell when vm is near exhaustion produces the 'unable to load > > interpreter' message. > > > > The kernel was the patched 2.0.35 (may have also happened on 2.1.122, can't > > remember). The machines - LX and UX boards (don't have anything else to > > test). > > > > Hm, wait -- I accept this explanation of what is going on (my problems > occur after heavy paging has been going on for a while...). However, > what can I do about it? Are there patches/bugfixes whatever out there > that fix this? I am positive that I am never using more memory than > the sum of RAM + swapspace (actually far from it). The memory > tester is run in such a manner as to consume just a bit more memory than > there is RAM (mainly to make sure that every bit of RAM is actually > stressed). Our real applications use much less memory than there is > RAM, but I guess because of the heavy disk I/O (virtual) memory gets > used a lot for buffers/caching etc. You wonder that it cannot load anything without having memory? > But if I understand this right, than I am looking at a memory management > bug, or not...? It's not a bug. People seem to think every point they don't understand is a MM bug. >From http://www.uwsg.indiana.edu/hypermail/linux/kernel/9805.0/0445.html > While under heavy load and with almost no free mem, my kernel spits > out some kernel: Unable to load interpreter I located that printk() in > fs/binfmt_elf.c at line 632, but couldn't find out WHY it would get > issued. Is it bad or just a warning, and what interpreter? Can someone > enlighten me? :) Dynamically linked ELF executables contain an "interpreter" field which typically names the dynamic loader (e.g. /lib/ld-linux.so.1 or /lib/ld-linux.so.2). This message means that your system has so little free memory it can't even load ld-linux.so, which makes it a bit difficult to run anything. :-) Regards, Sascha Schumann | Consultant | finger sas@schell.de | for PGP public key