bootchart
bootchart copied to clipboard
issues with processes without parent pids
Micheal, pybootchargui reported this: Missing CONFIG_PROC_EVENTS: no parent for pid '1001' ('bootchartd') with ppid '0' Missing CONFIG_PROC_EVENTS: no parent for pid '1002' ('init') with ppid '0' Missing CONFIG_PROC_EVENTS: no parent for pid '2882001' ('redis-server') with ppid '0'
First the simple stuff:
- pid 1 and 2 should not be accounted
- the error message is misleading, i have CONFIG_PROC_EVENTS and it is working fine I can fix myself these issues but i'd like a second opinion :)
Then the very strange pid of redis-server. Any hint?
Some of the stuff you can find in the logs:
- pid 2882 is used two times, one by startpar the other by redis-server initd script, that's plausible but i think in cases like this we can reuse the parent pid of the first one and the name of the second?
Logs available here: http://people.freedesktop.org/~rm/bootchart-redis-pid/
Note to self, most of the changes discussed there have been applied and only "no parent for pid '2882001' ('redis-server') with ppid '0'" message will be shown with a recent bootchart2.