bugWeeChat - Bugs: bug #38916, weechat occupy 100% of the cpu...


bug #38916: weechat occupy 100% of the cpu doing nothing

Submitted by:  None
Submitted on:  Tue 07 May 2013 03:20:30 AM UTC  
Category:  script API plugins Severity:  3 - Normal
Item Group:  other Status:  Invalid
Privacy:  Public Assigned to:  Sebastien Helleu <flashcode>
Originator Name:  Francesco Berni Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  0.3.8
IRC nick:  kurojishi

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 08 May 2013 12:58:31 AM UTC, comment #3:

I had the same problem on Debian a year ago, it was caused by the leap second bug in the kernel. Strangely enough, only Ruby (and therefor the Weechat Ruby plugin) was affected.

sudo date -s "`date`";
fixed it. I hope this helps

WakiMiko <wakimiko>
Tue 07 May 2013 06:32:15 AM UTC, comment #2:

Results of our chat on #weechat: ruby plugin causes the high CPU usage (version 1.9.1 used).

Temporary workaround, not load ruby plugin:

Please try to recompile WeeChat yourself and check if you still have problem.

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Tue 07 May 2013 05:43:26 AM UTC, comment #1:


First, if you have 0.3.8, please first upgrade to 0.4.0 which is latest stable (if possible).

Please try to run WeeChat without plugins/scripts (weechat-curses -p) or without scripts (weechat-curses -s).

If you have always 100% CPU usage, please run gdb on WeeChat process to get a trace, so that I can see what WeeChat is doing.
Please look at user's guide for more info:

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Tue 07 May 2013 03:20:30 AM UTC, original submission:

i run weechat on a remote server trought tmux, on a debian squeeze amd64 server(still not updated to wheezy), that weechat use nearly 100% of the cpu(from 50 to 100%).

checking with strace i notice that it call a lot of gettimeofday, but i'm not sure this is the reason of this unusual high cpu usage.

i tried to use a clean configuration so it's not a the fault of a plugin or a problem with my config.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by wakimiko (Posted a comment)
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-10-06 flashcode Open/ClosedOpen => Closed
    2013-07-20 flashcode StatusNeed Info => Invalid
    2013-05-07 flashcode Categoryother => script API plugins
    2013-05-07 flashcode CategoryNone => other
        StatusNone => Need Info
        Assigned toNone => flashcode

    Back to the top

    Powered by Savane 3.3