nullis.net

Lastest links

Latest comments

  • Utillanddal on Link object: сайт обо всём на свете <a href=http://lampara.ru>lampara.ru</a>
  • Utillanddal on Link object: сайт обо всём на свете <a href=http://lampara.ru>лампата</a>

On TV Today

Welcome to nullis.net

Latest Blog Post

Quick fix for twirssi and irssi defunct processes

I noticed just today, that I had a whole heap of defunct processes running on irssi. At first I wasn't sure the cause, but then I noticed twirssi did some fork()'ing in its script (so presumed it had to be it).

On looking, it seems that is the case, and from my calculations, occurs whenever there is a failed update from twirssi (maybe something else as well, I didn't research closely).

While I didn't find a fix for it, I did find an excerpt from a publicly hosted IRC log, which pointed once way to at least get rid of the defunct processes (without closing irssi, or restarting) It was a bit hard to come by, so I'm reposting how to fix it here, so you can run it; and hopefully find it a little bit more easily.

To get rid of all the processes, do this:

/script exec for ($i = 0; $i < N; $i++) { wait; }

Where N is the number of defunct processes you have.

The information comes from here. Thanks to exor674@OFTC for the tip!

Not currently logged in.   Login.   Register?