LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 12-04-2011, 11:41 PM   #16
newuser455
Member
 
Registered: May 2004
Location: Texas
Posts: 277

Original Poster
Rep: Reputation: 30

Ok so now that I did a killall on apache and started it, I'm seeing what type of system calls it typically makes when it is running normally. Now it's only showing new calls when I load a web page, etc so what I was seeing before was definitely whacky.

Before, it was making the following calls CONSTANTLY. When I say constantly, I mean it was moving so fast across the screen that I couldn't read it until I stopped strace. It was as if apache was stuck in a loop or something, which could very well be what was happening, I just need to know why. I looked into gettimeofday and apparently that's the call apache uses when doing things such as writing log files.

poll([{fd=33, events=POLLIN}], 1, 3000) = 1 ([{fd=33, revents=POLLHUP}])
read(33, "", 12828) = 0
gettimeofday({1323042821, 955730}, NULL) = 0
gettimeofday({1323042821, 955798}, NULL) = 0
gettimeofday({1323042821, 955867}, NULL) = 0
gettimeofday({1323042821, 955935}, NULL) = 0

Does anyone have any ideas? I am using logrotate so I'm thinking that could have something to do with this? I'm finding lots of info when I google "apache crash logrotate".

Last edited by newuser455; 12-04-2011 at 11:48 PM.
 
Old 12-05-2011, 12:25 AM   #17
newuser455
Member
 
Registered: May 2004
Location: Texas
Posts: 277

Original Poster
Rep: Reputation: 30
I think I might have fixed the issue by changing all the logrotate postscripts for apache logs from a full restart to a graceful restart. Only time will tell.
 
  


Reply

Tags
apache, httpd, process


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL 4 release 5 crashes randomly mehranalmasi Linux - Software 1 08-01-2008 01:11 PM
X server randomly crashes since update to Current intens Slackware 8 06-16-2007 06:18 AM
Linux randomly crashes / losing network mrspcs Linux - General 1 11-09-2005 12:37 PM
Kaffiene Crashes randomly Valhalla Linux - Software 3 12-05-2004 12:44 PM
redhat9 randomly crashes while installing packets st3llar Linux - Newbie 0 08-17-2003 09:05 PM


All times are GMT -5. The time now is 08:10 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration