• Home
  • WordPress
  • web Hosting
    • Free hosting
    • Cheap Hosting
    • comparison cloud , vps, shared, wordpress
    • managed wordpress hosting
    • managed cloud hosting
  • page Speed
  • Deals
  • Services
  • About

RAaz Kumar .com

wordpress tutorials seo hosting etc

enable php fpm status page, monitor & understand the report to tweak performance

#1 edit the pho-fpm conf file

nano /etc/php/7.3/fpm/pool.d/www.conf
uncoment
pm.status /status
check for sytax errors & restart php fpm
sudo php7.3-fpm -t && sudo systemctl restart php7.3-fpm

#2 edit nginx default conf add this code

$ sudo nano /etc/nginx/conf.d/default.conf
location ~ ^/(status|ping)$ {
        allow 127.0.0.1;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_index index.php;
        include fastcgi_params;
        #fastcgi_pass 127.0.0.1:9000;
        fastcgi_pass   unix:/var/run/php7.3-fpm.sock;
}

#3 restart nginx

$ sudo systemctl restart nginx

#4 check status page

ipadreess/status
domain/status
http://www.foo.bar/status?full
http://www.foo.bar/status?html&full
json,xml options ailabel to pull the data

#5 understanding php-fpm status page report

pool www
process manager dynamic
start time 14/Jul/2020:16:12:35 +0000
start since 43224
accepted conn 3384
listen queue 0
max listen queue 0
listen queue len 0
idle processes 2
active processes 1
total processes 3
max active processes 3
max children reached 0
slow requests 0
pid state start time start since requests request duration request method request uri content length user script last request cpu last request memory
12540 Running 15/Jul/2020:00:54:34 +0000 11905 325 173 GET /status?html&full 0 – – 0.00 0
14105 Idle 15/Jul/2020:02:36:26 +0000 5793 173 12818 GET /sqlc/js/get_image.js.php?theme=pmahomme&v=4.6.6deb5 0 – /var/www/html/sqlc/js/get_image.js.php 78.02 2097152
16025 Idle 15/Jul/2020:03:40:03 +0000 1976 120 50279 GET /sqlc/js/messages.php?lang=en&db=&token=47acdd548eed288b1cfbbd1045c9c8c5&v=4.6.6deb5 0 – /var/www/html/sqlc/js/messages.php 39.78 2097152
maxchidren reached
how many times php-fpm reached its limit.
if reached you can increase child process limits.
by cost memory.
max active processes:
total 5 severs.
3 process reached per seconds.(3 concurrent request per second)
most of wp pages servered by fastcgi cache nginx. or clouflare proxy.
mysql connections per seconds should higher than php-fpm max children per second.
also monitor  nginxconnections per second With nginx stub status module (not in core)
#6 enable slow request in php-fpm
edit www.conf
threshold should be 1sec
slow query log path
un coment all
restart or reload php fpm
then you see slow queries in php fpm status page.

Related topics:

  1. enable caching in apache server (mod cache disk cache) vs fastcgi cache
  2. 2021 php fpm pool manager configuration settings based on server spike
  3. PHP performance tuning nginx php-fpm conf pool manger dynamic vs static vs on demand
  4. nginx modules list (enable, disable, upgrade, install dynamic module)
  5. Pagespeed module install, configure, monitor, errors ft nginx &apache

 

PUBG Mobile Tips & Tricks

free fire how to play (a-z guide) guns, tips & tricks etc

Windows 10 tips & tricks

Pagespeed optimization

Pc building tips & tricks

nginx server tutorials

apache server tutorials

linux sysadmin tutorials

mysql Commands list pdf

Android studio tutorials

Gaming/ streaming tips

Airtel dth channel list

 

tutorials

  • Android Studio tutorials syllabus Topics Course details #AndroidApplicationDevelopment
  • xampp tutorials 2021 installation errors fix wordpress phpmyadmin mysql apache
  • Devops course Syllabus topics PDF AWS, Azure, cisco, redhat
  • CCNA Syllabus pdf (CCNA / CCNP vs devops vs mcsa /MCSE)
  • how to create a website free of cost on google
  • what is vpn vs proxy vs tor, http vs https, http2, tcp vs udp, kali linux sql source code injection
  • nginx server tutorials (installation, configuration, performance tuning, security)
    • nginx modules list (enable, disable, upgrade, install dynamic module)
    • SSL faster reduce TLS hand shake improve https performance
    • monitor nginx request with nginx status amplify datadog new relic
    • nginx installation on ubuntu 20.04 LTS
    • Redis performance metrics & tuning for nginx apache ubuntu & debian
    • enable brotli compression nginx brotli vs gzip
    • nginx performance tuning
    • Top 10 tips to improve nginx server security
    • letsencrypt install configure on ubuntu / debian nginx
    • what is TTFB & how to Reduce it (server response time) Google pagespeed
    • enable php fpm status page, monitor & understand the report to tweak performance
    • 2021 php fpm pool manager configuration settings based on server spike
    • Letsencrypt SSL Installation on apache/Nginx ubuntu / debian
    • nginx rewrite rules with examples 301 redirection
    • use nginx as reverse proxy and load balancer for apache wordpress
    • nginx conf explained best config file performance tuning nginx.conf
    • nginx errors (504,502, 413, unable to start, syntax errors)
    • Pagespeed module install, configure, monitor, errors ft nginx &apache
    • Apache vs nginx (connection handling, modules, memory usage)
    • install lemp Linux, Nginx 1.15.12, MySQL 8, PHP fpm 8 on Ubuntu 20.04 #wordpress #digital ocean
    • nginx fastcgi cache wordpress how to configure
    • Redis / memcached installation on ubuntu 20.04 with wordpress mysql configuration
    • fix error 520 522 524 on cloudflare wordpress godaddy nginx etc
  • Vivek Bindra Videos Transcription (business strategy)
  • AUdio Editing Background Noise removal (Audacity, Adobe Premiere Addition, Camtasia Filmora Windows Obs)
  • MySQL Tutorial (create,connect database, update tables, export etc) Documentation & TIPS
  • [INTRO] Ethical hacking / cyber Security / Penetration testing Tutorial -{updates frequently}
  • ubuntu tutorials installation download issues etc
  • Php tutorials
  • HTML & CSS Tutorials
  • Core Java Tutorial Free online
  • Linux sysadmin tutorials linux system administrator
  • apache server tutorial (install,config, performance tuning, security, error handling)

wordpress

 

Top 5  WP Google Analytics Plugins

WP Backup Plugins

Wp Comment Plugins

Top wordpress Security Plugins

WP Seo Plugins

WP Caching Plugins

Best Adsense Plugins for WordPress

Wp social Sharing Plugins

autoshare social media plugins

WP speed Optimization Plugins

Speedup WordPress google Score

More Wp tuts

Server Admin Cloud

 

Installing Nginx LEMP On ubuntu

Installing apache Lamp ubuntu

nginx fastcgi cache enable

php – fpm install  & Configuration

Opcache install & Configure

php -fpm pool manager explained

Mysql Install & Configuration

Redis Object cache install & configure

 

Nginx as Reverse Proxy and Load balancer

Load Balance / auto scaling in google cloud

Linux Commands PDF

Mysql Commands Pdf

Letsencrypt tutorial

mysqldump export & import 

Pagespeed Module install & configure

nginx.conf best file

mysql.conf best file

upgrade ubuntu

© 2021 - All Rights Reserved Disclaimer & Privacy Policy