Adapt CPU and memory limit to your current infrastructure #122

Closed
opened 2017-03-09 14:42:59 +00:00 by raimonbosch · 2 comments
raimonbosch commented 2017-03-09 14:42:59 +00:00 (Migrated from github.com)

Hi,

Is it possible to adapt the worker_processes to the number of CPUs you have available? Also it would be great if you could adapt your php memory limits to your RAM available.

I guess there are several solutions that could work well. Here is an example for memory tuning http://drupalwxt.github.io/performance/apache-fpm/

Thanks in advance,

Hi, Is it possible to adapt the worker_processes to the number of CPUs you have available? Also it would be great if you could adapt your php memory limits to your RAM available. I guess there are several solutions that could work well. Here is an example for memory tuning http://drupalwxt.github.io/performance/apache-fpm/ Thanks in advance,
richarvey commented 2017-03-16 16:47:23 +00:00 (Migrated from github.com)

I'll look into this, we might need a flag to enable it to stop it automatically using everything on a system. In the meantime you can use custom nginx configs

I'll look into this, we might need a flag to enable it to stop it automatically using everything on a system. In the meantime you can use custom nginx configs
mralexho commented 2017-04-14 20:41:22 +00:00 (Migrated from github.com)

@raimonbosch since nginx 1.3.8+, assigning worker_processes are no longer required. Nginx will automatically figure that out.

https://nginx.org/en/docs/ngx_core_module.html#worker_processes

@raimonbosch since nginx 1.3.8+, assigning worker_processes are no longer required. Nginx will automatically figure that out. https://nginx.org/en/docs/ngx_core_module.html#worker_processes
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ric/nginx-php-fpm#122
No description provided.