What is the PHP-FPM limit (max_children)? | Nexcess (2024)

Notice anything different?

We've enhanced the appearance of our portal and we're working on updating screenshots. Things might look different, but the functionality remains the same.

The PHP-FPM limit, often referred to as max_children, refers to the setting that designates the maximum number of concurrent PHP-FPM processes allowed to run on a server.

Definition

When responding to a web request, your server devotes much of its time to the generation of dynamic content. In order to allow for better concurrency and scaling, our servers use PHP-FPM, which allow pools of processes to simultaneously serve web requests that use PHP code.

Typically, the size of these pools grows or diminishes to accommodate the volume of incoming requests. Should the amount of incoming requests surpass the current pool size’s capability to serve them, the process manager creates additional PHP-FPM processes. Conversely, the manager destroys superfluous processes to conserve resources.

Max_children refers to the maximum number of concurrent PHP-FPM processes allowed to exist in such a pool. If the volume of incoming requests requires the creation of more PHP-FPM processes than the number allowed by the max_children limit, those additional requests are backlogged in a queue to await service.

Symptoms

When a browser’s requests remain backlogged in a queue, the browser typically shows a blank page or a “Waiting for data…” notification. Note only web pages generated with PHP will suffer performance degradation as a result of your server hitting the max_children limit; static files such as xml, text, and images will not be affected.

Therefore, if you are able to retrieve http://YOURDOMAIN.com/robots.txt, but encounter difficulty accessing http://YOURDOMAIN.com/index.php, your site has likely reached your max_children limit.

Causes

If this root cause is a sudden and short spike in web traffic, it will usually recover without intervention. If you anticipate an indefinite period of increased traffic, it may be necessary to upgrade your service plan. For assistance and advice about potential upgrades, contact a Nexcess Account Executive.

The rate at PHP-FPM processes can accommodate incoming requests can be influenced by a number of factors. Though it is beyond the scope of this document to enumerate every single scenario, below are some common factors that may cause your site to hit the max_children limit. Understanding and solving these issues requires a certain level of expertise. If you suspect any of these issues or require assistance, our Support Team can offer assistance unless otherwise noted.

  • Insufficient hard disk space
  • File lock contention
  • Resource-intensive administrative tasks
  • Long-running database queries

Attention: The below issues cannot be resolved by our Support Team.

  • Slow or unresponsive external services
  • Broken or cumbersome code (contact your developer for assistance)

Why can’t Nexcess just increase my max_children limit?

Each shared hosting plan uses a predefined value for max_children. This setting is not arbitrary; we derive this value from the server’s resources and the expected number of clients on the server. The max_children effectively provides a limit to the amount of resources that can be used by each client.

Although increasing the number of max_children would increase your website’s resources, it could easily exceed the limitations of the shared server, resulting in performance degradation or downtime for you and all other clients sharing your server. Furthermore, some root causes cannot be eliminated by simply increasing max_children. For the collective good of clients in your shared environment, we cannot responsibly increase this limit.

For 24-hour assistance any day of the year, contact our support team by email or through your Client Portal.

What is the PHP-FPM limit (max_children)? | Nexcess (2024)
Top Articles
The best smart switch 2024: top smart light switches and dimmers for your smart lights
Tech Disruption Benefits for Business
Average Jonas Wife
Pieology Nutrition Calculator Mobile
9192464227
Wausau Marketplace
Www Movieswood Com
Student Rating Of Teaching Umn
Craigslist Labor Gigs Albuquerque
Lesson 2 Homework 4.1
10 Great Things You Might Know Troy McClure From | Topless Robot
Med First James City
Eka Vore Portal
Bnsf.com/Workforce Hub
Paychex Pricing And Fees (2024 Guide)
Itziar Atienza Bikini
Missed Connections Dayton Ohio
Aldine Isd Pay Scale 23-24
U Break It Near Me
Azpeople View Paycheck/W2
Kringloopwinkel Second Sale Roosendaal - Leemstraat 4e
Bidevv Evansville In Online Liquid
Best Boston Pizza Places
Drying Cloths At A Hammam Crossword Clue
Bj타리
Claio Rotisserie Menu
Gncc Live Timing And Scoring
+18886727547
Stolen Touches Neva Altaj Read Online Free
2015 Chevrolet Silverado 1500 for sale - Houston, TX - craigslist
What Are Digital Kitchens & How Can They Work for Foodservice
Hannibal Mo Craigslist Pets
State Legislatures Icivics Answer Key
Pepsi Collaboration
Zasilacz Dell G3 15 3579
Wunderground Orlando
Lonely Wife Dating Club בקורות וחוות דעת משתמשים 2021
Other Places to Get Your Steps - Walk Cabarrus
Discover Things To Do In Lubbock
Comanche Or Crow Crossword Clue
Unlock The Secrets Of "Skip The Game" Greensboro North Carolina
Ups Authorized Shipping Provider Price Photos
Honkai Star Rail Aha Stuffed Toy
Greatpeople.me Login Schedule
Acuity Eye Group - La Quinta Photos
Craigslist Indpls Free
March 2023 Wincalendar
Southwind Village, Southend Village, Southwood Village, Supervision Of Alcohol Sales In Church And Village Halls
O'reilly's Eastman Georgia
Aspen.sprout Forum
Kindlerso
Latest Posts
Article information

Author: Foster Heidenreich CPA

Last Updated:

Views: 5420

Rating: 4.6 / 5 (56 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Foster Heidenreich CPA

Birthday: 1995-01-14

Address: 55021 Usha Garden, North Larisa, DE 19209

Phone: +6812240846623

Job: Corporate Healthcare Strategist

Hobby: Singing, Listening to music, Rafting, LARPing, Gardening, Quilting, Rappelling

Introduction: My name is Foster Heidenreich CPA, I am a delightful, quaint, glorious, quaint, faithful, enchanting, fine person who loves writing and wants to share my knowledge and understanding with you.