Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Digital UNIX 4.0F / Lockups
@ 2001-08-29 19:29 David Rice
  2001-08-30  7:15 ` Jack Patteeuw
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David Rice @ 2001-08-29 19:29 UTC (permalink / raw)


We are running  Digital UNIX 4.0F on a AlphaServer DS20. Occasionaly
the machine locks up or stalls. Ususaly when this happens there is a
run away program that using most of the CPU. Users can still log in
but when they run programs they freeze. For example when this happens
I can login as root but can not do a simple "ps -ef". The ps will just
hang and I can not CTRL-C out if it. I have to log out and back in to
get back on the system.  Jobs will stack up in the system's run queue
and the load average gets higher and higher. 

I have checked available memory with "swapon -s". Last time there was 
40% total memory free. The CPU utilization was at 95%. When I kill the
offending run away program the system returns to normal.

Anyone have any ideas on what is happening? Any utilities that I can
use to figure out what is really going on. Obviously it has something
to do with the runaway program. There seems to be free CPU cycles,
memory and disk when this happens.


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

* Re: Digital UNIX 4.0F / Lockups
  2001-08-29 19:29 Digital UNIX 4.0F / Lockups David Rice
@ 2001-08-30  7:15 ` Jack Patteeuw
  2001-08-30  8:58 ` Knut Vietze
  2001-08-30 18:31 ` David Rice
  2 siblings, 0 replies; 4+ messages in thread
From: Jack Patteeuw @ 2001-08-30  7:15 UTC (permalink / raw)


I haven't actually tried this, but in theory, it should work.

In a secure room, connect an old VTxxx to the console port and log in as root.  Leave
it logged in permanently.

From another TTY, find that original process and renice to a big negative number.  In
theory when your runaway starts, that terminal will be at a higher priority (lower
nice value) and should be able to run ps.

I seem to recall some patches assoicated with something like this, which were
actually NFS related.  I'll try to find out more in the AM.

Jack Patteeuw

David Rice wrote:
> 
> We are running  Digital UNIX 4.0F on a AlphaServer DS20. Occasionaly
> the machine locks up or stalls. Ususaly when this happens there is a
> run away program that using most of the CPU. Users can still log in
> but when they run programs they freeze. For example when this happens
> I can login as root but can not do a simple "ps -ef". The ps will just
> hang and I can not CTRL-C out if it. I have to log out and back in to
> get back on the system.  Jobs will stack up in the system's run queue
> and the load average gets higher and higher.
> 
> I have checked available memory with "swapon -s". Last time there was
> 40% total memory free. The CPU utilization was at 95%. When I kill the
> offending run away program the system returns to normal.
> 
> Anyone have any ideas on what is happening? Any utilities that I can
> use to figure out what is really going on. Obviously it has something
> to do with the runaway program. There seems to be free CPU cycles,
> memory and disk when this happens.


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

* Re: Digital UNIX 4.0F / Lockups
  2001-08-29 19:29 Digital UNIX 4.0F / Lockups David Rice
  2001-08-30  7:15 ` Jack Patteeuw
@ 2001-08-30  8:58 ` Knut Vietze
  2001-08-30 18:31 ` David Rice
  2 siblings, 0 replies; 4+ messages in thread
From: Knut Vietze @ 2001-08-30  8:58 UTC (permalink / raw)


David Rice wrote:
> 
> I can login as root but can not do a simple "ps -ef". The ps will just
> hang and I can not CTRL-C out if it. I have to log out and back in to

I don't think it's a priority problem as suggested by JP. I'd rather think
the problem is I/O-related. "ps -ef" maps numerical UIDs to user names and
has to look them up in /etc/passwd (or worse, NIS).
Try "ps -el" for a long list or "ps axl" in BSD-syntax (the latter showing
a different CPU usage value but gives information on RSS).

HTH
-- 
</knut>
____________________
  No RISC - No Fun


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

* Re: Digital UNIX 4.0F / Lockups
  2001-08-29 19:29 Digital UNIX 4.0F / Lockups David Rice
  2001-08-30  7:15 ` Jack Patteeuw
  2001-08-30  8:58 ` Knut Vietze
@ 2001-08-30 18:31 ` David Rice
  2 siblings, 0 replies; 4+ messages in thread
From: David Rice @ 2001-08-30 18:31 UTC (permalink / raw)


More than just ps hangs. Other users programs hang too. It like the
server is running out of some resource. The server is not using NIS or
NFS. The disk activity is not high. The memory is not low. The only
thing that is mostly used up is CPU cycles. I still should be able to
login and run a simple ps -ef though. Jobs just pile up in the run
queue probably because the can not execute because some resource is
low. If I let it contiue the load average goes up and up. 


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

end of thread, other threads:[~2001-08-30 18:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-29 19:29 Digital UNIX 4.0F / Lockups David Rice
2001-08-30  7:15 ` Jack Patteeuw
2001-08-30  8:58 ` Knut Vietze
2001-08-30 18:31 ` David Rice

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