Recently I updated to the last SUSE development kernel available vmlinuz-2.6.16.13-026test012-2-smp (I need 2.6.16 for some drivers) from vmlinuz-2.6.16-026test007-15-smp and I noticed huge increase in cpu consumption, after investigating I found that one of the cpus are used by "init" # ps aux | grep init root 1 0.0 0.0 740 284 ? S 01:07 0:01 init [3] root 6798 0.0 0.0 25732 1360 ? Ss 01:07 0:00 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid root 8700 0.0 0.0 744 280 ? Ss 01:07 0:00 init root 8767 0.0 0.0 744 284 ? Ss 01:07 0:00 init root 9214 0.0 0.0 744 284 ? Ss 01:07 0:00 init root 14484 0.0 0.0 740 284 ? Ss 01:13 0:00 init root 15272 99.6 0.0 744 276 ? Rs 01:13 19:21 init root 17372 0.0 0.0 2920 696 pts/0 R+ 01:33 0:00 grep init here's the loop what systrace shows on it write(0, "\nEnter runlevel: ", 17) = 17 read(0, "", 8) = 0 write(0, "\nEnter runlevel: ", 17) = 17 read(0, "", 8) = 0 write(0, "\nEnter runlevel: ", 17) = 17 read(0, "", 8) = 0 write(0, "\nEnter runlevel: ", 17) = 17 read(0, "", 8) = 0 write(0, "\nEnter runlevel: ", 17) = 17 read(0, "", 8) = 0 write(0, "\nEnter runlevel: ", 17) = 17 read(0, "", 8) = 0 write(0, "\nEnter runlevel: ", 17) = 17 read(0, "", 8) = 0 write(0, "\nEnter runlevel: ", 17) = 17 read(0, "", 8) = 0 write(0, "\nEnter runlevel: ", 17) = 17 Is this openvz or my configuration issue?
1. we updated SUSE kernel http://openvz.org/download/kernel/suse10/ 2. it is unlikely kernel problem. but who knows. try to find what file descriptor 0 is. for doing so try: host# ls -la /proc/<init-pid>/fd