The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

CPanel restarts Apache?

Discussion in 'EasyApache' started by Vital, Oct 5, 2002.

  1. Vital

    Vital Active Member

    Joined:
    Nov 17, 2001
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    [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?
     
  2. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain
    http://forums.cpanel.net/read.php?TID=3402
    in particular:
    http://forums.cpanel.net/read.php?TID=3402&page=4#14911
    and
    http://forums.cpanel.net/read.php?TID=3402&page=8#20995
     
  3. Vital

    Vital Active Member

    Joined:
    Nov 17, 2001
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    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.
     
Loading...

Share This Page