Error 500 on three different Server

  • Hi Nux,


    Someone asked, I answered.
    I see where the problem is, but there is no cause for this. I have no high traffic, and memory enough.
    Maybe I'll update later, no time to do that right now.

  • @Smallserver


    Someone asked, I answered.


    Definitively, you have really a communication problem ;) Don't get me wrong here. I don't say that you are wrong in posting your logs. I just say that they are irrelevant and thus, I cannot say you how to solve the problem.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @Smallserver


    Definitively, you have really a communication problem ;)


    People tell me that every day, and my answer always is: I work at IT. Then they get it and move on :-)
    I didn't get you wrong.

  • Updating test server. Php5-fpm crashed on a segfault last thursday.

  • Update complete on test server and main server. Updating went flawless.

  • Hi,


    I will use this thread for my problem.
    I hope it's OK.


    I have following logs in /var/log/apache2/error.log:


    Code
    1. [Sun Jun 29 18:07:33 2014] [error] FastCGI process 30947 still did not exit, terminating forcefully[Sun Jun 29 18:07:33 2014] [error] FastCGI process 30700 still did not exit, terminating forcefully[Sun Jun 29 18:07:33 2014] [error] FastCGI process 31224 still did not exit, terminating forcefully[Sun Jun 29 18:07:34 2014] [error] child process 21335 still did not exit, sending a SIGKILL[Sun Jun 29 18:07:34 2014] [error] child process 6471 still did not exit, sending a SIGKILL[Sun Jun 29 18:07:34 2014] [error] child process 6503 still did not exit, sending a SIGKILL[Sun Jun 29 18:07:35 2014] [notice] caught SIGTERM, shutting down[Sun Jun 29 18:07:39 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)[Sun Jun 29 18:07:39 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations[Sun Jun 29 20:17:16 2014] [error] FastCGI process 9177 still did not exit, terminating forcefully[Sun Jun 29 20:17:16 2014] [error] FastCGI process 9339 still did not exit, terminating forcefully[Sun Jun 29 20:17:17 2014] [error] child process 9726 still did not exit, sending a SIGKILL[Sun Jun 29 20:17:17 2014] [error] child process 819 still did not exit, sending a SIGKILL[Sun Jun 29 20:17:17 2014] [error] child process 830 still did not exit, sending a SIGKILL[Sun Jun 29 20:17:17 2014] [error] child process 912 still did not exit, sending a SIGKILL[Sun Jun 29 20:17:18 2014] [notice] caught SIGTERM, shutting down[Sun Jun 29 20:17:23 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)[Sun Jun 29 20:17:23 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations[Sun Jun 29 21:12:32 2014] [notice] SIGUSR1 received. Doing graceful restart[Sun Jun 29 21:12:35 2014] [notice] Apache/2.2.22 (Debian) mod_fcgid/2.3.6 mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations


    The website is very very slow when error happens.
    After restart of Apache2 the website works fine. Sometimes for the rest of the day and sometimes only for minutes only. Today I got errors 503?


    And now website was slow again!
    I just tried this code from Nuxwin:


    # logrotate -f /etc/logrotate.d/apache2


    Website works fine again.


    So what can I do?
    I also tried to modify /etc/apache2/apache2.conf


    Code
    1. <IfModule mpm_worker_module>
    2. StartServers 6
    3. MinSpareThreads 75
    4. MaxSpareThreads 225
    5. ThreadLimit 192
    6. ThreadsPerChild 75
    7. MaxClients 450
    8. MaxRequestsPerChild 0
    9. </IfModule>


    But I think it's not really helpful.


    Thanks a lot for help!!

  • @Pikeman


    Without more information we cannot help you.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Sry,


    my mistake!


    I'm on Debian Linux 7.5 and using i-MSCP 1.1.11.
    Do you need more informations?


    EDIT:


    I made a cron job with following code:


    Code
    1. # logrotate -f /etc/logrotate.d/apache2


    for every full hour! Now the website is still working without any slow downs.
    Can someone explain why?


    The slow downs don't stop!
    Now I made the cron every 20 minutes!
    But still slow downs.