Geekzone: technology news, blogs, forums
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.

386 posts

Ultimate Geek

# 245585 11-Feb-2019 23:32
Send private message

starting a new sever and im using php-fpm 7.1


keep getting warning like this


WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 9 total children


i change my default  www.conf to below but still getting warnings


my setting are


pm = dynamic


pm.max_children = 17


pm.start_servers = 2


pm.min_spare_servers = 1


pm.max_spare_servers = 3


pm.process_idle_timeout = 10s;


pm.max_requests = 1000




server has 1 core cpu and 2gb ram running Ubuntu 18 with Apache


any tips ?

Create new topic
Mr Snotty
8869 posts

Uber Geek

Lifetime subscriber

  # 2176821 11-Feb-2019 23:58
Send private message

What is this server hosting? It can be hard to balance this depending on how much ram each process uses. Really, it is trial and error. For a site that achieves ~3mil hits per day (running PHP-FPM, Apache with a seperate database server) I have this:


pm = dynamic
pm.max_children = 50
pm.start_servers = 20
pm.min_spare_servers = 10
pm.max_spare_servers = 35
pm.max_requests = 1000


The server has 2x Virtual CPU cores and 4gb of ram with NVME backed storage (I also have 4gb allocated to SWAP) and the site it hosts runs quickly. This is what works for me, but it may not work for you.

386 posts

Ultimate Geek

  # 2176824 12-Feb-2019 01:08
Send private message

vultr vps im using with 1 core


forgot to post i have a 2gb swap too and MySQL on another server


ill test with about half of what you got


pm = dynamic
pm.max_children = 25
pm.start_servers = 10
pm.min_spare_servers = 5
pm.max_spare_servers = 16
pm.max_requests = 1000


what do you use in mpm_event.conf ?? on Apache ?


mine is keep as default settings







Create new topic

Twitter and LinkedIn »

Follow us to receive Twitter updates when new discussions are posted in our forums:

Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:

Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:

News »

Logitech introduces new Made for Google keyboard and mouse devices
Posted 16-Oct-2019 13:36

MATTR launches to accelerate decentralised identity
Posted 16-Oct-2019 10:28

Vodafone X-Squad powers up for customers
Posted 16-Oct-2019 08:15

D Link ANZ launches EXO Smart Mesh Wi Fi Routers with McAfee protection
Posted 15-Oct-2019 11:31

Major Japanese retailer partners with smart New Zealand technology IMAGR
Posted 14-Oct-2019 10:29

Ola pioneers one-time passcode feature to fight rideshare fraud
Posted 14-Oct-2019 10:24

Spark Sport new home of NZC matches from 2020
Posted 10-Oct-2019 09:59

Meet Nola, Noel Leeming's new digital employee
Posted 4-Oct-2019 08:07

Registrations for Sprout Accelerator open for 2020 season
Posted 4-Oct-2019 08:02

Teletrac Navman welcomes AI tech leader Jens Meggers as new President
Posted 4-Oct-2019 07:41

Vodafone makes voice of 4G (VoLTE) official
Posted 4-Oct-2019 07:36

2degrees Reaches Milestone of 100,000 Broadband Customers
Posted 1-Oct-2019 09:17

Nokia 1 Plus available in New Zealand from 2nd October
Posted 30-Sep-2019 17:46

Ola integrates Apple Pay as payment method in New Zealand
Posted 25-Sep-2019 09:51

Facebook Portal to land in New Zealand
Posted 19-Sep-2019 18:35

Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.