Gossamer Forum
Home : General : Internet Technologies :

Force a process being killed?

Quote Reply
Force a process being killed?
Hi. I'm trying to stop a process from running. Its as follows;

traveler 743 95.6 0.5 5144 2628 ? R 02:29 908:43 vim Links/User/Page.pm

As you can see, its almost using all the processing power.. so it needs to be stopped. I've tried;

kill 743

... but that doesn't seem to do anything (doing a `ps aux` still shows the process as being active).

Does anyone have any ideas on how I could stop this process?

TIA

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Force a process being killed? In reply to
Read up on 'man kill' and you'll find that you need:

kill -9 743

You sure you have the right permissions to kill this process?

If that process is under you, try 'bg' to move into the background process and exiting gracefully.

- wil
Quote Reply
Re: [Wil] Force a process being killed? In reply to
Ah.. thats the one! I knew it was possible, cos I had to do it a lot on my old RackShack server. I just couldn't find out how to do it :(

Using the -9 killed the process just fine :)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Force a process being killed? In reply to
I'm sure it did. But it's way ugly and shouldn't really be used. It forces the process to shut down without cleaning up after itself properly. Better find the cause of what's happening in the first place.

- wil
Quote Reply
Re: [Wil] Force a process being killed? In reply to
I think the problem was down to me using 'kill' to close an import process I was running. Nothing too major I don't think.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!