Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My web server is running CentOS and every time a certain page is accessed on my forum, httpd locks up and I can never seem to pinpoint the exact file.

Is there any way to view the pages that currently have requests open on a CentOS/UNIX-based server?

share|improve this question
up vote 5 down vote accepted

You can try using ApacheTop. It shows out output like this:

enter image description here

share|improve this answer

If you have mod_status enabled (and possibly ExtendedStatus set to On), and you're in a whitelist like this:

# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
# Change the ".example.com" to match your domain to enable.
<Location /server-status>
   SetHandler server-status
   Order deny,allow
   Deny from all
   Allow from

you can get a list of what the processes and threads are doing, uptime, etc. at http://your.server/server-status. (Won't help you if your server is completely irresponsive, though.)

share|improve this answer

Did you try tail /var/log/apache2/access.log and tail /var/log/apache2/access.log? In case of problems, I usually start tail -F /var/log/apache2/*.log Notice the capital F, some Unices do not support it, in that case change it to f

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.