LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 04-24-2015, 05:56 AM   #1
socalheel
Member
 
Registered: Oct 2012
Location: Raleigh, NC
Distribution: CentOS / RHEL
Posts: 158

Rep: Reputation: 3
bad apache process ... tips on troubleshooting


we have a shared web server and occasionally our nagios monitor will alert a "bad apache process." not at any regular interval or time, all completely random times. there is not pattern to when it happens.

i check the ps output for apache and i see it's running "crond"

before i can really devote time to how and why, the process stops, it's usually 5-10 minutes in duration.

are there any tips to troubleshooting this?
 
Old 04-24-2015, 06:13 AM   #2
swampthing001
Member
 
Registered: May 2005
Distribution: LFS, CentOS, Slack, Ubuntu
Posts: 112

Rep: Reputation: 8
This looked helpful http://serverfault.com/questions/197...ses-after-post
 
1 members found this post helpful.
Old 04-24-2015, 06:23 AM   #3
socalheel
Member
 
Registered: Oct 2012
Location: Raleigh, NC
Distribution: CentOS / RHEL
Posts: 158

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by swampthing001 View Post
thank you, that has some good ideas and i'll definitely be able to strace the pid when it's running to get more info.

i guess what i should have asked was are there good ways to troubleshoot it when it's not actively running? for example, this morning at 4 it ran for 6 minutes and before i could fire up my computer to login and check it out, it was over.

is there a way i can capture this activity so i can review it in a history format?

i checked our apache logs, looking at the timestamp this started, as well as a minute before it started, but couldn't find anything out of the ordinary that would fire off apache and this crond command.
 
Old 04-24-2015, 10:16 AM   #4
swampthing001
Member
 
Registered: May 2005
Distribution: LFS, CentOS, Slack, Ubuntu
Posts: 112

Rep: Reputation: 8
I use apache at work but I'm not an expert at troubleshooting. I did however find too really good posts that might help.

http://serverfault.com/questions/415...oads-of-memory

https://www.linode.com/docs/troubles...-apache-issues

It sounds like an outside connection is causing the problem. I would make my logs verbose and turn on debugging. You could also get a pcap of the network and analyze the connections to and from the server.
 
1 members found this post helpful.
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Troubleshooting in the Command Line: Tips for Linux Beginners LXer Syndicated Linux News 0 12-14-2013 03:01 PM
LXer: Glusterfs : Advanced Troubleshooting Tips & Tricks Part-2 LXer Syndicated Linux News 0 08-19-2013 06:12 PM
need some troubleshooting tips Xorcist256 Linux - General 3 01-15-2011 09:24 PM
internet troubleshooting tips fobius Slackware 5 03-29-2004 01:27 AM
Troubleshooting tips (and a useful hardware kludge) for CD audio problems Jane Delawney LinuxQuestions.org Member Success Stories 3 03-31-2003 06:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:28 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration