1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Plesk 10.2, Apache crashed

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by nevakee, Apr 11, 2011.

  1. nevakee

    nevakee Basic Pleskian

    19
    60%
    Joined:
    Dec 12, 2010
    Messages:
    61
    Likes Received:
    0
    hi,

    Apache restart interval = 0 sec : no problem
    Apache restart interval = 900 sec : apache crashed after the next restart

    syslog
    Code:
    Apr 11 09:07:20 uschi websrvmng[17375]: Graceful httpd stop failed.
    Apr 11 09:07:20 uschi websrvmng[17375]: send_signal_field(): successfully killed 16519
    Apr 11 09:07:20 uschi websrvmng[17375]: send_signal_field(): successfully killed 16520
    Apr 11 09:07:20 uschi websrvmng[17375]: send_signal_field(): successfully killed 18359
    Apr 11 09:07:20 uschi websrvmng[17375]: send_signal_field(): successfully killed 18362
    Apr 11 09:07:20 uschi websrvmng[17375]: send_signal_field(): successfully killed 18415
    Apr 11 09:07:20 uschi websrvmng[17375]: send_signal_field(): successfully killed 18924
    Apr 11 09:07:20 uschi websrvmng[17375]: send_signal_field(): successfully killed 18930
    Apr 11 09:07:20 uschi websrvmng[17375]: send_signal_field(): successfully killed 18931
    Apr 11 09:07:20 uschi websrvmng[17375]: send_signal_field(): successfully killed 18976
    Apr 11 09:07:20 uschi websrvmng[17375]: send_signal_field(): successfully killed 18977
    Apr 11 09:07:20 uschi websrvmng[17375]: send_signal_field(): successfully killed 18978
    Apr 11 09:07:20 uschi websrvmng[17375]: send_signal_field(): successfully killed 18982
    Apr 11 09:07:20 uschi websrvmng[17375]: 12 /usr/sbin/apache2 processes are killed
    apache2/error.log
    Code:
    [Mon Apr 11 09:07:21 2011] [warn] pid file /var/run/apache2.pid overwritten -- Unclean shutdown of previous Apache run?
    [Mon Apr 11 09:07:21 2011] [emerg] (9)Bad file descriptor: Couldn't add listener to pollset; check system or user limits
    [Mon Apr 11 09:07:21 2011] [emerg] (9)Bad file descriptor: Couldn't add listener to pollset; check system or user limits
    [Mon Apr 11 09:07:21 2011] [emerg] (9)Bad file descriptor: Couldn't add listener to pollset; check system or user limits
    [Mon Apr 11 09:07:21 2011] [emerg] (9)Bad file descriptor: Couldn't add listener to pollset; check system or user limits
    [Mon Apr 11 09:07:21 2011] [emerg] (9)Bad file descriptor: Couldn't add listener to pollset; check system or user limits
    [Mon Apr 11 09:07:21 2011] [notice] Apache/2.2.9 (Debian) DAV/2 mod_fcgid/2.3.5 proxy_html/3.0.0 mod_ssl/2.2.9 OpenSSL/0.9.8g configured -- resuming normal operations
    [Mon Apr 11 09:07:22 2011] [emerg] (9)Bad file descriptor: Couldn't add listener to pollset; check system or user limits
    [Mon Apr 11 09:07:23 2011] [emerg] (9)Bad file descriptor: Couldn't add listener to pollset; check system or user limits
    [Mon Apr 11 09:07:23 2011] [emerg] (9)Bad file descriptor: Couldn't add listener to pollset; check system or user limits
    [Mon Apr 11 09:07:24 2011] [emerg] (9)Bad file descriptor: Couldn't add listener to pollset; check system or user limits
    [Mon Apr 11 09:07:25 2011] [emerg] (9)Bad file descriptor: Couldn't add listener to pollset; check system or user limits
    [Mon Apr 11 09:07:26 2011] [emerg] (9)Bad file descriptor: Couldn't add listener to pollset; check system or user limits
    [Mon Apr 11 09:07:27 2011] [emerg] (9)Bad file descriptor: Couldn't add listener to pollset; check system or user limits
    
    Bug?
     
  2. nevakee

    nevakee Basic Pleskian

    19
    60%
    Joined:
    Dec 12, 2010
    Messages:
    61
    Likes Received:
    0
    push...........
     
  3. nevakee

    nevakee Basic Pleskian

    19
    60%
    Joined:
    Dec 12, 2010
    Messages:
    61
    Likes Received:
    0
    push........... #2
     
  4. ShoneA

    ShoneA Basic Pleskian

    22
    40%
    Joined:
    Mar 23, 2010
    Messages:
    61
    Likes Received:
    0
    I'm having the same problem, same thing in my logs. A customer makes a change to their hosting account, Plesk initiates a graceful restart of apache and it doesn't come back.. I have to scramble onto SSH and type "service httpd restart" and everything is immediately fixed.
     
  5. ShoneA

    ShoneA Basic Pleskian

    22
    40%
    Joined:
    Mar 23, 2010
    Messages:
    61
    Likes Received:
    0
    Tested setting my restart interval to 0, didn't help. It actually crashed more, which makes sense.

    It's sort of an intermittent problem because you have to let apache work a bit before it'll have some connections to hang on.
     
Loading...