# echo 'map_hash_bucket_size 64;' >> /etc/nginx/conf.d/fix_hash_bucket.conf
3.Restart nginx:# systemctl restart nginx
4.Rebuild the web server configuration:# plesk sbin httpdmng --reconfigure-all
Sep 12 17:20:23 httpd[6363]: (13)Permission denied: AH00072: make_sock: could not bind to address 127.0.0.1:7080
Sep 12 17:20:23 httpd[6363]: no listening sockets available, shutting down
# setenforce 0
502 Bad Gateway
503 Service Temporarily Unavailable
504 Gateway Time-out
WARNING: [pool example.com] server reached max_children setting (*), consider raising it
The message above is usually accompanied with this error:
unable to read what child say: Bad file descriptor (9)
[error] 11456#0: *118348 connect() to unix:///var/www/vhosts/system/example.com/php-fpm.sock failed (11: Resource temporarily unavailable) while connecting to upstream, client: 203.0.113.2, server: example.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:///var/www/vhosts/system/example.com/php-fpm.sock:", host: "example.com"
[error] 20058#0: *4725139 upstream prematurely closed connection while reading response header from upstream, client: 203.0.113.2, server: example.com, request: "POST /path/to/some/file HTTP/2.0", upstream:
# grep -r "server reached max_children setting" /var/log/*php*-fpm/error.log | cut -d' ' -f5 | tr -d ']' | sort | uniq -c | sort -nr
100 example.com
50 example.net
25 example.org
<...>
[php-fpm-pool-settings]
pm.max_children = 20
# /usr/local/psa/bin/php_settings -u
Shorthand Long Version Description
- --connector-client-config-override-policy set the managed database Kafka Connect configuration value for connector_client_config_override_policy
- --consumer-auto-offset-reset set the managed database Kafka Connect configuration value for consumer_auto_offset_reset
- --consumer-fetch-max-bytes set the managed database Kafka Connect configuration value for consumer_fetch_max_bytes
- --consumer-isolation-level set the managed database Kafka Connect configuration value for consumer_isolation_level
- --consumer-max-partition-fetch-bytes set the managed database Kafka Connect configuration value for consumer_max_partition_fetch_bytes
- --consumer-max-poll-interval-ms set the managed database Kafka Connect configuration value for consumer_max_poll_interval_ms
- --consumer-max-poll-records set the managed database Kafka Connect configuration value for consumer_max_poll_records
- --offset-flush-interval-ms set the managed database Kafka Connect configuration value for offset_flush_interval_ms
- --offset-flush-timeout-ms set the managed database Kafka Connect configuration value for offset_flush_timeout_ms
- --producer-batch-size set the managed database Kafka Connect configuration value for producer_batch_size
- --producer-buffer-memory set the managed database Kafka Connect configuration value for producer_buffer_memory
- --producer-compression-type set the managed database Kafka Connect configuration value for producer_compression_type
- --producer-linger-ms set the managed database Kafka Connect configuration value for producer_linger_ms
- --producer-max-request-size set the managed database Kafka Connect configuration value for producer_max_request_size
- --scheduled-rebalance-max-delay-ms set the managed database Kafka Connect configuration value for scheduled_rebalance_max_delay_ms
- --session-timeout-ms set the managed database Kafka Connect configuration value for session_timeout_ms
Shorthand Long Version Description
- --consumer-enable-auto-commit set the managed database Kafka REST configuration value for consumer_enable_auto_commit
- --consumer-request-max-bytes set the managed database Kafka REST configuration value for consumer_request_max_bytes
- --consumer-request-timeout-ms set the managed database Kafka REST configuration value for consumer_request_timeout_ms
- --name-strategy set the managed database Kafka REST configuration value for name_strategy
- --name-strategy-validation set the managed database Kafka REST configuration value for name_strategy_validation
- --producer-acks set the managed database Kafka REST configuration value for producer_acks
- --producer-compression-type set the managed database Kafka REST configuration value for producer_compression_type
- --producer-linger-ms set the managed database Kafka REST configuration value for producer_linger_ms
- --producer-max-request-size set the managed database Kafka REST configuration value for producer_max_request_size
- --simpleconsumer-pool-size-max set the managed database Kafka REST configuration value for simpleconsumer_pool_size_max