[rabbitmq-discuss] 21673 never recovers from emfile
Matthew Sackman
matthew at lshift.net
Fri Jan 15 12:24:16 GMT 2010
Hi,
On Thu, Jan 14, 2010 at 04:06:50PM -0600, tsuraan wrote:
> I accidentally had a process create about a thousand connections to
> rabbit (branch bug21673, checkout from this morning or last night),
> and rabbit ran out of available file descriptors. I killed the rogue
> process, which freed all the descriptors (I have about a thousand
> lines of connection_closed_abruptly followed by the same number of
> lines of closing TCP connection in my rabbit.log), but rabbit now
> won't allow any new connections to be made to it. I think the tcp
> acceptor process must have died. Strace on a python process that's
> trying to make a rabbit connection ends with these lines:
Hmmm, interesting find. I don't think that this is related to the file
descriptor management that's going on in the new persister, but I'll
certainly test and see if I can reproduce.
Matthew
More information about the rabbitmq-discuss
mailing list