Unix/Linux Go Back    


Web Programming Discuss Web Programming and Web Server Administration, including LAMP, Apache, MySQL, HTML, SEO, and other Web APIs and topics.

Problem in settings php-fpm

Web Programming


Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 03-03-2018   -   Original Discussion by mnnn
mnnn's Unix or Linux Image
mnnn mnnn is offline
Registered User
 
Join Date: Feb 2016
Last Activity: 3 March 2018, 9:35 AM EST
Posts: 73
Thanks: 33
Thanked 0 Times in 0 Posts
Problem in settings php-fpm

hi
I've used apache and php-fpm Handlers on my web server
Web pages open at very low speeds
And some pages give 503 errors
I get the following warnings in php-fpm

Alerts in php-fpm



Code:
[03-Mar-2018 17:58:17] NOTICE: [pool i] child 17630 started
[03-Mar-2018 17:58:17] WARNING: [pool i] child 16165 exited on signal 15 (SIGTERM) after 666.682314 seconds from start
[03-Mar-2018 17:58:17] NOTICE: [pool i] child 17632 started
[03-Mar-2018 17:58:17] WARNING: [pool i] child 10093 exited on signal 15 (SIGTERM) after 3366.770932 seconds from start
[03-Mar-2018 17:58:17] NOTICE: [pool i] child 17633 started
[03-Mar-2018 17:59:24] WARNING: [pool i] child 16246, script '/home/i/public_html//index.php' (request: "GET /index.php") execution timed out (122.887458 sec), terminating
[03-Mar-2018 17:59:24] WARNING: [pool i] child 10094, script '/home/i/public_html//index.php' (request: "GET /index.php") execution timed out (121.696227 sec), terminating
[03-Mar-2018 17:59:24] WARNING: [pool i] child 10094 exited on signal 15 (SIGTERM) after 3433.427482 seconds from start
[03-Mar-2018 17:59:24] NOTICE: [pool i] child 17759 started
[03-Mar-2018 17:59:24] WARNING: [pool i] child 16246 exited on signal 15 (SIGTERM) after 666.642643 seconds from start
[03-Mar-2018 17:59:24] NOTICE: [pool i] child 17760 started
[03-Mar-2018 17:59:57] WARNING: [pool i] child 10099, script '/home/i/public_html//wp-admin/admin-ajax.php' (request: "POST /wp-admin/admin-ajax.php") execution timed out (104.887523 sec), terminating
[03-Mar-2018 17:59:57] WARNING: [pool i] child 10099 exited on signal 15 (SIGTERM) after 3466.757274 seconds from start
[03-Mar-2018 17:59:57] NOTICE: [pool i] child 17782 started

The settings for the Web site are as follows



Code:
<VirtualHost 192.168.20.202:80>
    ServerName wwww.i
    DocumentRoot /home/i/public_html
ServerAlias i
   ErrorLog /var/log/httpd/i.log
    CustomLog /var/log/httpd/i.log combined
<Directory /home/i/public_html>
Options -Indexes -ExecCGI +SymLinksIfOwnerMatch -Includes
#AllowOverride All
 #   Require all granted
</Directory>
DirectoryIndex index.php
<FilesMatch \.php$>
        SetHandler "proxy:fcgi://127.0.0.1:9000"
    </FilesMatch>
ProxyPassMatch ^/(.+\.php.*)$ fcgi://127.0.0.1:9000/home/i/public_html/ timeout=1800
<IfModule mod_fastcgi.c>
fastcgi_read_timeout 150
</IfModule>
</VirtualHost>

How can I fix this problem?
thanks
Sponsored Links
    #2  
Old Unix and Linux 03-04-2018   -   Original Discussion by mnnn
hicksd8's Unix or Linux Image
hicksd8 hicksd8 is offline Forum Staff  
Moderator
 
Join Date: Feb 2012
Last Activity: 20 April 2018, 3:56 PM EDT
Location: Devon, UK
Posts: 1,830
Thanks: 272
Thanked 481 Times in 409 Posts
I saw this thread created yesterday and thought that you would get responses from people who know far more about web servers than me. However, one day later and no response so here goes.

I've installed and manipulated the parameters of Apache and PHP many times and found the parameters set can make a whole load of difference to performance and other buggy issues. I would suggest that you start to launch your own investigation by adjusting some of the parameters.

A quick search found these two discussions which may be of interest:

nginx - pool www exited on signal 15 (SIGTERM): execution timed out - Server Fault

php5-fpm lockup daily - serious system problem * Issue #562 * warmshowers/Warmshowers.org * GitHub

Good luck.
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Settings in php-fpm mnnn Red Hat 0 07-04-2017 08:11 AM
Running multiple php scripts into one php only, cron mail alert problem... 7stars UNIX for Advanced & Expert Users 0 11-14-2011 04:49 AM
Reflection X window settings: Problem belvie UNIX Desktop Questions & Answers 1 03-03-2009 07:31 AM
i have a serious problem in php mehdi Shell Programming and Scripting 0 09-06-2005 07:22 AM
PHP: problem with index.php perleo Shell Programming and Scripting 13 07-07-2003 01:16 PM



All times are GMT -4. The time now is 11:38 AM.