Forum Discussion
LTM VE: task using high CPU
Every now and then a task stats running at high CPU and causes a lag in normal transactions.
I see that five processes are created very frequently and I assume they are for a request going through the LTM. The command names are made up of ten random alpha characters and there are almost always five of them and they disappear very quickly.
However occasionally one of the task doesn't terminate and sometimes it uses 30% of the available CPU.
How can I diagnose what is happening?
1 Reply
Hey Bob!
Try running this:
watch -n1 "ps aux | awk '{if(\$3 > 10){ print \$0 }}' >> /var/tmp/psstat.log"What it does is to once per second capture the CPU usage of processes using more than 10% CPU (increase the limit if you see fit) and logs it into
/var/tmp/psstat.logThen you can sort it by running:
cat /var/tmp/psstat.log | sort -rk 3,3If you can paste the rows containing the mysterious process we might be able to figure it out.
/Patrik
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com