• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Error creating new subscription after 12.5 upgrade

spaceout

Basic Pleskian
I'm receiving the following error:

Template_Exception: nginx: [emerg] "worker_rlimit_nofile" directive is duplicate in /etc/nginx/ulimit.global_params:1
nginx: configuration file /etc/nginx/nginx.conf test failed

file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php

I tried repairing the domain using httpdmng, but the error persists.

Any ideas?
 
In /etc/nginx/nginx.conf I find:
worker_rlimit_nofile 20480;

In /etc/nginx/ulimit.global_params I find:
worker_rlimit_nofile 16384;

I assume this is the problem, but which one should be removed?
 
Yes. Try to remove it from /etc/nginx/ulimit.global_params and reconfigure domain settings with

# plesk repair web

if you have Plesk 12.5 version. Or with httpdmng for old Plesk versions.
 
Back
Top