* Re: Unable to load interpreter ???
@ 1998-11-30 16:46 Greg Lindahl
0 siblings, 0 replies; 10+ messages in thread
From: Greg Lindahl @ 1998-11-30 16:46 UTC (permalink / raw)
To: axp-list
> It's not a bug. People seem to think every point they don't understand is
> a MM bug.
How come I can't quickly fork 160 perl processes on my alphas when I
can on my intels? Would you like an example program? I don't
understand this point ;-) ;-)
-- g
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: Unable to load interpreter ???
@ 1998-11-30 13:46 Stig Telfer
1998-11-30 15:33 ` Stefan Boresch
0 siblings, 1 reply; 10+ messages in thread
From: Stig Telfer @ 1998-11-30 13:46 UTC (permalink / raw)
To: 'axp-list@redhat.com'
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).
Regards,
Stig Telfer
Alpha Processor Inc.
> -----Original Message-----
> From: Matt Wagner [mailto:matt.c.wagner@uwrf.edu]
> Sent: Monday, November 30, 1998 6:13 AM
> To: axp-list@redhat.com
> Subject: Re: Unable to load interpreter ???
>
>
> we usually get that error on i386 machines when the machines have
> exhausted all their memory... :)
>
>
>
>
> On Mon, 30 Nov 1998, Stefan Boresch wrote:
>
> > Does anyone know what this message indicates (this is the full
> > printout from the syslog:
> >
> > Nov 30 11:09:44 gamma kernel: Unable to load interpreter
> >
> > I am suddenly getting these messages on two LX machines
> under medium to
> > high load. One of the machines just had some hardware trouble, so
> > I'd be willing to accept that there is still something
> going on there,
> > but the other machine was extremely stable and NOTHING was changed
> > hard- or softwarewise. As soon as one gets these messages, every
> > program one attempts to start segfaults; pretty soon one has to
> > hit the reboot button.
> >
> > These machines are running RH 5.1 with pretty much all
> patches applied,
> > milo is the RH 5.1 one, the kernel is 2.0.35 compiled from the
> > Redhat sources. (I am willing to compile a kernel from
> pristine sources,
> > but note that this kernel worked fine for the last months.)
> >
> > A simple test to reproduce my problem is the memory tester which
> > Dave Gilbert posted to this group a while ago, it runs fine (no bad
> > memory is reported, but after an hour these messages start
> to appear)
> >
> > I should add that both machines have Adaptec SCSI adapters (one an
> > 2940U, the other the 2940UW), and our real applications do a lot of
> > heavy duty disk I/O. I have had no problems with these; on
> the other
> > hand, several people seem to have had problems with 2.0.35 and the
> > Adaptec driver. So, I'd also appreciate if people would comment on
> > which combination (kernel, Adaptec driver version,
> alpha-patches runs
> > well for them).
> >
> > Many thanks,
> >
> > Stefan Boresch
> >
> > --
> > 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
> >
> >
>
>
> ----------------------------------
> the SYSTEM owns you
>
> SYSTEM, n.:
> 1: a regular union of principles or parts forming one entire thing.
> 2: the economic/capitalistic entity that exploits *your* life.
> 3: that strange attractor in your perception of the world that you
> have dubbed as, "they".
>
> wags@driver8.org http://www.driver8.org/
> http://www.mw.driver8.org/
>
> --
> 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
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Unable to load interpreter ???
1998-11-30 13:46 Stig Telfer
@ 1998-11-30 15:33 ` Stefan Boresch
1998-11-30 15:45 ` Sascha Schumann
0 siblings, 1 reply; 10+ messages in thread
From: Stefan Boresch @ 1998-11-30 15:33 UTC (permalink / raw)
To: axp-list
>
> 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.
But if I understand this right, than I am looking at a memory management
bug, or not...?
Thanks,
Stefan Boresch
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Unable to load interpreter ???
1998-11-30 15:33 ` Stefan Boresch
@ 1998-11-30 15:45 ` Sascha Schumann
1998-11-30 15:56 ` Sascha Schumann
1998-11-30 15:58 ` Stefan Boresch
0 siblings, 2 replies; 10+ messages in thread
From: Sascha Schumann @ 1998-11-30 15:45 UTC (permalink / raw)
To: axp-list
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
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: Unable to load interpreter ???
1998-11-30 15:45 ` Sascha Schumann
@ 1998-11-30 15:56 ` Sascha Schumann
1998-11-30 15:58 ` Stefan Boresch
1 sibling, 0 replies; 10+ messages in thread
From: Sascha Schumann @ 1998-11-30 15:56 UTC (permalink / raw)
To: axp-list
On Mon, 30 Nov 1998, Sascha Schumann wrote:
> You wonder that it cannot load anything without having memory?
Just to follow me up :)
Here is my favorite mm subsystem tester. Have fun and don't wonder about
`cannot load interpreter' messages. ;)
#define SIZE (2 << 20)
main() {
char m[SIZE + 1];
int i;
while(fork() != -1)
for(i = 0; i < SIZE; i++)
m[i] = m[i] + i & 0xff;
perror("fork");
}
Regards,
Sascha Schumann |
Consultant | finger sas@schell.de
| for PGP public key
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: Unable to load interpreter ???
1998-11-30 15:45 ` Sascha Schumann
1998-11-30 15:56 ` Sascha Schumann
@ 1998-11-30 15:58 ` Stefan Boresch
1998-11-30 16:06 ` Sascha Schumann
1 sibling, 1 reply; 10+ messages in thread
From: Stefan Boresch @ 1998-11-30 15:58 UTC (permalink / raw)
To: axp-list
> You wonder that it cannot load anything without having memory?
No, you misunderstand my question / complaint. The system ought
to have memory: E.g. I have
256MB RAM, > 300MB swapspace, so in an easy calculation, let's say
I have > 500MB of virtual memory.
I can trigger the 'Cannot load interpreter' error by running a little
program (as I pointed out, the one D. Gilbert posted here a while
ago) that accesses in an infinite loop appr. 260MB of memory. So,
knowing that the kernel needs some memory, it's clear that I will see
swapping, and I do. Top clearly shows that some swap space is used,
but I am way below 500 MB of virtual memory. Nevertheless, after
an hour or so, the 'Cannot load interpreter' error crops up. This is
what I don't understand...
>
> > 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.
I now understand the error message better (thanks!), but I also stand
by my original question (see info given above).
Stefan Boresch
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Unable to load interpreter ???
1998-11-30 15:58 ` Stefan Boresch
@ 1998-11-30 16:06 ` Sascha Schumann
1998-11-30 16:13 ` Dave Beck
0 siblings, 1 reply; 10+ messages in thread
From: Sascha Schumann @ 1998-11-30 16:06 UTC (permalink / raw)
To: Stefan Boresch; +Cc: axp-list
On Mon, 30 Nov 1998, Stefan Boresch wrote:
>
> > You wonder that it cannot load anything without having memory?
>
> No, you misunderstand my question / complaint. The system ought
> to have memory: E.g. I have
>
> 256MB RAM, > 300MB swapspace, so in an easy calculation, let's say
> I have > 500MB of virtual memory.
>
> I can trigger the 'Cannot load interpreter' error by running a little
> program (as I pointed out, the one D. Gilbert posted here a while
> ago) that accesses in an infinite loop appr. 260MB of memory. So,
> knowing that the kernel needs some memory, it's clear that I will see
> swapping, and I do. Top clearly shows that some swap space is used,
> but I am way below 500 MB of virtual memory. Nevertheless, after
> an hour or so, the 'Cannot load interpreter' error crops up. This is
> what I don't understand...
Ok, what does your /proc/sys/kernel/{file-max,inode-max} say?
Regards,
Sascha Schumann |
Consultant | finger sas@schell.de
| for PGP public key
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: Unable to load interpreter ???
1998-11-30 16:06 ` Sascha Schumann
@ 1998-11-30 16:13 ` Dave Beck
0 siblings, 0 replies; 10+ messages in thread
From: Dave Beck @ 1998-11-30 16:13 UTC (permalink / raw)
To: axp-list, Stefan Boresch
A somewhat related question:
"free" reports what for the swap?
I may get shot for saying this, but I don't think the swap space larger
than 128Mb is _truly_ working in some of the new kernels. It appears to
report is correctly, but I have notice that if my alpha hits that swap
point (only happened twice) stuff starts breaking and I get, among other
things "Cannot load interpreter" issues. This seems to be the case in:
2.1.129 and 2.0.36. No, I haven't run diffs or looked at CHANGELOGS to
see if that code was altered in the kernel source.
Quoting Sascha Schumann (sas@schell.de):
> On Mon, 30 Nov 1998, Stefan Boresch wrote:
>
> >
> > > You wonder that it cannot load anything without having memory?
> >
> > No, you misunderstand my question / complaint. The system ought
> > to have memory: E.g. I have
> >
> > 256MB RAM, > 300MB swapspace, so in an easy calculation, let's say
> > I have > 500MB of virtual memory.
> >
> > I can trigger the 'Cannot load interpreter' error by running a little
> > program (as I pointed out, the one D. Gilbert posted here a while
> > ago) that accesses in an infinite loop appr. 260MB of memory. So,
> > knowing that the kernel needs some memory, it's clear that I will see
> > swapping, and I do. Top clearly shows that some swap space is used,
> > but I am way below 500 MB of virtual memory. Nevertheless, after
> > an hour or so, the 'Cannot load interpreter' error crops up. This is
> > what I don't understand...
>
> Ok, what does your /proc/sys/kernel/{file-max,inode-max} say?
>
> Regards,
>
> Sascha Schumann |
> Consultant | finger sas@schell.de
> | for PGP public key
>
> --
> 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
--
Dave Beck
dave@arginine.umdnj.edu Sites of interest (set 4):
Computer Science and Biology http://www.santafe.edu/projects/swarm/
Drexel University, Philadelphia PA http://www.drexel.edu/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Unable to load interpreter ???
@ 1998-11-30 10:35 Stefan Boresch
1998-11-30 11:13 ` Matt Wagner
0 siblings, 1 reply; 10+ messages in thread
From: Stefan Boresch @ 1998-11-30 10:35 UTC (permalink / raw)
To: axp-list
Does anyone know what this message indicates (this is the full
printout from the syslog:
Nov 30 11:09:44 gamma kernel: Unable to load interpreter
I am suddenly getting these messages on two LX machines under medium to
high load. One of the machines just had some hardware trouble, so
I'd be willing to accept that there is still something going on there,
but the other machine was extremely stable and NOTHING was changed
hard- or softwarewise. As soon as one gets these messages, every
program one attempts to start segfaults; pretty soon one has to
hit the reboot button.
These machines are running RH 5.1 with pretty much all patches applied,
milo is the RH 5.1 one, the kernel is 2.0.35 compiled from the
Redhat sources. (I am willing to compile a kernel from pristine sources,
but note that this kernel worked fine for the last months.)
A simple test to reproduce my problem is the memory tester which
Dave Gilbert posted to this group a while ago, it runs fine (no bad
memory is reported, but after an hour these messages start to appear)
I should add that both machines have Adaptec SCSI adapters (one an
2940U, the other the 2940UW), and our real applications do a lot of
heavy duty disk I/O. I have had no problems with these; on the other
hand, several people seem to have had problems with 2.0.35 and the
Adaptec driver. So, I'd also appreciate if people would comment on
which combination (kernel, Adaptec driver version, alpha-patches runs
well for them).
Many thanks,
Stefan Boresch
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Unable to load interpreter ???
1998-11-30 10:35 Stefan Boresch
@ 1998-11-30 11:13 ` Matt Wagner
0 siblings, 0 replies; 10+ messages in thread
From: Matt Wagner @ 1998-11-30 11:13 UTC (permalink / raw)
To: axp-list
we usually get that error on i386 machines when the machines have
exhausted all their memory... :)
On Mon, 30 Nov 1998, Stefan Boresch wrote:
> Does anyone know what this message indicates (this is the full
> printout from the syslog:
>
> Nov 30 11:09:44 gamma kernel: Unable to load interpreter
>
> I am suddenly getting these messages on two LX machines under medium to
> high load. One of the machines just had some hardware trouble, so
> I'd be willing to accept that there is still something going on there,
> but the other machine was extremely stable and NOTHING was changed
> hard- or softwarewise. As soon as one gets these messages, every
> program one attempts to start segfaults; pretty soon one has to
> hit the reboot button.
>
> These machines are running RH 5.1 with pretty much all patches applied,
> milo is the RH 5.1 one, the kernel is 2.0.35 compiled from the
> Redhat sources. (I am willing to compile a kernel from pristine sources,
> but note that this kernel worked fine for the last months.)
>
> A simple test to reproduce my problem is the memory tester which
> Dave Gilbert posted to this group a while ago, it runs fine (no bad
> memory is reported, but after an hour these messages start to appear)
>
> I should add that both machines have Adaptec SCSI adapters (one an
> 2940U, the other the 2940UW), and our real applications do a lot of
> heavy duty disk I/O. I have had no problems with these; on the other
> hand, several people seem to have had problems with 2.0.35 and the
> Adaptec driver. So, I'd also appreciate if people would comment on
> which combination (kernel, Adaptec driver version, alpha-patches runs
> well for them).
>
> Many thanks,
>
> Stefan Boresch
>
> --
> 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
>
>
----------------------------------
the SYSTEM owns you
SYSTEM, n.:
1: a regular union of principles or parts forming one entire thing.
2: the economic/capitalistic entity that exploits *your* life.
3: that strange attractor in your perception of the world that you
have dubbed as, "they".
wags@driver8.org http://www.driver8.org/
http://www.mw.driver8.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~1998-11-30 16:49 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-30 16:46 Unable to load interpreter ??? Greg Lindahl
-- strict thread matches above, loose matches on Subject: below --
1998-11-30 13:46 Stig Telfer
1998-11-30 15:33 ` Stefan Boresch
1998-11-30 15:45 ` Sascha Schumann
1998-11-30 15:56 ` Sascha Schumann
1998-11-30 15:58 ` Stefan Boresch
1998-11-30 16:06 ` Sascha Schumann
1998-11-30 16:13 ` Dave Beck
1998-11-30 10:35 Stefan Boresch
1998-11-30 11:13 ` Matt Wagner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox