Without even looking at the code, it sounds like you are leaking file descriptors. Are you closing everything that you open? Check how many FDs you have open by looking into /proc/$$/fd/
As a note on style, you are opening a database handle in one sub and closing it in another sub. I'd rather see the dbh closed in the calling sub instead of being passed into another sub and closed there.
In reply to Re: Failures in TCP/IP stack
by bunnyman
in thread Failures in TCP/IP stack
by hubb0r
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |