Re: Session locks up and will not die - new revalations
Re: Session locks up and will not die - new revalations
- Subject: Re: Session locks up and will not die - new revalations
- From: Arturo PĂ©rez <email@hidden>
- Date: Thu, 20 Nov 2003 21:54:54 -0500
On Nov 20, 2003, at 7:30 PM, Denis Stanton wrote:
accepting server socket: java.net.SocketException: Too many open files
There are two unix conditions which can be interpreted as "Too many
open files."
I'm not sure how OS X distinguishes between them.
The first is that a process has consumed all the open file descriptors
that a
process is entitled to. Under OSX you can see this number if you type
limit
at the shell. You'll see
descriptors 256 (under Panther)
If this is the case then somewhere, either in WOland or your code,
you're opening
a file and forgetting to close it.
The other limit is a kernel limit. I think
sysctl -a
will show you those but I'm not sure which value it is. Perhaps
kern.maxfiles = 12288
Or it could be socket related limits in the kernel. If you're hitting
this
limit it could only because your machine is trying to do more than it
is capable
of. You could try tuning the number higher but that may just be
postponing the
inevitable.
Sounds like the hang you've been experiencing is from a thread looping
out of
control logging endlessly. Not a pretty picture :-)
-------
WebObjects in Philadelphia. You want a cheesesteak with that?
Visit http://webobjects.meetup.com
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.