what does rootfs do that needs to be ran every 10 seconds for my cpu spike to happen?
dev: size erasesize name
mtd0: 00080000 00020000 "boot"
mtd1: 00180000 00020000 "nvram"
mtd2: 03e00000 00020000 "linux"
mtd3: 03c498f0 00020000 "rootfs"
mtd4: 04000000 00020000 "brcmnand"
rootfs contains the firmware. It probably means you have a program that loads something from the firmware partition every 10 secs, can be a program that gets restarted every 10 secs for example.
Thanks for showing that entware can install lsof, I was able to narrow down the culprit to "lighttpd-monitor" it was constantly using mtd3, and once killed, stopped it.
That program is part of AiCloud. Do you use AiCloud?
Thanks for showing that entware can install lsof, I was able to narrow down the culprit to "lighttpd-monitor" it was constantly using mtd3, and once killed, stopped it.
I'm having the same issue after tracking down the process that is causing the CPU to spike - kinda still new to linux so could you share what commands you used to shutdown "lighttpd-monitor" and/or AIcloud?
Thanks in advance!
You can turn off AI cloud in the GUI of the router.
And nice necro this thread is almost 3 years old.
Are you sure it's the same problem/process? Apart from the OP I don't remember anyone else ever reporting this problem. (and people are overly sensitive about their CPU usage)And yeah - looks like three years later people are still facing the same very issue even on the latest firmware.
I don’t for sure..Are you sure it's the same problem/process? Apart from the OP I don't remember anyone else ever reporting this problem. (and people are overly sensitive about their CPU usage)
What I meant by "sensitive" is that the geeks on this site watch their router's CPU usage like a hawk and if they saw they same symptoms as you describe they would be very vocal about it.however it’s more than just being ‘sensative’ to high CPU usage.
When the high cpu usage occurs it takes both dual cores to 100% and results in page timeouts for regular website requests because I believe the router isn’t passing on DNS requests while whatever process is causing then CPU spike
Unfortunately, as described above mtdblock3 doesn't necessarily mean it's anything to do with lighttpd-monitor. All that means is that it is reading something from the firmware's operating system - but it could be anything.What is certain is that the same main process “mtdblock3” is the what is causing the issue verified by using the top command. Without lsof I don’t know any other way to determine what is calling and is responsible for imitating mtdblock3 in the first place.
What I meant by "sensitive" is that the geeks on this site watch their router's CPU usage like a hawk and if they saw they same symptoms as you describe they would be very vocal about it.
cat /proc/mtd
opkg update
opkg install lsof
Thanks heaps for the help and thoughts!Can you log into the router and confirm your partition layout with the following command:
Code:cat /proc/mtd
And try this: [CODE said:opkg update
opkg install lsof[/CODE]
what was the command?Thanks for showing that entware can install lsof, I was able to narrow down the culprit to "lighttpd-monitor" it was constantly using mtd3, and once killed, stopped it.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!