RE: [users@httpd] High cpu load on apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From recent experience with this kind of problems you may want to run "prstat -L -p <PID>" on the process using the CPU to identify the thread that loops. 

Then use gdb to either attach to the process, or to analyse a core that you have forced by sending the process an adequate signal (e.g. QUIT, TRAP or ABRT, for example kill -ABRT <PID>)

In gdb "info threads" will list all the threads. You should be able to find the thread that is looping, change to the thread with "thread <thread id>" and with "bt full" dump a stack trace that will allow you to identify the function(s) involved in the loop. That should give you an idea of the faulty module.

Lykke til
-ascs

-----Original Message-----
From: Kjell Grindalen [mailto:kjell.grindalen@xxxxxx] 
Sent: Wednesday, November 23, 2005 3:43 PM
To: users@xxxxxxxxxxxxxxxx
Subject: SV: [users@httpd] High cpu load on apache

Well, actually i like it :-)

After going to preforked, instead of threaded, i ahve seen a pattern, that it consistently hangs on sa component called showpictureservlet component..wich is websphere..
I wanted to just og here first to see if i had done something very wrong along the way.


Thank you!

Mvh

Kjell Grindalen 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux