Openwrt 19.07.2 x86-64 running on a apu4c2 in a qemu/kvm vm w/ 192MiB memory.
I try to visit the realtime connection graphs. At first, page loaded properly, but all counters remain at 0, and after a while I get a message that there's nothing to report (sorry, unable to catch exact message). It seemed to me that something did timeout. Upon page refresh, I get the following error:
/usr/lib/lua/luci/dispatcher.lua:315: /etc/config/luci seems to be corrupt, unable to find section 'main'
stack traceback:
[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:315: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:208: in function </usr/lib/lua/luci/dispatcher.lua:207>
Could this somehow be memory related? I know the router handles a large number simultaneous connections because of a service I host.
Update: And I seem to be able to reproduce the crash, even after your suggested move. Whenever I browse to the connection stats page and then somewhere else, I get an error.
Always is too strong. I have just managed to get the page to load, which produces a "A web page is slowing down your browser" Firefox warning, and only a partially filled table.
/usr/lib/lua/luci/dispatcher.lua:426: /etc/config/luci seems to be corrupt, unable to find section 'main'
Only restarting rpcd gets it back using
service rpcd restart
My device has plenty of ram (RPI) so i think the code for returning the connection list doesnt really work with large numbers, I guess it should only return the top 100 connections or something like that.
Using my mobile app on my router (https://github.com/hagaygo/OpenWRTManager) with "Active Connections" overview causes LuCI to keep crashing while there is a lot of active connections.
It uses same API as real time page.