• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Template_Exception: /opt/psa/admin/sbin/websrv_ulimits:

mdde

Regular Pleskian
Hi just got this Error i cant figure out that Problem.

i just set a new Domain to existing Plesk with Customers and moved some more Customers to that new Server (which is running since a Week) and now i randomly got this Message:

Code:
Unable to generate the web server configuration file on the host <xxxx.xxx.com> because of the following errors:

Template_Exception: /opt/psa/admin/sbin/websrv_ulimits: line 923: /etc/nginx/ulimit.global_params.new: No such file or directory

file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0

Please resolve the errors in web server configuration templates and generate the file again.

Any help i would appreciate
 
What is output of command

# ll /etc/nginx/ulimit.global_params*

If you have any similar files there, try to remove them.
You can set ulimit manually for nginx with

# /opt/psa/admin/sbin/websrv_ulimits -s 2048 -n

and new file /etc/nginx/ulimit.global_params with parameter worker_rlimit_nofile 2048; will be created.
 
nginx was deleted.

Code:
root@web-host04 ~ # ll /etc/nginx/ulimit.global_params
ls: cannot access /etc/nginx/ulimit.global_params: No such file or directory
root@web-host04 ~ # /etc/nginx/ulimit.global_params
-bash: /etc/nginx/ulimit.global_params: No such file or directory
root@web-host04 ~ #
 
Back
Top