Apache crashes on reload and websites show 502 Bad Gateway: seg fault or similar nasty error detected in the parent process

Follow

Comments

18 comments

  • Avatar
    Ste Martin

    This was marked as fixed, and the resolution was to update to latests version to fix. Now its only the workarounds again?

    Is this fixed or not in latest?

  • Avatar
    Anton Maslov

    @Ste Martin, 

     

    It was fixed in Plesk Onyx, but later we found additional issue caused by this bug. Right now we do have an open ticket regarding this and working on a solution. The article will be updated with results, you may subscribe to it to get updated.

  • Avatar
    Anton Maslov

    @Ste Martin, 

    We've prepared a patch for Debian 8 + Plesk Onyx + mpm_prefork module. For Plesk 12.5 and other OSes we plan to fix an issue in one of the upcoming MUs

  • Avatar
    Thomas Duran-Debaenst (Edited )

    Bonjour Anton,

    On Ubuntu 14.04.5 LTS and after apply all the above Workaround, I still have the problem every morning. Do you have a solution? Do you know when the problem will be solved ?

    Thanks & best wishes for 2017

  • Avatar
    Manolis Vassiliadis (Edited )

    Hello,

     

    Do you have any news about specific date for Plesk 12.5 CentOS 7.2 MU which resolve this issue?

  • Avatar
    Nikolay Zhmuk

    Hi,

     

    > Do you have any news about specific date for Plesk 12.5 CentOS 7.2 MU which resolve this issue?

    Dear Manilis, there is no exact ETA when it will be fixed for Plesk 12.5.

     

    > On Ubuntu 14.04.5 LTS and after apply all the above Workaround, I still have the problem every morning. Do you have a solution? Do you know when the problem will be solved ?

    Dear Thomas, if the solution steps from the article did not help, please create a ticket on  https://support.plesk.com/hc/ so we could investigate it further.

  • Avatar
    Aniello Martuscelli

    Same problem on latest ONYX on ubuntu 16.04 

    I should restart manually apache crashed this sunday

  • Avatar
    Vitaly Zhidkov

    @Aniello, I've attached fix for Ubuntu 16

  • Avatar
    Ste Martin

    Does the fix for Ubuntu mean we can then go back to using mpm_event after applying the patch?

  • Avatar
    Robert Asilbekov

    @Ste Martin, mpm_prefork works more stable, than mpm_event.

  • Avatar
    Felix Ostmann

    I have upgrades from 12.5 to Onyx 17.5.3 with libapache2-mod-fcgid-psa version 2.3.9.5-debian8.0.17031614 and now this problem bites me.

    The reload itself don't throw errors, but after a reload only one new process owned by www-data are alive.

    netstat show that the process is not listen on a port.

    strace show that the process is listen on fd 3 (a socket).

    A "service apache2 restart" did not touch the one failed process from the reload. I had to manually kill that one.

     

    The workaround is good but not a solution.

  • Avatar
    Konstantin Annikov

    Hi,

    I also have Debian 8 with 2.3.9.5 version of libapache2-mod-fcgid-psa. 

    I have tried to reproduce this using the following script: 

    # while true; do service apache2 reload; clear; netstat -tpln | egrep "7081|7080"; ps auxf | grep -v grep |  grep apache2; done

    But apache reloads very smoothly and all processes are owned by www-data (see the screencast for details)

    So, if you still have this issue, please submit a request for our technical support https://www.plesk.com/contact-support/ 
    If it is possible, please describe the issue in details and provide us with steps on how to reproduce it. 

  • Avatar
    iamkingsleyf

    i still have this crash issue, apache is running but all sites are 504 or 502.

     

    this is really fustrating

  • Avatar
    Bulat Tsydenov

    @iamkingsleyf, In this case, I would recommend you contact our technical support https://www.plesk.com/contact-support/, that would speed up the resolution. I guess that you left a comment in Apache keeps going down: server reached MaxRequestWorkers setting article regarding the same issue.

  • Avatar
    iamkingsleyf

    Yes and the same issue is occuring everytime causing problem for my business.

  • Avatar
    Artyom Baranov

    @iamkingsleyf,

    The issue requires deeper investigation. As Bulat has suggested, please contact Plesk technical support https://www.plesk.com/contact-support/

  • Avatar
    iamkingsleyf

    I got my license from OVH i am unable to contact support 

  • Avatar
    Artyom Baranov

    @iamkingsleyf,

    In this case, you may contact OVH regarding the issue or get support from Plesk directly. Please check this article: https://goo.gl/pbHyTW

Please sign in to leave a comment.

Have more questions? Submit a request