CPU cores and workers / maxservers
- by user80666
I'm trying to optimize my apache and nginx installations and have been looking for information on how to setup correct number or min/max servers and connections in Apache and worker processes in Nginx.
I was wondering whether or not Apache and Nginx take advantage of multy core processors and how to set configuration in Apache and Nginx?
For example, lets say I have a 4 core processor, should I set workers to 4 in nginx? what should I set spare server in apache to?