Sublime Forum

High cpu usage - 100%, Sublime 2.0.1 build 2217 Linux

#1

High, today I noticed absurdally hight usage of the cpu:

[code] Strace dump:

recvfrom(5, 0x2a390a4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
poll({fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=11, events=POLLIN}, {fd=15, events=POLLIN}, {fd=19, events=POLLIN}, {fd=14, events=POLLIN}, {fd=18, events=POLLIN}, {fd=16, events=POLLIN}, {fd=9, events=POLLIN}], 9, 0) = 1 ({fd=3, revents=POLLIN}])
read(3, "\2\0\0\0\0\0\0\0", 16)         = 8
recvfrom(5, 0x2a390a4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
poll({fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=11, events=POLLIN}, {fd=15, events=POLLIN}, {fd=19, events=POLLIN}, {fd=14, events=POLLIN}, {fd=18, events=POLLIN}, {fd=16, events=POLLIN}, {fd=9, events=POLLIN}], 9, 0) = 0 (Timeout)
read(3, 0x7fffe7a82150, 16)             = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(5, 0x2a390a4, 4096, 0, 0, 0)   = -1 EAGAIN (Resource temporarily unavailable)
 
Lsof on the process:
 
sublime_t 14346 bluszcz    2w   REG                8,1   620546  28180492 /home/bluszcz/.xsession-errors
sublime_t 14346 bluszcz    3u  0000                0,9        0      6797 anon_inode
sublime_t 14346 bluszcz    4u  0000                0,9        0      6797 anon_inode
sublime_t 14346 bluszcz    5u  unix 0xffff88021d152080      0t0  11967189 socket
sublime_t 14346 bluszcz    6u  unix 0xffff88001ceb5040      0t0  11967873 socket
 
Htop during the CPU peak:
 
  1  ||||||||||||||||||||||||100.0%]     Tasks: 214, 267 thr; 3 running
  2  ||||                     10.1%]     Load average: 18.14 15.63 9.05
  3  |                         2.0%]     Uptime: 15 days, 01:27:04
  4  ||                        4.0%]
  Mem|||||||||||||||    2932/7746MB]
  Swp                         0/0MB]
 
  PID USER      PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command
14999 bluszcz    20   0 2628M  165M  5960 R 100.  2.1 65h17:24 sublime_text
14346 bluszcz    20   0 2628M  165M  5960 S 100.  2.1 65h24:03 sublime_text

[/code]

Below link to the pastebin.

pastebin.com/MQgDMfJT

Cheers,

Rafal

0 Likes