Hello All
We have an application (actually several, using the same framework)
that started to consume 100%CPU. ( Worked for years normally untill
now).
It starts doing so only after running for several days. It contains
several processes, that mainly
do something like
for (;

{
sleep or poll or select for 25 seconds;
do_little_task();
}
I used gdb and stopwatch on several processes and found that it spends
most of the time in sleep or select. Time between cycles is about same
25 seconds, and still top and ps shows 25-50% of CPU utilization for
such process.
After restarting CPU utilization drops dramatically.
There is no memory problems, as virtual process size is the same after
restart and after long run
Any ideas?
Best regards, Konstantin
PS
Red Hat Enterprise Linux AS release 4 (Nahant Update 7)
uname -a
Linux astrares.domainname.com 2.6.9-78.0.1.ELsmp #1 SMP Tue Jul 22
18:11:48 EDT 2008 i686 i686 i386 GNU/Linux