Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* RE: Unable to load interpreter ???
@ 1998-11-30 13:46 Stig Telfer
  1998-11-30 15:33 ` Stefan Boresch
  0 siblings, 1 reply; 13+ 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] 13+ messages in thread
* Re: Unable to load interpreter // VM thrashing or hardware ???
@ 1998-12-01 18:12 Greg Lindahl
  1998-12-01 18:38 ` Bob McElrath
  0 siblings, 1 reply; 13+ messages in thread
From: Greg Lindahl @ 1998-12-01 18:12 UTC (permalink / raw)
  To: axp-list

> > (3) The old panacea of setenv MEMORY_SIZE 252 doesn't help either
> 
> What does this have to do with problems of a 256MB malloc?

It was a workaround for a MILO bug on machines with 128 or 256 megs of
ram. The symptom was a freeze. Clearly not relevant here.

> Watching with top, I can see that during your "Testing..." phase the swap
> increases dramatically.  On my machine it goes up to ~300MB.  During
> "Filling..." it drops to ~128MB.  I have about 50MB of other apps running at
> the same time.  I don't know why it would use 300MB of swap, but if you only
> have 2x136M, this is clearly where your problem lies.  (I have 512MB swap --
> most people recommend to have twice as much swap as you have RAM).

Don't be confused by this. Your machine may also be reading files and
whatnot, which means that your swap usage is higher than his. His
total available VM is 256+256; yours is 256+512. The correct
diagnostic is make sure that swap is not full, and then to look at the
free pages.

> I have an LX 533MHz, 256MB RAM, 512MB swap space, BusLogic BT-958
> (UltraWide, with IBM Ultrastar disk), RH 5.1 install, but kernel 2.1.129.

Note just 1 swap partition. I wonder if the UX had just one. The
machines that fail have 2. Also note adaptec. In the 2.0.35 kernel,
which the failing system has, the adaptec driver is fubar, definitely
fubar for multiple disks.

-- g


^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: Unable to load interpreter // VM thrashing or hardware ???
@ 1998-12-01 18:48 Greg Lindahl
  0 siblings, 0 replies; 13+ messages in thread
From: Greg Lindahl @ 1998-12-01 18:48 UTC (permalink / raw)
  To: axp-list

> It's undoubtedly reading files...  I don't know where to look to find free
> pages but /proc/sys/vm/freepages gives:

There's more than one way to look:

[lindahl@spica lindahl]$ vmstat 2
 procs                  memory    swap        io    system         cpu
 r b w  swpd  free  buff cache  si  so   bi   bo   in   cs  us  sy  id
 0 0 0  1004  8764 19248 197448   0   0    1    0    0   14   0   0 23
 0 0 0  1004  8664 19248 197448   0   0    0    0  142   86   0   2 98
 0 0 0  1004  8664 19248 197448   0   0    0   16  148   73   0   1 99

"free" in this context is the free pages of ram.

> In top, the "free" swap field is always exactly 512M - "used".

You want the free Mem field, not free swap.

The guy with the problem is apparently seeing the free Mem fall to 0
while there is still free swap left.

-- g


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~1998-12-02  9:52 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-30 13:46 Unable to load interpreter ??? 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-12-01 17:26           ` Unable to load interpreter // VM thrashing or hardware ??? Stefan Boresch
1998-12-01 17:56             ` Bob McElrath
1998-12-02  9:49               ` Stefan Boresch
  -- strict thread matches above, loose matches on Subject: below --
1998-12-01 18:12 Greg Lindahl
1998-12-01 18:38 ` Bob McElrath
1998-12-01 18:48 Greg Lindahl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox