-2

Hi my server is running low on memory from time to time

I assume apache is the problem. Is there a way how i can tell which http-url a httpd2-prefork from top is running?

wutzebaer
  • 129

1 Answers1

1

You can create a custom log format logging both Process ID and URL. That way you should quite easily be able to find any errors.

First define the log:

LogFormat "%P \"%r\"" processid

Then insert it into your conf/vhost conf:

CustomLog /logs/processlog processid

Check documentation here: http://httpd.apache.org/docs/current/mod/mod_log_config.html

Jensd
  • 157