stopping 'yes' process completely.

Am having issues rebooting my linux server (ubuntu) because of a process 'yes'. After digging around i found out its used to output a string continually. It uses up all the available cpu so it becomes painfully slow. Anyone who knows how to stop it completely?

On Wed, Apr 21, 2010 at 9:53 AM, Job Muriuki <muriukin@gmail.com> wrote:
Am having issues rebooting my linux server (ubuntu) because of a process 'yes'. After digging around i found out its used to output a string continually. It uses up all the available cpu so it becomes painfully slow. Anyone who knows how to stop it completely?
Use ps ax to find the PID and kill -9 it. Or does this happen every time you reboot? BR, S -- Sent from my socks®

Thats how i kill it but it happens on any reboot sometimes even apache stops responding completely.

Have you tried top -c -n 1 | grep yes to see what the path of the process is? Maybe you can delete it from there... You could also put the kill command under /etc/init.d/rc.local on bootup if that doesn't help... On Wed, Apr 21, 2010 at 09:59, Job Muriuki <muriukin@gmail.com> wrote:
Thats how i kill it but it happens on any reboot sometimes even apache stops responding completely.
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke

On Wed, Apr 21, 2010 at 9:59 AM, Job Muriuki <muriukin@gmail.com> wrote:
Thats how i kill it but it happens on any reboot sometimes even apache stops responding completely.
Does this happen when system is shutting down or booting up? BR, S -- Sent from my socks®

When its shutting down. On 21/04/2010, Steve Muchai <smuchai@gmail.com> wrote:
On Wed, Apr 21, 2010 at 9:59 AM, Job Muriuki <muriukin@gmail.com> wrote:
Thats how i kill it but it happens on any reboot sometimes even apache stops responding completely.
Does this happen when system is shutting down or booting up?
BR, S
-- Sent from my socks® _______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
-- Sent from my mobile device Regards, Job Njogu Muriuki, Phone: (+254) - 772333075 | 736333075 Skype: heviejob | Yahoo: heviejob Address: 42665 00100 Nrb

For a moment there I thot it was the 'yes' and 'no' constitution campaign - judging from the topic [?]

You can edit /etc/init.d/halt...look for the do_stop function and enter your kill command as the first line under the function. Not recommended as it might get wiped out when you do an update but that's the only solution I could get for running stuff before shutdown...jaribu and let me know. @stephen, I also thought that the first time I saw the title...lol On Wed, Apr 21, 2010 at 11:26, ndungu stephen <ndungustephen@gmail.com>wrote:
For a moment there I thot it was the 'yes' and 'no' constitution campaign - judging from the topic [?]
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke

I finally managed to stop that process for good. I knew waht was wrong but i learnt some tricks. @ Haggai Do u give lessons on this things?

@Job: No I don't tutor but it's stuff I've come across in several years of fiddling with linux since high school :) Glad I could be of help. On Wed, Apr 21, 2010 at 18:17, Job Muriuki <muriukin@gmail.com> wrote:
I finally managed to stop that process for good. I knew waht was wrong but i learnt some tricks. @ Haggai Do u give lessons on this things?
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
participants (4)
-
Haggai Nyang
-
Job Muriuki
-
ndungu stephen
-
Steve Muchai