S
S
SvizzZzy2017-04-10 16:40:04
Network administration
SvizzZzy, 2017-04-10 16:40:04

What could be causing such a wild VPS load?

I can’t understand where e2e848fd44594443bdaaa46133730b5a.JPGso many php processes came from and why they eat so much?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Puma Thailand, 2017-04-11
@opium

look at the apache logs and you will no longer have all the stupid questions

M
Mertico, 2017-04-10
@Mertico

php.net/manual/en/install.fpm.configuration.php#pm
pm string
Select how the process manager will control the creation of child processes. Possible values: static, ondemand, dynamic. This parameter is required.
static - fixed number of child processes (pm.max_children).
ondemand - the number of processes spawned on demand (when requests appear, in contrast to the dynamic option, when a certain number of processes equal to pm.start_servers starts, along with the start of the service.
dynamic - dynamically changing number of child processes, set based on the following directives: pm .max_children, pm.start_servers, pm.min_spare_servers,
pm.max_spare_servers.pm.max_children int
The number of child processes that will be created when pm is set to static, or the maximum number of processes that will be created when pm is set to dynamic. This parameter is required.
This setting sets a limit on the number of concurrent requests that will be served. The equivalent of the ApacheMaxClients directive with mpm_prefork and the PHP_FCGI_CHILDREN environment variable in the original PHP FastCGI.
pm.start_servers int
Number of child processes created at startup. Used only when pm is set to dynamic. Default value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2.
pm.min_spare_servers int
The desired minimum number of idle server processes. Used only when pm is set to dynamic. Also, it's a required parameter in this case.
pm.max_spare_servers int The
desired maximum number of idle server processes. Used only when pm is set to dynamic. Also, it's a required parameter in this case.
pm.process_idle_timeout mixed
The number of seconds before an idle process is terminated. Only used if pm is set to ondemand. Valid units are s(seconds)(default), m(minutes), h(ours), or d(days). Default: 10s.
pm.max_requests int
The number of child process requests after which the process will be restarted. This is useful for avoiding memory leaks when using third party libraries. Specify '0' for infinite request processing. Equivalent to PHP_FCGI_MAX_REQUESTS. Default value: 0.
Could it be?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question