Add new domain / subdomain took so long

Post Reply
lgreen
Posts: 13
Joined: Thu Jan 13, 2022 5:44 am

Hi,
I have a server with 3900+ domains and high traffic, and now this server took so long if I want to add a new domain or subdomain, and everytime I check nginx configuration using "nginx -t" it will take so long, or an error "too many open files", I checked a server usage is not as high as I expected, what should I do to optimize my server?

OS: Debian 12 (Linux 6.1.0-28)
CPU: AMD EPYC 9654 (192) @ 2.400GHz
RAM: 128 GB.

nginx version: nginx/1.27.3
vesta 0.9.9 0-11
vesta-php 0.9.9 0
vesta-nginx 0.9.9 0

RAM usage still less than 50%, and CPU usage only 3-4.

Tags:
Post Reply