Zentyal Forum, Linux Small Business Server
Zentyal Server => Email and Groupware => Topic started by: devnull on September 11, 2020, 02:35:14 pm
-
Hi,
I have a problem with Zentyal 6.1. For several days it started to run very slow. I need to wait minutes to change menu section in the admin interface. Even execute of the sudo /etc/init.d/zentyal modulename restart
lasts 2-3 minutes.
/var/log/zentyal/error.log
/var/log/zentyal/error.log:446:2020/09/11 13:52:03 [error] 5014#5014: *10434 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.7.1, server: , request: "GET /Dashboard/WidgetJSON?module=sysinfo&widget=modules HTTP/1.1", upstream: "uwsgi://unix:///run/zentyal-webadmin/webadmin.sock", host: "192.168.7.2:8443", referrer: "https://192.168.7.2:8443/Dashboard/Index"
Other services on the server seem to run normally. iotop and htop show no sign of the problem.
-
:)
A trick:
{code:bash}
sudo zs modulename restart
{code}
Did you check /var/log/zentyal/zentyal.log, /var/log/zentyal/uwsgi.log and /var/log/nginx/error.log?
The first one will give you keys of the error, the others will give you more detailed info if webadmin is the problem.
In this case I recommend you:
sudo zs webadmin restart
And if this fails:
sudo systemctl status zentyal.webadmin-uwsgi.service
sudo systemctl status zentyal.webadmin-nginx.service
#Start or restart if needed
sudo systemctl restart zentyal.webadmin-uwsgi.service
#... etc.
Though I think that the issue is probably related with the workload of your server. Install nmon and monitorize your system some days.
Cheers!
-
Thanks for the suggestion. Using Zabbix I was able to find out what was wrong. System was running out of memory becouse of hundreds of samba processes being spawned. Propably a samba's memory leak. Fortunately the problem is gone in 6.2.