Jump to content


Photo

Recent changes causing enigma2 process cpu hog

enigma2 cpu vuuno

  • Please log in to reply
28 replies to this topic

#1 greatred

  • Senior Member
  • 268 posts

+2
Neutral

Posted 20 May 2015 - 14:18

Dear Devs,

 
I`m not sure if anybody noticed this, but on my vuuno the enigma2 process started to hog at ~50% usage all the time.
The behavior is not present in the image from 2015/05/17 10:38. The following releases are affected by this problem.
Any idea which of the commits could cause enigma2 process to use more resources ?


Re: Recent changes causing enigma2 process cpu hog #2 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 20 May 2015 - 17:53

It's totally normal that (any) enigma version uses over 50% cpu. It has always been that way.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Recent changes causing enigma2 process cpu hog #3 MiLo

  • PLi® Core member
  • 14,045 posts

+298
Excellent

Posted 20 May 2015 - 18:11

50% sounds suspiciously like a single thread spinning away.

Normal *CPU* usage of enigma2 is just a few percent, even when recording etc. Judging from the (lack of) responses here, it looks like you're alone in this though.
Real musicians never die - they just decompose

Re: Recent changes causing enigma2 process cpu hog #4 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 20 May 2015 - 18:26

here on et9500 'normal' was always 0-5% of CPU...
 
and with d743e974b95b18c303dfebc27d253f6b323f08d9 reverted everything's back to normal:

CPU:   1% usr   0% sys   0% nic  97% idle   0% io   0% irq   0% sirq
Load average: 0.02 0.17 0.58 2/84 4238
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
 2809  2805 root     S     109m  38%   1% /usr/bin/enigma2

True sarcasm doesn't need green font...

Re: Recent changes causing enigma2 process cpu hog #5 littlesat

  • PLi® Core member
  • 56,268 posts

+691
Excellent

Posted 20 May 2015 - 18:52

So should we "again" recert this stuff?

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Recent changes causing enigma2 process cpu hog #6 greatred

  • Senior Member
  • 268 posts

+2
Neutral

Posted 20 May 2015 - 19:54

It's totally normal that (any) enigma version uses over 50% cpu. It has always been that way.

 

Erik, are you sure 50% is normal ? Like I said I`m back to image from 17.05 and the extensive usage is gone. Enigma2 process CPU usage is between 0-5%

 

50% sounds suspiciously like a single thread spinning away.

Normal *CPU* usage of enigma2 is just a few percent, even when recording etc. Judging from the (lack of) responses here, it looks like you're alone in this though.

 

According to top, it was always one of the threads spending ~50% in user cpu time.

 

 

here on et9500 'normal' was always 0-5% of CPU...
 
and with d743e974b95b18c303dfebc27d253f6b323f08d9 reverted everything's back to normal:

CPU:   1% usr   0% sys   0% nic  97% idle   0% io   0% irq   0% sirq
Load average: 0.02 0.17 0.58 2/84 4238
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
 2809  2805 root     S     109m  38%   1% /usr/bin/enigma2

 

is ET9500 affected as-well ?



Re: Recent changes causing enigma2 process cpu hog #7 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 20 May 2015 - 20:03

it is,

here's how it looks with up-to-date enigma:

CPU:  18% usr  30% sys   0% nic  46% idle   0% io   0% irq   3% sirq
Load average: 0.60 0.20 0.24 2/86 17788
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
17644 17640 root     R     109m  38%  50% /usr/bin/enigma2
 
True sarcasm doesn't need green font...

Re: Recent changes causing enigma2 process cpu hog #8 Pr2

  • PLi® Contributor
  • 6,074 posts

+257
Excellent

Posted 20 May 2015 - 20:33

Hi,

 

On my ET9000 not updated, in info screen enigma2 date is: 2015-05-16

  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
11200 11189 root     S     184m  65%   1% /usr/bin/enigma2

On my ET9000 updated today, in info screen enigma2 date is: 2015-05-19

  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
  454   450 root     R     110m  39%  53% /usr/bin/enigma2

So indeed there is a problem.

 

Pr2


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Recent changes causing enigma2 process cpu hog #9 MiLo

  • PLi® Core member
  • 14,045 posts

+298
Excellent

Posted 21 May 2015 - 08:39

My guess would be that the socket gets triggered (e.g. incoming connection) but bails out halfway through handing that (e.g. did not reach "accept") which results in endlessly looping through the same routine.

Just adding a few eDebugs to the code will quicky reveal what it's doing.
Real musicians never die - they just decompose

Re: Recent changes causing enigma2 process cpu hog #10 ims

  • PLi® Core member
  • 13,624 posts

+212
Excellent

Posted 21 May 2015 - 10:22

I have all updated and on all boxes in standby 0-1%. I will try wakeup it...


Edited by ims, 21 May 2015 - 10:23.

Kdo nic nedělá, nic nezkazí!

Re: Recent changes causing enigma2 process cpu hog #11 ims

  • PLi® Core member
  • 13,624 posts

+212
Excellent

Posted 21 May 2015 - 10:28

wake-up boxes:

XP1000:  80-90%

F1: 48-50%

DM800SE: cca 55%


Kdo nic nedělá, nic nezkazí!

Re: Recent changes causing enigma2 process cpu hog #12 Jan Gruuthuse

  • Senior Member
  • 985 posts

+20
Neutral

Posted 21 May 2015 - 11:07

xp1000: éénHD 1920x1080i op 1920x1080i monitor kijken + oscam, telenet session running top.

 

CPU:  26% usr  56% sys   6% nic   0% idle   0% io   0% irq  10% sirq
Load average: 1.95 1.28 0.55 3/75 1149
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
  409   404 root     R    93864  40%  90% /usr/bin/enigma2

 

90% fluctueert van 87% naar 90%


Sf8HD, sf8008, OpenPli 9.0, fixed lnb 28.2E, 19.2E

Re: Recent changes causing enigma2 process cpu hog #13 MiLo

  • PLi® Core member
  • 14,045 posts

+298
Excellent

Posted 21 May 2015 - 13:07

blzr already pointed out that the problem is for all users, all machines.

Unless you've actually built your own E2 with extra debugging that points out what's happening, which is something that would really really help, there's no need to post any "me too" messages here.
Real musicians never die - they just decompose

Re: Recent changes causing enigma2 process cpu hog #14 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 21 May 2015 - 13:55

Strace wilk probably shed a lot of light on this issue.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Recent changes causing enigma2 process cpu hog #15 littlesat

  • PLi® Core member
  • 56,268 posts

+691
Excellent

Posted 21 May 2015 - 18:39

shouldn't we first re-revert the specific commit?


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Recent changes causing enigma2 process cpu hog #16 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 21 May 2015 - 19:05

Well if you like to update on a daily basis you know that your box might break.

That's why update my main box once a month or when I am sure that there are no major issues seen of forum.

Regarding the "re-revert" I suggest first to gather logs and identify the problem and why not maybe someome provide a patch that fixes the issue in order not to "re-re-revert" the commit :P

Edited by athoik, 21 May 2015 - 19:06.

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Recent changes causing enigma2 process cpu hog #17 littlesat

  • PLi® Core member
  • 56,268 posts

+691
Excellent

Posted 21 May 2015 - 20:01

Or do both... first revert and in between find the issue.. and once found re-commit it with the fix.


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Recent changes causing enigma2 process cpu hog #18 MiLo

  • PLi® Core member
  • 14,045 posts

+298
Excellent

Posted 22 May 2015 - 19:20

Think I found the issue now.
Real musicians never die - they just decompose

Re: Recent changes causing enigma2 process cpu hog #19 littlesat

  • PLi® Core member
  • 56,268 posts

+691
Excellent

Posted 22 May 2015 - 19:29

few! ;)

 

But I reverted the other stuff...


Edited by littlesat, 22 May 2015 - 19:30.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Recent changes causing enigma2 process cpu hog #20 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 22 May 2015 - 20:04

So the error could happen also before the getaddrinfo changes? Or enabling the getaddrinfo trigger that endless loop?
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users