Error in Plesk: "worker_rlimit_nofile" directive is duplicate

Created:

2017-01-09 07:29:04 UTC

Modified:

2017-08-08 13:45:04 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Error in Plesk: "worker_rlimit_nofile" directive is duplicate

Applicable to:

  • Plesk for Linux

Symptoms

The following error is shown in Plesk:

New configuration files for the Apache web server were not created due to the errors in configuration templates: nginx: [emerg] "worker_rlimit_nofile" directive is duplicate in /etc/nginx/ulimit.global_params:1 nginx: configuration file /etc/nginx/nginx.conf test failed

Cause

The worker_rlimit_nofile directive is defined twice.

Resolution

  1. Remove or comment worker_rlimit_nofile directive in /etc/nginx/ulimit.global_params file.

  2. Restart nginx:

    # service nginx restart
Have more questions? Submit a request
Please sign in to leave a comment.