httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ethan Rosenberg <erosenb...@hygeiabiomedical.com>
Subject [users@httpd] Apache is Slow
Date Mon, 30 Mar 2015 03:51:20 GMT
Dear List -

When I call another page in PHP, Apache can take 5 to 10 minutes to open the page.

Example:

         <script type="text/javascript">
         <!--
		window.location.assign("http://localhost/HandleWeight.php");
         //-->\
        </script>

can take 5 - 10 min.

 > root@meow:/var/www# /usr/sbin/apache2 -V
 > Config variable ${APACHE_LOCK_DIR} is not defined
 > --> Mutex file:${APACHE_LOCK_DIR} default
 >
 > Config variable ${APACHE_PID_FILE} is not defined
 > --> # PidFile: The file in which the server should record its
 > process
 > # identification number when it starts.
 > # This needs to be set in /etc/apache2/envvars
 > #
 > PidFile ${APACHE_PID_FILE}
 > /etc/apache2/envvars
 > --> export APACHE_PID_FILE=/var/run/apache2/apache2$SUFFIX.pid
 >
 >
 > Config variable ${APACHE_RUN_USER} is not defined
 > Config variable ${APACHE_RUN_GROUP} is not defined
 > --> # These need to be set in /etc/apache2/envvars
 > User ${APACHE_RUN_USER}
 > Group ${APACHE_RUN_GROUP}
 > /etc/apache2/envvars
 > --> export APACHE_RUN_USER=www-data
 > export APACHE_RUN_GROUP=www-data
 >
 >
 > Config variable ${APACHE_LOG_DIR} is not defined  >> this error
 > message appears 5 times??
 > --> ErrorLog ${APACHE_LOG_DIR}/error.log
 >
 >
 > AH00526: Syntax error on line 74 of /etc/apache2/apache2.conf
 > --> I tried to strip out the comments, and came up with less than
 > 74 lines.
 >
 >
 > Invalid Mutex directory in argument file:${APACHE_LOCK_DIR}
 > --> See above.
 >
root@meow:/home/ethan/BluBev# ps -A |grep apache2
11972 ?        00:00:30 apache2
22196 ?        00:00:00 apache2
22197 ?        00:00:00 apache2
22198 ?        00:00:00 apache2
22199 ?        00:00:00 apache2
22200 ?        00:00:00 apache2

Totally confused.

TIA

Ethan


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message