• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Checking for nginx ULIMIT value 3 domains have been found on server

Azurel

Silver Pleskian
I have a new CentOS 8.2 server with Plesk Obsidian.

I tried extension "repair kit" and found for web & ftp services this warning
Checking for nginx ULIMIT value 3 domains have been found on server. Problem with nginx default limit for open files is possible Please check nginx fails to start/reload on a Plesk server: Too many open files for details

After click on repair it said
Repair Kit fixed all issues it could. If any issues were not fixed, please try fixing them manually or contact Plesk Support.

after click on check again "1 issue(s) detected".

UPDATE:
I have set worker_rlimit_nofile 40000; (above line "http {") in /etc/nginx/nginx.conf and restart nginx. But thats not helped.

# grep 'Max open files' /proc/$(cat /var/run/nginx.pid)/limits
Max open files 1024 262144 files
# ulimit -Hn
262144
# ulimit -Sn
1024
 
Last edited:
Code:
# /usr/local/psa/admin/sbin/websrv_ulimits --get
nginx:-1
apache:-1
Currently limits are not set in plesk

Code:
# grep 'Max open files' /proc/$(cat /var/run/nginx.pid)/limits
Max open files            1024                 262144               files

Find PID with
Code:
#  ps axl | grep nginx:.master
5     0  110248       1  20   0  52868 10456 -      Ss   ?          0:00 nginx: master process /usr/sbin/nginx
0     0  148976  137904  20   0  12240  2372 -      S+   pts/0      0:00 grep --color=auto nginx:.master

Show values
Code:
# cat /proc/110248/limits
Limit                     Soft Limit           Hard Limit           Units
Max cpu time              unlimited            unlimited            seconds
Max file size             unlimited            unlimited            bytes
Max data size             unlimited            unlimited            bytes
Max stack size            8388608              unlimited            bytes
Max core file size        unlimited            unlimited            bytes
Max resident set          unlimited            unlimited            bytes
Max processes             514117               514117               processes
Max open files            1024                 262144               files
Max locked memory         65536                65536                bytes
Max address space         unlimited            unlimited            bytes
Max file locks            unlimited            unlimited            locks
Max pending signals       514117               514117               signals
Max msgqueue size         819200               819200               bytes
Max nice priority         0                    0
Max realtime priority     0                    0
Max realtime timeout      unlimited            unlimited            us

This issue is fixed with
# /usr/local/psa/admin/sbin/websrv_ulimits --set 4096 --no-restart
and restart nginx + apache
 
Last edited:
Back
Top