killing processes

David A. Bandel david.bandel at gmail.com
Tue Dec 2 15:55:50 PST 2008


On Tue, Dec 2, 2008 at 9:41 AM, Machiel Richards
<MachielR at agilitytech.co.za> wrote:
> Hi all
>
>
>
>                 I hope someone can assist......
>
>
>
>                 We have a cron that runs regularly....however one of the
> child processes produced by the cron keeps on running even after the cron
> has completed...

I would say it's a zombie, however ...

>
>
>
>                 This uses up a lot of resources and we have not been able to
> kill it, not even by using kill -9.

zombies don't eat resources.  So this process is still doing something
and is unable to complete the process.

What is this process?  Sounds like it's either trapping signals or not
processing interrupts (which would definitely have it eating
resources).

>
>
>
>                 This is on a production system and we cannot afford to
> reboot the server.

Need more info.  What are the salient cron processes?  What does this
cron do?  Could a different process cause contention?  If this is a
rotation script, are you signalling the process writing to the
original file to close your file descriptors?


>
>
>
>
>
>                 Can anybody perhaps tell us how to kill these type of
> processes?

There are several things that could be causing this -- need more info
on what you're doing.

How about posting the process line showing the process that's "stuck".
 After that perhaps the cron itself (if it's not too long).

Any chance the cron could run a second time while the first is running?

>
>
>
>
>
> Regards
>
>
>
>
>
> *** Disclaimer ***
>
> The information contained in this e-mail is confidential and legally
> privileged and is intended solely for the addressee and to others who have
> the authority to receive it. Access to this e-mail by anyone else is
> unauthorized and as such, any disclosure, copying, distribution or any
> action taken or omitted in reliance on it is unlawful. If you have received
> this e-mail in error, please notify the sender immediately.
>
> The views expressed in this e-mail are the views of the individual sender
> and should in no way be construed as the views of the Company.
>
> The Company is not liable to ensure that outgoing e-mails are virus-free.
>
> The Company is not liable, should information or data, for whatever reason,
> be corrupted or fail to reach its intended addressee.
>
> The Company is not liable for any loss or damage of whatsoever nature and
> howsoever arising resulting from the opening or the use of the information
> in this e-mail, including its attachments and links.
>
> The sender of this e-mail is subject to and bound by the terms and
> conditions of Company's Electronic Communications Usage Policy.

Can you please remove these legally worthless disclaimers?  The
disclaimer is longer than your entire post.


Thanx,

David A. Bandel
-- 
Focus on the dream, not the competition.
            - Nemesis Air Racing Team motto



More information about the Linux-users mailing list