I've run into a really strange problem that I'm hoping someone else has seen before or better yet make a suggestion on how to fix it.
As the title states I'm running OpenWrt 18.06.2 on TP-Link TL-WR940N v4 in Access Point mode. Once or twice every hour the router stops responding to ping, http and ssh. Pretty much all of the active services (I have dhcpd and dns disabled). None of the devices attached to the router have any connectivity problems, only the router's IP. I wrote a cron job from the gateway the router is attached to so I could monitor this a little better and here's an example of what I'm seeing.
Wed Jun 19 00:46:12 EDT 2019 ping timeout
Wed Jun 19 00:46:22 EDT 2019 http timeout
Wed Jun 19 00:46:37 EDT 2019 ssh timeout
Wed Jun 19 01:01:02 EDT 2019 01:01:02 up 5:47, load average: 0.00, 0.00, 0.00
Wed Jun 19 01:16:12 EDT 2019 ping timeout
Wed Jun 19 01:16:22 EDT 2019 http timeout
Wed Jun 19 01:16:37 EDT 2019 ssh timeout
Wed Jun 19 01:31:02 EDT 2019 01:31:02 up 6:17, load average: 0.00, 0.00, 0.00
Wed Jun 19 01:46:13 EDT 2019 ping timeout
Wed Jun 19 01:46:23 EDT 2019 http timeout
Wed Jun 19 01:46:38 EDT 2019 ssh timeout
Wed Jun 19 02:01:02 EDT 2019 02:01:02 up 6:47, load average: 0.00, 0.00, 0.00
Wed Jun 19 02:16:02 EDT 2019 02:16:02 up 7:02, load average: 0.00, 0.00, 0.00
Wed Jun 19 02:31:12 EDT 2019 ping timeout
Wed Jun 19 02:31:22 EDT 2019 http timeout
Wed Jun 19 02:31:37 EDT 2019 ssh timeout
Wed Jun 19 02:46:02 EDT 2019 02:46:02 up 7:32, load average: 0.01, 0.02, 0.00
Wed Jun 19 03:01:12 EDT 2019 ping timeout
Wed Jun 19 03:01:22 EDT 2019 http timeout
Wed Jun 19 03:01:37 EDT 2019 ssh timeout
Wed Jun 19 03:16:02 EDT 2019 03:16:02 up 8:02, load average: 0.00, 0.00, 0.00
So every 15 minutes I perform a ping, http request and try to ssh in and run the uptime command. Often times all of the requests timeout. However, if I run another job to just ping the router's IP every 10-15 seconds the same cron job is successful every single time.
Tue Jun 18 20:16:02 EDT 2019 20:16:02 up 1:02, load average: 0.00, 0.00, 0.00
Tue Jun 18 20:31:02 EDT 2019 20:31:02 up 1:17, load average: 0.00, 0.00, 0.00
Tue Jun 18 20:46:02 EDT 2019 20:46:02 up 1:32, load average: 0.00, 0.00, 0.00
Tue Jun 18 21:01:02 EDT 2019 21:01:02 up 1:47, load average: 0.04, 0.01, 0.00
Tue Jun 18 21:16:03 EDT 2019 21:16:03 up 2:02, load average: 0.00, 0.00, 0.00
Tue Jun 18 21:31:02 EDT 2019 21:31:02 up 2:17, load average: 0.02, 0.01, 0.00
Tue Jun 18 21:46:02 EDT 2019 21:46:02 up 2:32, load average: 0.07, 0.01, 0.00
Tue Jun 18 22:01:02 EDT 2019 22:01:02 up 2:47, load average: 0.03, 0.02, 0.00
Not a single timeout. Does anyone have any ideas on what is happening and why? I'm more than happy to run any other tests and provide the results. Thanks in advance for any insights or help you may be able to provide.