From owner-freebsd-hackers Thu Jun 3 13:57:56 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from cs.rpi.edu (mumble.cs.rpi.edu [128.213.8.16]) by hub.freebsd.org (Postfix) with ESMTP id 1F4AB1555B for ; Thu, 3 Jun 1999 13:57:54 -0700 (PDT) (envelope-from crossd@cs.rpi.edu) Received: from cs.rpi.edu (crossd@o2.cs.rpi.edu [128.113.96.156]) by cs.rpi.edu (8.9.3/8.9.3) with ESMTP id QAA40503; Thu, 3 Jun 1999 16:57:52 -0400 (EDT) Message-Id: <199906032057.QAA40503@cs.rpi.edu> To: "David E. Cross" Cc: freebsd-hackers@FreeBSD.ORG, schimken@cs.rpi.edu, crossd@cs.rpi.edu Subject: Re: 3.2-stable, panic #12 (simplified) In-Reply-To: Message from "David E. Cross" of "Thu, 03 Jun 1999 14:03:35 EDT." <199906031803.OAA37531@cs.rpi.edu> Date: Thu, 03 Jun 1999 16:57:49 -0400 From: "David E. Cross" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I had the hunch that the problem I am dealing with related to the unlink portion of NFS... So I have simplified the code down to this tiny snipet which will reliably crash the system (I left it running by accident and it brought my test machine down 3 times before I remembered to kill it :). This is only 3 lines of code, and a for loop to iterate it. int main(int argc, char **argv) { int fd; int counter; char newfilename[1024]; strcpy(newfilename,argv[1]); strcat(newfilename,".old"); for(counter=0;counter<1000000;counter++) { fd=open(argv[1], O_CREAT, 600); close(fd); unlink(argv[1]); } return 0; } Again, this appears to need to be run from multiple machines at once to cause the problem (running from 2 dual-ultra 2s running solaris 2.6 in this case). I will attempt to reproduce it with FreeBSD clients later today. In the meantime I am getting down and dirty with the NFS kernel routines. PS: Please give Matt his privs back. You *really* don't want me sending patches to the NFS code ;) -- David Cross | email: crossd@cs.rpi.edu Systems Administrator/Research Programmer | Web: http://www.cs.rpi.edu/~crossd Rensselaer Polytechnic Institute, | Ph: 518.276.2860 Department of Computer Science | Fax: 518.276.4033 I speak only for myself. | WinNT:Linux::Linux:FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message