LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 11-15-2012, 09:17 AM   #1
Maris-S
LQ Newbie
 
Registered: Feb 2010
Location: Latvia
Distribution: Slackware 14.0
Posts: 28

Rep: Reputation: 2
Collectd, zombie processes, email notifications.


Hello!

Using Slackware.
Web/FTP server.


I configured collectd with "processes" plugin, and now I see that there are some reports about zombie processes (screenshot).

I wanted to ask if I can catch this processes somehow (and if I need to do this), as when I'm using top utility I see zombies very rare and they are disappearing quickly. Is it normal to have some zombies for a short while?

And I also wanted to ask some advices for collectd e-mail notifications. So far I'm only sure about hdd free space notifications. I also wanted to make notifications about zombie processes, but collectd reports them quite often, so I think I will receive to much of e-mails... Another idea is to make notifications about cpu (user | system) load, let's say when it is more than 95% and for a longer time, let's say 1 - 2 minutes and more, or something like this.

I have never used monitoring software before, so do not have a lot of experience, and I'm not sure on which events would be better to make/send notifications. Any advice would be greatly appreciated.

Thanks!
Attached Images
File Type: png graph.php.png (45.5 KB, 13 views)
 
Old 11-15-2012, 09:28 AM   #2
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Slack14_64_Multilib
Posts: 2,715
Blog Entries: 3

Rep: Reputation: 626Reputation: 626Reputation: 626Reputation: 626Reputation: 626Reputation: 626
collectl is very nice for interactive stuff. (Playback mode) but as for alerts and notifications about CPU|Disk|Memory etc, I rely on zabbix.

Very configurable.
 
Old 11-19-2012, 07:48 AM   #3
Maris-S
LQ Newbie
 
Registered: Feb 2010
Location: Latvia
Distribution: Slackware 14.0
Posts: 28

Original Poster
Rep: Reputation: 2
Thanks Habitual for your answer. Yes, I know zabbix, though didn't test it yet. I wanted to use collectd as it states to be less demanding on system resources.

Maybe I was not clear enough in my first post, but I didn't ask about how and what (which software) to use for sending notifications by e-mail, it's more or less clear, it is doable with collectd too. I wanted to know if there is some Best Practices for specifying conditions when this notifications should be send. I understand that this should decide admin for his particular server, but so far I'm not sure what to do with Zombie Processes. As I said already, there are Zombie Processes reported in "Processes Graph" (screenshot in my first post), and I wanted to know if it's normal in general that once in a while Zombies are appearing? I think ideally they shouldn't be there, even if they are appearing just for a few seconds.

During this time I already found which software is making Zombies, it is webmin. Here is lines from ps utility with Zombie Process:

Code:
1 S     0  4070     1  0  80   0 - 16497 poll_s ?        00:00:00   miniserv.pl
1 Z     0 10276  4070  1  80   0 -     0 exit   ?        00:00:00     /usr/libexec/we <defunct>
and it disappears very quickly, the same repeats after a short while, and that happens all the time while webmin is running. I will write about this in webmin forum of course, but so far question is about Zombies itself, on what conditions would be better to make e-mail notifications? Before I found out that something (webmin) is making Zombies all the time, I was sure to make notifications on any Zombie Process right after it's being detected, but now I'm a bit confused...


Thanks in advance!

Last edited by Maris-S; 11-19-2012 at 07:49 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Zombie processes running? irin Linux - Newbie 1 04-11-2012 11:19 AM
zombie processes emong Linux - Newbie 2 06-21-2011 10:01 PM
Zombie processes Ynot Irucrem General 2 01-11-2007 12:23 AM
zombie processes mhr Linux - Newbie 1 06-19-2003 09:49 PM
How to get rid of zombie processes ugge Linux - General 3 10-01-2001 09:09 AM


All times are GMT -5. The time now is 08:02 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration