Need help, huge amounts of CPU Goes waist.

omri75

New member
Joined
Mar 15, 2006
Messages
1
Hi, i am using apache for 4-5 years now, didnt have any problem.
In the last 30 days im having hell of trubles.
Apache suddenly takes 30-50% CPU and stay like that for minuts, untill its
return to normal, and again its hapening , every 5-6 minuts. i cant seem
to find the problem,
This is what i got Installed: Zend Optimizer, PHP latest 4x release, the
problem occurs with or without Eaccelerator, wich i use too, error logs
seems clean and not showing anything releated.
i tried strace -p and all i get it HUGE amount (6mb text file in 1
minute) of syscalls ALOT OF TIME NULLS like this :
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] time(NULL) =3D 1142431986
[403e948d] --- SIGPROF (Profiling timer expired) @ 0 (0) ---
[403eb664] setitimer(ITIMER_PROF, {it_interval=3D{0, 0}, it_value=3D{15,
0}}, NULL) =3D 0
[4037de2e] rt_sigaction(SIGPROF, {0x4030be80, [PROF],
SA_RESTORER|SA_RESTART, 0x4037ded8}, {0x4030be80, [PROF], =
SA_RESTORER|SA_RESTART, 0x4037ded8}, 8) =3D 0
[4037df64] rt_sigprocmask(SIG_UNBLOCK, [PROF], NULL, 8) =3D 0
[40426d7d] chdir("/") =3D 0
[4037de2e] rt_sigaction(SIGSEGV, {0x4030be80, [SEGV], =
SA_RESTORER|SA_RESTART, 0x4037ded8}, {0x4030be80, [SEGV], =
SA_RESTORER|SA_RESTART, 0x4037ded8}, 8) =3D 0
[4037de2e] rt_sigaction(SIGFPE, {SIG_DFL}, {0x4030be80, [FPE], =
SA_RESTORER|SA_RESTART, 0x4037ded8}, 8) =3D 0
[4037de2e] rt_sigaction(SIGBUS, {0x4030be80, [BUS], =
SA_RESTORER|SA_RESTART, 0x4037ded8}, {0x4030be80, [BUS], =
SA_RESTORER|SA_RESTART, 0x4037ded8}, 8) =3D 0
[4037de2e] rt_sigaction(SIGILL, {0x4030be80, [ILL], =
SA_RESTORER|SA_RESTART, 0x4037ded8}, {0x4030be80, [ILL], =
SA_RESTORER|SA_RESTART, 0x4037ded8}, 8) =3D 0
[4037de2e] rt_sigaction(SIGABRT, {0x4030be80, [ABRT], =
SA_RESTORER|SA_RESTART, 0x4037ded8}, {0x4030be80, [ABRT], =
SA_RESTORER|SA_RESTART, 0x4037ded8}, 8) =3D 0
[40400a77] getpid() =3D 29298
[40400a77] getpid() =3D 29298
[40400a77] getpid() =3D 29298

there are many many many of time(NULL) =3D 1142431986
and i mean many, and it going like realy fast on the screen, about 6+ mb
in 2 minuts=20
and its stops for some time.. and after 5-6 minuts - again.=20
Please help me to pinpoint this problem
Im runing Linux kernel 2.4.32 , It happens with other kernels, i
upgraded from 1.3 to 2.0 , wich didnt solve the problem as well.
Thanks
Omri.
 
Back
Top