If you were unaware, the router's AiCloud feature has been an attack vector point (again) malware. Even though Asus claims to have patched AiCloud (again) with their latest firmware; because it's been the intrusion point several times now for malware
it might be wise from a security standpoint to disable AiCloud entirely and use another method of remote access like the firmware's VPN server feature. Big discussion on the latest malware affecting Asus routers via AiCloud:
This malware damaging Asus routers has to be described in a sticky thread with a warning sign! Update: Asus is releasing patched firmware for multiple models. Check for firmware updates! The changelog for most firmware releases contains the following: 1. Strengthened input validation and data...
www.snbforums.com
One should also
strongly consider disabling
Enable Web Access from WAN access (on the Administration > System page) as well if one has it enabled.
Are you using the router's Download Master feature too?
If the router's RAM is being maxed out (90% or higher) due to attached USB hard drive Samba/SMB usage (drive backup and downloads), you might try clearing the router's cache (using SSH) as a troubleshooting step to see if that helps with your issue.
Code:
sync; echo 1 > /proc/sys/vm/drop_caches
or
sync && echo 3 > /proc/sys/vm/drop_caches
or
free && sync && echo 3 > /proc/sys/vm/drop_caches && free
One user setup a CRON job to clear the cache daily.
See this link.
As always, if the router is exhibiting strange behaviors or having unresolvable issues it is often wise to perform a hard factory reset followed by a manual configuration. Do not import a saved router.cfg file, and disconnect any attached USB drive before performing a hard factory reset and manual configuration. Only reattach the USB drive to the router after ensuring the router is operating properly for a period of time.