Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/system/bin/netd starts consuming 100% CPU time infinitely #73

Open
GoogleCodeExporter opened this issue Jan 26, 2016 · 11 comments
Open

Comments

@GoogleCodeExporter
Copy link
Contributor

You will have to complete all fields in order to get the issue accepted.
Also please include logcat. We cannot investigate what we cannot reproduce.


Which device are you on? (Ace,Fit, Gio or Mini)
Ace

What steps will reproduce the problem?
1. Run CM10 (build date end of November) for some time, usually a couple of days
and use it normally.

What is the expected output? What do you see instead?
/system/bin/netd eats 100% of CPU time infinitely
Obviously it is not supposed to

What version of the product are you using? On what operating system?
cm-10-120112-UNOFFICIAL-cooper

Please provide any additional information below.

killing netd manually resolved the issue.

shell@android:/ $ top
 User 43%, System 56%, IOW 0%, IRQ 0%
 User 139 + Nice 0 + Sys 178 + Idle 0 + IOW 0 + IRQ 0 + SIRQ 0 = 317

 PID PR CPU% S #THR VSS RSS PCY UID Name
 126 0 93% S 8 10024K 956K root /system/bin/netd

Original issue reported on code.google.com by christia...@gmail.com on 3 Dec 2012 at 9:46

Attachments:

@GoogleCodeExporter
Copy link
Contributor Author

strace on netd consuming 100% CPU

Original comment by christia...@gmail.com on 3 Dec 2012 at 9:49

Attachments:

@GoogleCodeExporter
Copy link
Contributor Author

hi,

I have exactly the same issue on my Galaxy Axe. I also tried Wayland cm9.1, and 
Maclaw aosp, and  issue remains. I also saw in xda some other people who have 
the same issue, on CM10.1, on Mini or Gio.

Original comment by gregory....@gmail.com on 14 Jan 2013 at 11:29

@GoogleCodeExporter
Copy link
Contributor Author

I have exactly the same issue on my Gio. CyanogenMod10.1 (OS 4.2.2).

Original comment by incoming...@gmail.com on 18 Feb 2013 at 1:10

@GoogleCodeExporter
Copy link
Contributor Author

[deleted comment]

@GoogleCodeExporter
Copy link
Contributor Author

Exactly the same issue (Ace, CM 10.1-20130615-NIGHTLY-cooper)

Original comment by ri...@boogiepalace.hopto.org on 30 Jul 2013 at 9:11

@GoogleCodeExporter
Copy link
Contributor Author

I got exactly the same issues in 
CyanogenMod10.1,aokp,aosp,paranoid,pacrom........

Anyone know how to fix this issue  ????

Original comment by a...@camerocks.com on 23 Aug 2013 at 4:05

@GoogleCodeExporter
Copy link
Contributor Author

I think I found the cause of this issue. The problem is in the code parsing 
netlink messages, which is used by netd. It seems that netd gets stuck in 
infinite loop as soon as it receives buggy netlink message. I've created a 
patch to avoid that, however it needs more testing and possibly some refining. 

Original comment by Kazimier...@gmail.com on 21 Dec 2013 at 9:54

Attachments:

@GoogleCodeExporter
Copy link
Contributor Author

but how to apply the patch ?

Original comment by junnick....@gmail.com on 5 Jan 2014 at 1:26

@GoogleCodeExporter
Copy link
Contributor Author

Same problem on Galaxy Mini/Next with cm-10.1-20130402-NIGHTLY-tass from 
http://forum.xda-developers.com/showthread.php?t=2085347

Original comment by davide.cavestro on 7 Jan 2014 at 4:26

@GoogleCodeExporter
Copy link
Contributor Author

The patch should be applied on a CM9 source code before build a rom. Here is a 
compiled libsysutils.so for Galaxy Gio using the MMB CM9 source tree and above 
patch. Anyone brave enough may replace the original library with this one. Of 
course I'm not responsible for any bricked phone :)

Original comment by Kazimier...@gmail.com on 7 Jan 2014 at 7:08

Attachments:

@GoogleCodeExporter
Copy link
Contributor Author

Anyone can build a libsysutils.so for Galaxy ACE CM 10.1 ?

Original comment by wilson.c...@oppa.com.br on 8 Jan 2014 at 1:44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant