Jump to content
user283

AdGuard Home зависает на Keenetic Omni если включены логи

Recommended Posts

Здравствуйте.

Установил через opkg последнюю версию AdGuard Home. Первые несколько часов после запуска работает нормально, затем веб интерфейс AdGuard перестает загружаться, домены не резолвятся. В веб интерфейсе роутера CPU usage - 100%.

В логах вижу ошибки 

[info] SafeBrowsing: failed: couldn't initialize HTTP client or transport, cause: timeout exceeded: 5810 ms

[info] SafeBrowsing: failed: couldn't do a POST request to 'https://dns-family.adguard.com:443/dns-query', cause: Get "https://dns-family.adguard.com:443/dns-query?dns=XXX": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

 

Зависания прекращаются если отключить логи:

1592333306.thumb.png.44e91ce0cacf01085d05cae2f034fe99.png

 

Но эти логи мне очень нужны.

На флешке вижу файл querylog.json размером в 3 мб.

 

Как можно избавится от зависаний? Дело в слабом процессоре роутера, или есть смысл купить более быструю флешку?

Share this post


Link to post
Share on other sites

Везде где запускал на роутерах памяти более 128МБ

Скрытый текст

/ # cd /proc/767
/proc/767 # ls -l
-r--------    1 root     root             0 Jun 17 08:23 auxv
-r--r--r--    1 root     root             0 Jun 17 08:22 cmdline
-rw-r--r--    1 root     root             0 Jun 17 08:23 comm
lrwxrwxrwx    1 root     root             0 Jun 17 08:20 cwd -> /
-r--------    1 root     root             0 Jun 17 08:23 environ
lrwxrwxrwx    1 root     root             0 Jun 17 08:20 exe -> /opt/home/AdGuard/AdGuardHome
dr-x------    2 root     root             0 Jun 17 08:20 fd
dr-x------    2 root     root             0 Jun 17 08:20 fdinfo
-r--r--r--    1 root     root             0 Jun 17 08:23 limits
dr-x------    2 root     root             0 Jun 17 08:23 map_files
-r--r--r--    1 root     root             0 Jun 17 08:20 maps
-rw-------    1 root     root             0 Jun 17 08:23 mem
-r--r--r--    1 root     root             0 Jun 17 08:23 mountinfo
-r--r--r--    1 root     root             0 Jun 17 08:23 mounts
-r--------    1 root     root             0 Jun 17 08:23 mountstats
dr-xr-xr-x    6 root     root             0 Jun 17 08:23 net
dr-x--x--x    2 root     root             0 Jun 17 08:23 ns
-rw-r--r--    1 root     root             0 Jun 17 08:23 oom_adj
-r--r--r--    1 root     root             0 Jun 17 08:23 oom_score
-rw-r--r--    1 root     root             0 Jun 17 08:23 oom_score_adj
-r--------    1 root     root             0 Jun 17 08:23 personality
lrwxrwxrwx    1 root     root             0 Jun 17 08:20 root -> /
-r--r--r--    1 root     root             0 Jun 17 08:20 stat
-r--r--r--    1 root     root             0 Jun 17 08:23 statm
-r--r--r--    1 root     root             0 Jun 17 08:20 status
-r--------    1 root     root             0 Jun 17 08:23 syscall
dr-xr-xr-x   16 root     root             0 Jun 17 08:20 task
-rw-rw-rw-    1 root     root             0 Jun 17 08:23 timerslack_ns
-r--r--r--    1 root     root             0 Jun 17 08:23 wchan
/proc/767 # cat status
Name:   AdGuardHome
Umask:  0022
State:  S (sleeping)
Tgid:   767
Ngid:   0
Pid:    767
PPid:   1
TracerPid:      0
Uid:    0       0       0       0
Gid:    0       0       0       0
FDSize: 256
Groups:  
VmPeak:   678000 kB
VmSize:   678000 kB
VmLck:         0 kB
VmPin:         0 kB
VmHWM:     44272 kB
VmRSS:     42464 kB
RssAnon:           31720 kB
RssFile:           10744 kB
RssShmem:              0 kB
VmData:    37612 kB
VmStk:       132 kB
VmExe:      6320 kB
VmLib:      8216 kB
VmPTE:        64 kB
VmPMD:         0 kB
VmSwap:        0 kB
Threads:        14
SigQ:   4/1988
SigPnd: 00000000000000000000000000000000
ShdPnd: 00000000000000000000000000000000
SigBlk: 00000000000000000000000000000000
SigIgn: 00000000000000000000000000800000
SigCgt: fffffffffffffffffffffffe783ffeff
CapInh: 0000000000000000
CapPrm: 0000003fffffffff
CapEff: 0000003fffffffff
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
Speculation_Store_Bypass:       unknown
Cpus_allowed:   f
Cpus_allowed_list:      0-3
voluntary_ctxt_switches:        68
nonvoluntary_ctxt_switches:     41
/proc/767 # 
/proc/767 # cat /proc/meminfo
MemTotal:         254712 kB
MemFree:           26244 kB
MemAvailable:      97532 kB
Buffers:            5556 kB
Cached:            74296 kB
SwapCached:           16 kB
Active:            86900 kB
Inactive:          71412 kB
Active(anon):      46064 kB
Inactive(anon):    32932 kB
Active(file):      40836 kB
Inactive(file):    38480 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:       2096124 kB
SwapFree:        2096108 kB
Dirty:                16 kB
Writeback:             0 kB
AnonPages:         78448 kB
Mapped:            37692 kB
Shmem:               536 kB
Slab:              43524 kB
SReclaimable:      25640 kB
SUnreclaim:        17884 kB
KernelStack:        2224 kB
PageTables:         1204 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     2223480 kB
Committed_AS:     392400 kB
VmallocTotal:    1048372 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
/proc/767 # 

 

В вашем роутере это 64MБ, возможно этого не достаточно. Так же в моем случае размер его за сутки 4.4MБ.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...