From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,1775b5c6f4b837d3 X-Google-Attributes: gid111c93,public From: "jon" Subject: Re: spinlock stuck in ***? Date: 2000/06/19 Message-ID: <41k35.102$Il3.1475@vixen.cso.uiuc.edu>#1/1 X-Deja-AN: 636276528 References: <3944F9B3.C0901BF3@jca.umbc.edu> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Complaints-To: abuse@uiuc.edu X-Proxy-Client: jcmcknny@uiuc.edu from c1059193-c.chmpgn1.il.home.com X-Trace: vixen.cso.uiuc.edu 961400000 128.174.5.27 (Mon, 19 Jun 2000 02:33:20 CDT) Organization: University of Illinois at Urbana-Champaign X-MSMail-Priority: Normal NNTP-Posting-Date: Mon, 19 Jun 2000 02:33:20 CDT Newsgroups: comp.os.linux.alpha 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" 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 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