- Plesk for Linux
A website is not accessible. The following message is shown in web browser from nginx:
500 internal server error
The following error can be found in
2017/08/17 14:46:14 [alert] 34297#0: *163 socket() failed (24: Too many open files) while connecting to upstream, client: 203.0.113.97, server: probidplus.com, request: "GET /favicon.ico HTTP/1.1", upstream: "http://203.0.113.2:7080/favcon.ico", host: "example.com", referrer: "http://example.com/"
To high value is set for
defines the number of worker processes, by default the value is 1:
# grep "worker_processes" /etc/nginx/nginx.conf
The optimal value depends on many factors including (but not limited to) the number of CPU cores, the number of hard disk drives that store data, and load pattern.