RE: process file table full?

3 Apr
2001
3 Apr
'01
4:38 a.m.
Yesterday I asked for the posssible reasons of
Fail: resource exhausted Action: openFile Reason: process file table full connect-985988146.log
Writing that particular file wasn't the cause, but just a symptom.
It seems that I forgot to close filehandles obtained from Socket.accept. I somehow thought they were garbage collecteted, but apparently the weren't.
They should be garbage collected and closed automatically. But it may be some time between the handle becoming garbage and it finally being closed, so if you're accepting connections at a fast rate, it's always a good idea to close the handle explicitly when you finish with it. Cheers, Simon
8814
Age (days ago)
8814
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow