|
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.
|