From mboxrd@z Thu Jan 1 00:00:00 1970 From: presotto@plan9.bell-labs.com To: bawei@yahoo.com, 9fans@cse.psu.edu Subject: Re: [9fans] Help! MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20010402131703.543F319A06@mail.cse.psu.edu> Date: Mon, 2 Apr 2001 09:16:59 -0400 Topicbox-Message-UUID: 786e08bc-eac9-11e9-9e20-41e7f4b1d025 8.out 1497: warning: process exceeds 100 file descriptors That's just a warning. It's almost always a mistake to have this many open. You can take the warning out of the kernel or push it to complain at a higher number if you want. 8.out 1497: suicide: sys: trap: fault read addr=0x0 pc=0x00000000 I can't say with certainty. Did you happen to change and recompile/relink the program while you were running it? This isn't Unix, i.e., the file server doesn't keep the old version of the file around for anyone that might have it open. It looks like a return through a zeroed stack which is almost always a binary that's been rewritten or an array boundary violation on a stack variable. One of the debuggers (acid or db) will help with the latter case though you may have to manually dump the stack. /net/tcp/511 And cannot connect. What's wrong? We have a fixed maximum number of tcp connections. You can increase the number by recompiling the kernel. In /sys/src/9/ip/tcp.c look at the last routine, tcpinit, and change Nchans to something bigger. Or if you want to have more possible connections for all protocols, change the definition of Nchans in /sys/src/9/ip/ip.h. Changing the number eats up little memory if you never use the connections.