xiaorouji / openwrt-passwall2

1.34k stars 431 forks source link

[Bug]: Very slow page loads on luci-app-passwall2 #428

Closed mfat closed 9 months ago

mfat commented 1 year ago

描述您遇到的bug

When I open any node to edit, committing changes takes a long time (even 30 to 40 seconds). Passwall configuration pages become very slow. Other parts of Luci are fast and smooth.

复现此Bug的步骤

1.Clean install openwrt 2.Install passwall2 from Sourceforge repo 3.Add a couple of nodes

您想要实现的目的

Smooth and fast response when I click "save and apply"

日志信息

Wed Oct 25 20:03:12 2023 daemon.err uhttpd[1425]: [info] luci: accepted login on / for root from 192.168.1.130
Wed Oct 25 20:03:13 2023 daemon.warn odhcpd[1295]: No default route present, overriding ra_lifetime!
Wed Oct 25 20:04:27 2023 daemon.info hostapd: phy0-ap0: STA 54:60:09:03:94:2c IEEE 802.11: disconnected due to excessive missing ACKs
Wed Oct 25 20:04:27 2023 daemon.notice hostapd: phy0-ap0: AP-STA-DISCONNECTED 54:60:09:03:94:2c
Wed Oct 25 20:04:57 2023 daemon.info hostapd: phy0-ap0: STA 54:60:09:03:94:2c IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Wed Oct 25 20:08:13 2023 daemon.warn odhcpd[1295]: No default route present, overriding ra_lifetime!
Wed Oct 25 20:08:34 2023 daemon.notice hostapd: phy0-ap0: AP-STA-DISCONNECTED 50:85:69:2f:1d:66
Wed Oct 25 20:08:34 2023 daemon.info hostapd: phy0-ap0: STA 50:85:69:2f:1d:66 IEEE 802.11: disassociated due to inactivity
Wed Oct 25 20:08:35 2023 daemon.info hostapd: phy0-ap0: STA 50:85:69:2f:1d:66 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Wed Oct 25 20:13:16 2023 cron.err crond[14052]: crond (busybox 1.36.1) started, log level 5
Wed Oct 25 20:13:16 2023 daemon.info dnsmasq[1]: exiting on receipt of SIGTERM
Wed Oct 25 20:13:21 2023 daemon.info dnsmasq[1]: started, version 2.89 cachesize 1000
Wed Oct 25 20:13:21 2023 daemon.info dnsmasq[1]: DNS service limited to local subnets
Wed Oct 25 20:13:21 2023 daemon.info dnsmasq[1]: compile time options: IPv6 GNU-getopt no-DBus UBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP conntrack no-ipset nftset auth cryptohash DNSSEC no-ID loop-detect inotify dumpfile
Wed Oct 25 20:13:21 2023 daemon.info dnsmasq[1]: UBus support enabled: connected to system bus
Wed Oct 25 20:13:21 2023 daemon.info dnsmasq-dhcp[1]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Wed Oct 25 20:13:21 2023 daemon.info dnsmasq[1]: using only locally-known addresses for test
Wed Oct 25 20:13:21 2023 daemon.info dnsmasq[1]: using only locally-known addresses for onion
Wed Oct 25 20:13:22 2023 daemon.info dnsmasq[1]: using only locally-known addresses for localhost
Wed Oct 25 20:13:22 2023 daemon.info dnsmasq[1]: using only locally-known addresses for local
Wed Oct 25 20:13:22 2023 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Wed Oct 25 20:13:22 2023 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Wed Oct 25 20:13:22 2023 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Wed Oct 25 20:13:22 2023 daemon.info dnsmasq[1]: reading /tmp/resolv.conf.d/resolv.conf.auto
Wed Oct 25 20:13:22 2023 daemon.info dnsmasq[1]: using nameserver 192.168.0.254#53
Wed Oct 25 20:13:22 2023 daemon.info dnsmasq[1]: using only locally-known addresses for test
Wed Oct 25 20:13:22 2023 daemon.info dnsmasq[1]: using only locally-known addresses for onion
Wed Oct 25 20:13:22 2023 daemon.info dnsmasq[1]: using only locally-known addresses for localhost
Wed Oct 25 20:13:22 2023 daemon.info dnsmasq[1]: using only locally-known addresses for local
Wed Oct 25 20:13:22 2023 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Wed Oct 25 20:13:22 2023 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Wed Oct 25 20:13:22 2023 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Wed Oct 25 20:13:22 2023 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Wed Oct 25 20:13:22 2023 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 4 names
Wed Oct 25 20:13:22 2023 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 2 names
Wed Oct 25 20:13:22 2023 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Wed Oct 25 20:13:27 2023 daemon.info dnsmasq[14565]: started, version 2.89 cache disabled
Wed Oct 25 20:13:27 2023 daemon.info dnsmasq[14565]: compile time options: IPv6 GNU-getopt no-DBus UBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP conntrack no-ipset nftset auth cryptohash DNSSEC no-ID loop-detect inotify dumpfile
Wed Oct 25 20:13:27 2023 daemon.info dnsmasq[14565]: using nameserver 127.0.0.1#15354
Wed Oct 25 20:13:27 2023 daemon.info dnsmasq[14565]: read /etc/hosts - 6 names
Wed Oct 25 20:13:34 2023 daemon.err uhttpd[1425]: sh: write error: Broken pipe
Wed Oct 25 20:13:52 2023 daemon.info dnsmasq[1]: exiting on receipt of SIGTERM
Wed Oct 25 20:14:01 2023 daemon.info dnsmasq[1]: started, version 2.89 cachesize 1000
Wed Oct 25 20:14:01 2023 daemon.info dnsmasq[1]: DNS service limited to local subnets
Wed Oct 25 20:14:01 2023 daemon.info dnsmasq[1]: compile time options: IPv6 GNU-getopt no-DBus UBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP conntrack no-ipset nftset auth cryptohash DNSSEC no-ID loop-detect inotify dumpfile
Wed Oct 25 20:14:01 2023 daemon.info dnsmasq[1]: UBus support enabled: connected to system bus
Wed Oct 25 20:14:01 2023 daemon.warn dnsmasq[1]: warning: ignoring resolv-file flag because no-resolv is set
Wed Oct 25 20:14:01 2023 daemon.info dnsmasq-dhcp[1]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Wed Oct 25 20:14:01 2023 daemon.info dnsmasq[1]: using nameserver 127.0.0.1#15353
Wed Oct 25 20:14:01 2023 daemon.info dnsmasq[1]: using only locally-known addresses for test
Wed Oct 25 20:14:01 2023 daemon.info dnsmasq[1]: using only locally-known addresses for onion
Wed Oct 25 20:14:01 2023 daemon.info dnsmasq[1]: using only locally-known addresses for localhost
Wed Oct 25 20:14:01 2023 daemon.info dnsmasq[1]: using only locally-known addresses for local
Wed Oct 25 20:14:01 2023 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Wed Oct 25 20:14:01 2023 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Wed Oct 25 20:14:01 2023 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Wed Oct 25 20:14:01 2023 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Wed Oct 25 20:14:01 2023 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 4 names
Wed Oct 25 20:14:01 2023 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 2 names
Wed Oct 25 20:14:01 2023 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Wed Oct 25 20:14:03 2023 cron.err crond[15809]: crond (busybox 1.36.1) started, log level 5

截图

No response

系统相关信息

1.21-3

其他信息

No response

github-actions[bot] commented 10 months ago

Stale Issue