Slow web page, hangs
With an uptime of 13 days, my Debian Linux box started getting massively slow on web requests. It got so bad it just never finished serving the web pages for the GUI. I was forced to cycle my printers to SD cards for prints until I got all running jobs completed, then reboot it.
Which got the web service working great, but interrupted my running print jobs (on SD) as the server reinitialized each USB port. Next time I'll unplug the USB if I have to run the printers via SD card. I ended up loosing three prints, of ~10+ hours each due to the hangs/restart.
I did restart the apache2 service, but that had no impact. Top showed 6-10% usage, and nothing abnormal. I was unable to find anything of interest in /var/logs/
Any ideas as to what I can look for, or restart should it happen again?
Comments
Have you a webcam and did you try reloading webpage? mjpg streams can be quite big and at leat for chrome I have found that it sometimes continues loading mjpg even if not visible for a while. 0.91 will have a better solution making it stop directly.
Restarting server should help but that surely will stop all prints. It can also be a lock in server if it stops responding and is not webcam related. We have added some fixes in next release we found. In that case you should not try new web connections. Each new connection will increase threads slowing down everything. Do nothing till print is finished and restart after print is finished.
If you are good with linux you can follow
https://www.repetier-server.com/knowledgebase/debugging-crashes-hangs-on-linux/
and send us a full backtrace so we can analyse exactly what happened and fix it if it is an unknown reason. Start only after print is finished as it will interrupt print.
If you see that after a reload the content does not build up or switches between screen do not happen that the deadlock problem might have happened so you should try the link.