Find the answer to your Linux question:
Results 1 to 2 of 2
Hello friends! I've a ubuntu server with virtualmin and webmin, and an email server configured on it. It has postfix and fetchmail, among other stuff. I've this issue... sometimes the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2010
    Posts
    1

    Email Alerts


    Hello friends!
    I've a ubuntu server with virtualmin and webmin, and an email server configured on it. It has postfix and fetchmail, among other stuff.

    I've this issue... sometimes the fetchmail process hangs, and one mailbox does not download emails for a long time, until i log in and see the fetchmail process hanged. My question is.... is there any way to "schedule" a review of fetchmail processes and send an email when one of them hangs for over 2-3 hours?

    Thanks a lot!
    Matias.

  2. #2
    Just Joined!
    Join Date
    Oct 2010
    Posts
    14
    linuxquestions.org/questions/linux-server-73/how-to-check-process-hung-or-not-637809/ - How to check Process hung or not???

    Check if the process is hung or not

    --------------------------------------------------------------------------------
    You can run "strace -p <process_ID>" command to check if the process is hung or not. If it is running it would issue system calls and based on what system call you can also determine if it is waiting for some IO or trying to read/write a file or waiting for some other child process.

    I know its late response, but just wanted to share this info for someone else searching for similar requirement.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •