cryptodotis / irssi-otr

LibOTR functionality in Irssi.
GNU General Public License v2.0
183 stars 24 forks source link

File handle depletion during keygen causes irrsi-otr to be unresponsive #5

Closed okoeroo closed 11 years ago

okoeroo commented 13 years ago

On systems where the shell, screen or irssi itself has consumed all the available file handles the irssi-otr plugin has a problem reacting on this.

It's triggered by having the plugin loaded, have the file handles depleted after the loading is done and getting a query with an OTR session start that still needs a key to be generated.

The subprocess will try to generate the key, but can't complete it and seems stuck. Killing it is the only way out. I'm guessing that errno's are missed and not handled properly.

DrWhax commented 12 years ago

As far as I know this is a problem with ulimit which limits the file handles, ulimit can be upgraded by root but not by normal users, maybe this is resolved since #6.

DrWhax commented 11 years ago

Resolved in new upcoming build, closed!