question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug : Viewing realtime connection causes LuCI to crash with a lot of active connections.

See original GitHub issue

Described on https://forum.openwrt.org/t/luci-crash-on-19-07-2-when-visiting-admin-status-realtime-connections/60674/8

Reposting my post from there

When active connection is high (Above 2-3k) the following command

ubus call luci getRealtimeStats '{ "mode": "conntrack" }'

Works just fine and returns a reply.

And this

ubus call luci getConntrackList

Just hangs an causes Luci to return

/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.

Using 19.07.6

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:19 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
hagaygocommented, Oct 22, 2021

Just an update , same behavior on OpenWRT 21.02

0reactions
jow-commented, Nov 3, 2022

This will not solve the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Luci crash on 19.07.2 when visiting /admin/status/realtime ...
I try to visit the realtime connection graphs. ... with "Active Connections" overview causes LuCI to keep crashing while there is a lot...
Read more >
Cisco Bug: CSCwa14374 - CCX increasing DB connections ...
Cisco Bug: CSCwa14374 - CCX increasing DB connections cause the server to crash.
Read more >
Why Do Websites Crash? 7 Reasons Your Site Is Down
7 Reasons Why Websites Crash. Broken code; Server error; Wrong hosting; Update issue; Traffic spike; Expired domain; Malicious attack.
Read more >
Crunchyroll down? Current problems and outages
Website Video Streaming Server Connection Something else. ... This chart shows a view of problem reports submitted in the past 24 hours compared...
Read more >
iOS 16.1 Issues Fixed, New Problems, Features & Improvements
Fix: Most of the time you have to turn ON app specific Live Activities in settings as shown here. 13. WiFi not connecting...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found