CPanel restarts Apache?

Vital

Active Member
Nov 17, 2001
37
0
306
[Sat Oct 5 11:09:12 2002] [notice] SIGUSR1 received. Doing graceful restart

Every 10 minutes on ALL machines... It's not cron. What's doing this, and what for? And it's not an apache failure, just something makes it to restart. Any ideas?
 

Vital

Active Member
Nov 17, 2001
37
0
306
Thanks... Somehow i missed it. You can delete this thread, it's useless, but now ...

Nick, it seems like we have kinda big problem with SIGUSR1 restarts here... Two of our dedicated server customers use persistent mysql connections from perl cgi scripts, and here's what we have:

&filename.pl: DBD::mysql::st execute failed: Server shutdown in progress at a filename.pl line XX.&

Application is time-critical, i.e., you can't just reload the page, if it fails. Can i set this thing to restart apache once a day, for example, and if so - how? Also, all php chats with persistent connection and transparent sessions become broken this way... I don't think it was a good idea. But from your point of view, i don't see a way around too, as a system administrator, except of decreasing restart rate.