Tracking php process on framework <p>I have a php framework is running on linux machine basicly every requests redirect to index.php by .htaccess </p> <pre><code>Options +FollowSymLinks IndexIgnore */* RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !.*jpg$|!.*gif$|!.*png$|!.*jpeg$|!.*bmp$ RewriteRule . index.php </code></pre> <p>One of my php started to run %100 CPU i want to track which progress is that but when i check process with </p> <p>ps aux | grep 23791</p> <pre><code>user 23791 0.3 0.8 30460 15288 ? S 12:32 0:01 /usr/bin/php /home/user/public_html/index.php </code></pre> <p>As normal, request redirect to index.php.But i have to find which request is this.</p> <p>Is there any way to debug this problem ?</p> <p>Thanks.</p>