Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* spinlock stuck in ***?
@ 2000-05-25  4:00 Jonas Juselius
  0 siblings, 0 replies; 3+ messages in thread
From: Jonas Juselius @ 2000-05-25  4:00 UTC (permalink / raw)


EHLO,

I have two dual processor Alpha EV67 667 MHz SMP machines (UP2000). The 
machines have RedHat 6.1 and kernel 2.2.15 installed. Both machines sometimes lock 
up for anyting between a few minutes and infinity, with complaints from the kernel on the
console (sometimes the messages don't even make it to the logs) that 'spinlock stuck in
someproc....'
The messages are generated in either shed.c, fault.c or vmscan.c. I tried to look at the
kernel sources, but I wasn't able to figure out what was going on. The same problems also
occure with pre 2.2.15 kernels. Anybody got a clue?

jonas

Here is a short sniplet from /var/log/messages:
kernel: sched.c:30 spinlock stuck in kswapd at fffffc0000321aa4(1) owner lucia.exe at fffffc0000321aa4(0) sched.c:30 
kernel: sched.c:30 spinlock grabbed in kswapd at fffffc0000321aa4(1) 1544 ticks kernel: sched.c:30 spinlock stuck in nfsd at fffffc0000321aa4(0) owner lucia.exe at fffffc0000321aa4(1) sched.c:30 
kernel: sched.c:30 spinlock stuck in nfsd at fffffc0000321aa4(0) owner lucia.exe at fffffc0000321aa4(1) sched.c:30 
kernel: sched.c:30 spinlock grabbed in nfsd at fffffc0000321aa4(0) 370428 ticks kernel: sched.c:30 spinlock stuck in in.identd at fffffc0000321aa4(0) owner lucia.exe at fffffc0000321aa4(1) sched.c:30 
kernel: sched.c:30 spinlock stuck in in.identd at fffffc0000321aa4(0) owner lucia.exe at fffffc0000321aa4(1) sched.c:30 
kernel: sched.c:30 spinlock grabbed in in.identd at fffffc0000321aa4(0) 1108770 ticks 





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

* Re: spinlock stuck in ***?
@ 2000-06-12  4:00 Eric Tittley
  2000-06-19  4:00 ` jon
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Tittley @ 2000-06-12  4:00 UTC (permalink / raw)


I can't help, but I can report that I get the same problem.
System: Alpha EV67 750 MHz SMP (UP2000)
RedHat 6.1
Kernel v 2.2.15 (compiled myself)

I'm running 2 processes on the same machine (both
called hydra128) and one process on a remote
machine that is connected via nfs that writes to a
local drive. 

The 2 processes on the machine generate 160Mb
files every 18 and 30 minutes, respectively. The
remote process generates a 76 Mb file every 47
minutes.

I changed the write freqency of the most
frequently writing process from 18 to 36 minutes,
but still got the messages and associated locks.

The processes were chugging along fine for a few days, and
then started generating numerous spinlock messages
which froze the machine to all other input.  These
freezes last minutes to tens of minutes. The
machine has yet to crash, but that may just be a
matter of time.

In article <8gj26v$4le$1@oravannahka.helsinki.fi>,
  Jonas Juselius <jonas@iki.fi> wrote:
> EHLO,
> 
> I have two dual processor Alpha EV67 667 MHz SMP machines (UP2000). The machines have RedHat 6.1 and kernel 2.2.15
> installed. Both machines sometimes lock up for anyting between a few minutes and infinity, with complaints from the
> kernel on the console (sometimes the messages don't even make it to the logs) that 'spinlock stuck in someproc....'
> The messages are generated in either shed.c, fault.c or vmscan.c. I tried to look at the kernel sources, but I
> wasn't able to figure out what was going on. The same problems also occure with pre 2.2.15 kernels. Anybody got a
> clue?
> jonas
> 
> Here is a short sniplet from /var/log/messages:
> kernel: sched.c:30 spinlock stuck in kswapd at fffffc0000321aa4(1) owner lucia.exe at fffffc0000321aa4(0) sched.c:30 
> kernel: sched.c:30 spinlock grabbed in kswapd at fffffc0000321aa4(1) 1544 ticks
> kernel: sched.c:30 spinlock stuck in nfsd at fffffc0000321aa4(0) owner lucia.exe at fffffc0000321aa4(1) sched.c:30 
> kernel: sched.c:30 spinlock stuck in nfsd at fffffc0000321aa4(0) owner lucia.exe at fffffc0000321aa4(1) sched.c:30 
> kernel: sched.c:30 spinlock grabbed in nfsd at fffffc0000321aa4(0) 370428 ticks
> kernel: sched.c:30 spinlock stuck in in.identd at fffffc0000321aa4(0) owner lucia.exe at fffffc0000321aa4(1) sched.c:30 
> kernel: sched.c:30 spinlock stuck in in.identd at fffffc0000321aa4(0) owner lucia.exe at fffffc0000321aa4(1) sched.c:30 
> kernel: sched.c:30 spinlock grabbed in in.identd at fffffc0000321aa4(0) 1108770 ticks 


-- 
Dr. Eric Tittley   Post Doctoral Research Associate
Joint Center for Astrophysics                  UMBC



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

* Re: spinlock stuck in ***?
  2000-06-12  4:00 Eric Tittley
@ 2000-06-19  4:00 ` jon
  0 siblings, 0 replies; 3+ messages in thread
From: jon @ 2000-06-19  4:00 UTC (permalink / raw)


I can report the same kind of problem.

I'm running 2 dual 21264 machines.  One NFSs its /usr/local and home dir off
the other.

I'm using a myrinet setup using ssh as the loginer for mpich code.  However,
this seems to be a problem since I get:

open.c:43 spinlock stuck in sshd at fffffc0000342ee0(0) owner xauth at
ffffc00003217a4(1) sched.c:30.

I actually got this IDENTICAL message repeatedly after the first required me
to reboot the machine.

If you guys report the *actual* message it would help.

In my case, this clearly is telling me that the sched.c code used by xauth,
called by sshd using open.c (or visa versa perhaps) is trying to open the
same file on both my machines.  If NFS fails to lock exactly right, then a
CPU will get confused by what's going on.

The solution for me was to call ssh -a -x instead...Thereby avoiding each
CPU making/locking a .Xauthority file, in the same NFSed home directory.

This is probably an NFS problem, but at the core the kernel is broken as it
shouldn't kill the system just becaues NFS lies.

This was a bitch of a problem because the lock is so hard.  If there are any
real kernel coders, we need your help!

Thanks,
Jonathan McKinney
University of Illinois
Dept. of Physics
"Eric Tittley" <etittley@jca.umbc.edu> wrote in message
news:3944F9B3.C0901BF3@jca.umbc.edu...
> I can't help, but I can report that I get the same problem.
> System: Alpha EV67 750 MHz SMP (UP2000)
> RedHat 6.1
> Kernel v 2.2.15 (compiled myself)
>
> I'm running 2 processes on the same machine (both
> called hydra128) and one process on a remote
> machine that is connected via nfs that writes to a
> local drive.
>
> The 2 processes on the machine generate 160Mb
> files every 18 and 30 minutes, respectively. The
> remote process generates a 76 Mb file every 47
> minutes.
>
> I changed the write freqency of the most
> frequently writing process from 18 to 36 minutes,
> but still got the messages and associated locks.
>
> The processes were chugging along fine for a few days, and
> then started generating numerous spinlock messages
> which froze the machine to all other input.  These
> freezes last minutes to tens of minutes. The
> machine has yet to crash, but that may just be a
> matter of time.
>
> In article <8gj26v$4le$1@oravannahka.helsinki.fi>,
>   Jonas Juselius <jonas@iki.fi> wrote:
> > EHLO,
> >
> > I have two dual processor Alpha EV67 667 MHz SMP machines (UP2000). The
machines have RedHat 6.1 and kernel 2.2.15
> > installed. Both machines sometimes lock up for anyting between a few
minutes and infinity, with complaints from the
> > kernel on the console (sometimes the messages don't even make it to the
logs) that 'spinlock stuck in someproc....'
> > The messages are generated in either shed.c, fault.c or vmscan.c. I
tried to look at the kernel sources, but I
> > wasn't able to figure out what was going on. The same problems also
occure with pre 2.2.15 kernels. Anybody got a
> > clue?
> > jonas
> >
> > Here is a short sniplet from /var/log/messages:
> > kernel: sched.c:30 spinlock stuck in kswapd at fffffc0000321aa4(1) owner
lucia.exe at fffffc0000321aa4(0) sched.c:30
> > kernel: sched.c:30 spinlock grabbed in kswapd at fffffc0000321aa4(1)
1544 ticks
> > kernel: sched.c:30 spinlock stuck in nfsd at fffffc0000321aa4(0) owner
lucia.exe at fffffc0000321aa4(1) sched.c:30
> > kernel: sched.c:30 spinlock stuck in nfsd at fffffc0000321aa4(0) owner
lucia.exe at fffffc0000321aa4(1) sched.c:30
> > kernel: sched.c:30 spinlock grabbed in nfsd at fffffc0000321aa4(0)
370428 ticks
> > kernel: sched.c:30 spinlock stuck in in.identd at fffffc0000321aa4(0)
owner lucia.exe at fffffc0000321aa4(1) sched.c:30
> > kernel: sched.c:30 spinlock stuck in in.identd at fffffc0000321aa4(0)
owner lucia.exe at fffffc0000321aa4(1) sched.c:30
> > kernel: sched.c:30 spinlock grabbed in in.identd at fffffc0000321aa4(0)
1108770 ticks
>
>
> --
> Dr. Eric Tittley   Post Doctoral Research Associate
> Joint Center for Astrophysics                  UMBC





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

end of thread, other threads:[~2000-06-19  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-25  4:00 spinlock stuck in ***? Jonas Juselius
  -- strict thread matches above, loose matches on Subject: below --
2000-06-12  4:00 Eric Tittley
2000-06-19  4:00 ` jon

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