What's new

Traffic Analyzer crashing httpd

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

josh3003

Regular Contributor
As title suggests a few months ago I enabled Asus traffic analyser to get a bit more visibility across my network. Every so often my httpd service would crash and I determined it was traffic analyser. I've since disabled it. Is this still a well known issue or has there been a fix for this? Thanks.
 
More info please!
 
More info please!

Sure, so I enabled traffic analyser. Then say 7 days later I go to my browser, login to 192.168.1.1 and the page doesn't load. The internet is still up and running, I can reboot. Or I can ssh into the router, do a service restart_httpd and then refresh the page and I can login to the router again. Found on a forum somewhere someone discovered it was traffic analyser causing the issue. I'll have to find it again but since turning it off haven't had the issue. I'll probably just leave it disabled for reliability sake.
 
Router model? Firmware version? :)
 
Sure, so I enabled traffic analyser. Then say 7 days later I go to my browser, login to 192.168.1.1 and the page doesn't load. The internet is still up and running, I can reboot. Or I can ssh into the router, do a service restart_httpd and then refresh the page and I can login to the router again. Found on a forum somewhere someone discovered it was traffic analyser causing the issue. I'll have to find it again but since turning it off haven't had the issue. I'll probably just leave it disabled for reliability sake.
the frozen web interface issue seems quite common. i don't have Traffic Analyzer enabled, so i don't think it's that. one workaround is to increase Auto Logout time to a large value, say 999 minutes (16hrs).
 
the frozen web interface issue seems quite common.
As in, you can't even load the page, 192.168.1.1? Because that's what I get, when I have it disabled, it does not happen. I might just leave it as is then if that is the case. :)
 
As in, you can't even load the page, 192.168.1.1? Because that's what I get, when I have it disabled, it does not happen. I might just leave it as is then if that is the case. :)
yes, web interface non-functional, requiring service restart_httpd. seems when AutoLogout = 0 (zero), the UI will eventually hang at some point. but if i set the timeout to a large non-zero value, the UI does not hang.
 
yes, web interface non-functional, requiring service restart_httpd. seems when AutoLogout = 0 (zero), the UI will eventually hang at some point. but if i set the timeout to a large non-zero value, the UI does not hang.
Is it possible to schedule and run a cronjob on the router service restart_httpd e.g. every 12 hours or something?
 
That's the easiest fix, but I don't want to take all my devices offline for a simple service restart. I'll get some assistance in setting it up to run a schedule to just restart the httpd service and will enable and monitor the traffic. :)
sorry for the confusion, i meant daily restarts of httpd, not the router
 
sorry for the confusion, i meant daily restarts of httpd, not the router
Trying to set it up at the moment. Haven't done cron on the router before.

Started by ensuring chmod a+rx /jffs/scripts/* was set to be executable.

Then in /jffs/scripts/services-start will it look like below?
Code:
#!/bin/sh
cru a httpd "0 4 * * * service restart_httpd"
 
sorry for the confusion, i meant daily restarts of httpd, not the router
Sorted it out. Tested with a 2 minute cronjob to reset httpd which it did. Just going to stick with a daily 4am reset. Awesome, I'm going to enable traffic analyser after the reboot.
 
most likely freezing when getting stuck checking for updates. turn off automatic firmware check.
Highly doubt it as it has never froze for months after I turned off traffic analyser - statistics. It'll be fine now that I sorted the cronjob out. A daily service restart is all I'll need for it to function as it probably only happened maybe once a fortnight.
 
Highly doubt it as it has never froze for months after I turned off traffic analyser - statistics. It'll be fine now that I sorted the cronjob out. A daily service restart is all I'll need for it to function as it probably only happened maybe once a fortnight.

could be. turning on ai tend micro, qos, or traffic analyzer, can cause conflicts with many things on the router it seems. as an above poster said he gets the issue and he doesn't have traffic analyzer on. Curious issue to say the least. Have you checked syslog for any errors?
 
A
Have you checked syslog for any errors?
At least now my httpd service should be staying alive I'll be able to. Before I knew about restarting that service I rebooted the router which of course killed the logs. I'll keep an eye on them.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top