Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-04-2011, 10:41 PM   #16
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 10:48 PM.
Old 12-04-2011, 11:25 PM   #17
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.


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 12:11 PM
X server randomly crashes since update to Current intens Slackware 8 06-16-2007 05:18 AM
Linux randomly crashes / losing network mrspcs Linux - General 1 11-09-2005 11:37 AM
Kaffiene Crashes randomly Valhalla Linux - Software 3 12-05-2004 11:44 AM
redhat9 randomly crashes while installing packets st3llar Linux - Newbie 0 08-17-2003 08:05 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:22 PM.

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