Web gui doesn't start cleanly on reboot

Started by bob9744, February 08, 2023, 04:11:23 AM

Previous topic - Next topic
Hi all,

Running 23.1_6, I've noticed that coming up from a reboot, the web gui doesn't always start cleanly - for example, the gui's usable, but says that it's stopped in the service list, and the log shows the following:

Quote2023-02-07T21:30:00-05:00   Error   lighttpd   (gw_backend.c.360) gw-server re-enabled: unix:/tmp/php-fastcgi.socket-1 0 /tmp/php-fastcgi.socket   
2023-02-07T21:29:57-05:00   Error   lighttpd   (gw_backend.c.283) establishing connection failed: socket: unix:/tmp/php-fastcgi.socket-1: Connection refused   
2023-02-07T21:29:52-05:00   Error   lighttpd   (gw_backend.c.360) gw-server re-enabled: unix:/tmp/php-fastcgi.socket-1 0 /tmp/php-fastcgi.socket   
2023-02-07T21:29:49-05:00   Error   lighttpd   (gw_backend.c.283) establishing connection failed: socket: unix:/tmp/php-fastcgi.socket-1: Connection refused

When this happens, I cannot get things to restart cleanly through the ui, and if I try too many times (suppose I'm paying for clicking the restart button one too many times), things die and I get a 503. Fortunately, I'm able to ssh in, find an kill lighttpd, and then restart. Even then, though, it's a crapshoot as to whether it will restart cleanly.

Thoughts?

Thanks!

dmesg
top

What's your memory usage look like? Are there any kernel messages hinting at e.g. disk errors ...? Stuff like that. Something something "system".
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

So, dmesg output was a bit of a surprise - this, many, many times over:


fq_codel_enqueue over limit
fq_codel_enqueue maxidx = 719
fq_codel_enqueue over limit
fq_codel_enqueue maxidx = 11
fq_codel_enqueue over limit
fq_codel_enqueue maxidx = 719
fq_codel_enqueue over limit
fq_codel_enqueue maxidx = 11
fq_codel_enqueue over limit
fq_codel_enqueue maxidx = 719
fq_codel_enqueue over limit
fq_codel_enqueue maxidx = 11
fq_codel_enqueue over limit
fq_codel_enqueue maxidx = 719


Top:


last pid: 59422;  load averages:  0.11,  0.18,  0.13; battery: -1%          up 0+10:37:00  07:46:41
3 processes:   1 running, 2 sleeping
CPU 0:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
CPU 1:  0.0% user,  0.0% nice,  0.4% system,  0.0% interrupt, 99.6% idle
CPU 2:  0.0% user,  0.0% nice,  0.4% system,  0.0% interrupt, 99.6% idle
CPU 3:  0.4% user,  0.0% nice,  0.4% system,  0.0% interrupt, 99.2% idle
Mem: 102M Active, 374M Inact, 1305M Wired, 40K Buf, 5941M Free
ARC: 803M Total, 192M MFU, 499M MRU, 538K Anon, 13M Header, 96M Other
     607M Compressed, 1405M Uncompressed, 2.31:1 Ratio
Swap: 8192M Total, 8192M Free


I monitor things fairly frequently, and I've never noticed ram usage above 25%, nor disk errors. It feels like an odd timing issue when things start up, but that's without knowing anything about how things are staged.

Clearly I've still got work to do to figure out the shaper settings - I followed one of the tutorials here, and either it or I (more probably I) have missed something subtle.

Thanks!