zenoss/ZenPacks.chudler.xmppBot — Issue #2: xmppbot leaks connections, eventually reaches max-open-files
Author: alienth
Created: 2012-02-10 20:26:02+00:00
State: open

Running the latest head of the ZenPack.

After running for 5-6 hours, the daemon has over 1000 connections to zenhub. After hitting max-open-files, any new connections to zenhub fail, resulting in the following (odd) log message in xmppbot.log:

2012-02-10 12:40:39,038 ERROR ZEO.zrpc: (18972) CW: connect_ex(('localhost', 8100)) failed: [Errno -2] Name or service not known

After these errors start being thrown, xmppbot ceases to function until a restart.

I'm currently running the bot in the foreground so I can grab a stack trace when this happens again.