Need Help - Debugging slow webgui

Started by ianf, November 08, 2022, 01:09:48 PM

Previous topic - Next topic
Update:

I just updated to opnsense-22.7.9_3, and the logs supported my suspicion of configd being broken:

From the update logs:

...
Starting configd.
Bus error (core dumped)
/usr/local/etc/rc.d/configd: WARNING: failed to start configd
...


Does anyone know how to fix this?

You can't like this but I'm beginning to think there might be hardware problems behind apparently unrelated problems "Bus error (core dumped)"
I would personally be inclined to save the config you can. Reinstall and restore config.
To see if the problems go. I imagine they won't but at least you'll be able to switch from chasing software problems.

I guess that might be the case. We've reinstalled multiple times by now, and as it's not stayed better, I guess hardware has the highest probability. Do you or anyone else have any insights on what the `Bus error` could stand for?

Log in via SSH and type

dmesg

That possibly shows something.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

dmesg shows a bunch of errors:

pid 88001 (php-cgi), jid 0, uid 0: exited on signal 10 (core dumped)
pid 42076 (python3.9), jid 0, uid 0: exited on signal 11 (core dumped)
...
sonewconn: pcb 0xfffff800210a0900 (local:/var/run/configd.socket): Listen queue overflow: 46 already in queue awaiting acceptance (53 occurrences)
sonewconn: pcb 0xfffff800210a0900 (local:/var/run/configd.socket): Listen queue overflow: 46 already in queue awaiting acceptance (62 occurrences)
sonewconn: pcb 0xfffff800210a0900 (local:/var/run/configd.socket): Listen queue overflow: 46 already in queue awaiting acceptance (62 occurrences)
sonewconn: pcb 0xfffff800210a0900 (local:/var/run/configd.socket): Listen queue overflow: 46 already in queue awaiting acceptance (135 occurrences)
...
pid 12580 (php), jid 0, uid 0: exited on signal 11 (core dumped)
pid 50157 (python3.9), jid 0, uid 0: exited on signal 11 (core dumped)
pid 21 (python3.9), jid 0, uid 0: exited on signal 11 (core dumped)
pid 41295 (python3.9), jid 0, uid 0: exited on signal 10 (core dumped)
pid 61620 (python3.9), jid 0, uid 0: exited on signal 11 (core dumped)
pid 53937 (php), jid 0, uid 0: exited on signal 11 (core dumped)
pid 10294 (python3.9), jid 0, uid 0: exited on signal 11 (core dumped)
pid 85021 (python3.9), jid 0, uid 0: exited on signal 11 (core dumped)
pid 26932 (python3.9), jid 0, uid 0: exited on signal 11 (core dumped)
...


those are the ones I'm seing the most, apart from arp changes.

Hints at a memory or CPU problem. Overheating can also cause these.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Core temps sit between 34 and 39°C, so I guess RAM or CPU. I'll look into replacing our unit then.

Quote from: crissi on December 05, 2022, 04:14:08 PM
Recognized the slow Gui as well. DNS Lookup to FW Hostname is working ok.
Deleted all Logs, slowness still persists.

Have still these errors in System: Log Files: Web GUI

2022-12-05T11:06:05 Error lighttpd (server.c.1588) server started (lighttpd/1.4.67)
2022-12-05T11:06:05 Error lighttpd (server.c.2097) server stopped by UID = 0 PID = 80455
2022-12-04T14:15:51 Error lighttpd (server.c.1588) server started (lighttpd/1.4.67)
2022-12-04T14:15:51 Error lighttpd (server.c.2097) server stopped by UID = 0 PID = 34252


In my Case when I connect via IP Address to the Box the GUI is reacting fast..., connecting via FW Hostname is still slow...

BR

I have the exact same problem