quoting from: https://github.com/inspircd/inspircd/issues/34

"I noticed that my inspircd would run at 100% CPU usage after being
restarted. Well actually this only started after I logged out. A quick
strace shows that inspircd calls poll in a loop and the result is always
fd=0. lsof then shows that fd=0 is connected to the terminal I used to
restart inspircd. ************ When I logged out, it was closed and poll
would always return that fd. *********** The problem is worse though.
This can be used to escalate privileges (from irc to root) when combined
with an arbitrary code execution flaw (such as the one fixed in
DSA-2448-1)."

Based upon: ... "when I logged out, it was closed and poll would always
return that fd..."

POTENTIAL WORKAROUND:

I ssh'd into server as normal user:

screen
sudo /etc/init.d/inspircd restart
(enter passwd)
(ctrl-a, ctrl-d to detach)
exit

Upon logging back in, CPU usage is normal.   This is obviously less than
ideal... (but may be of some help for anyone running internal irc
servers)

Actual long term fix still needed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1003196

Title:
  inspircd consumes all cpu

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/inspircd/+bug/1003196/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to