strace apache or process to detect bottlenecks

Sometimes you have a multi threaded / multi processed application and you need to see where are things hanging.

ps auxw | grep sbin/apache | awk '{print"-p " $2}' | xargs strace

 

nJoy 😉

Write a Reply or Comment

Your email address will not be published.