• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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