Re: Apache is Slow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/30/2015 09:39 AM, Eric Covener wrote:
On Sun, Mar 29, 2015 at 11:51 PM, Ethan Rosenberg
<erosenberg@xxxxxxxxxxxxxxxxxxxx> wrote:
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>

What's slow, http://localhost/HandleWeight.php or the page that
generates the HTML that redirects to it?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
-----

Eric -

Thanks.

Not 100% sure.  Newbie at this end.

Here are two scripts and my notes.  Maybe this can clarify the issue.

start.php

	echo "Hello<br />";

?>		
	<script type="text/javascript">
	<!--
	//window.open(" http://localhost/end.php","_self";); //slower
	//window.location.href("http://localhost/end.php";);  //never calls script
	//window.location.assign("http://localhost/end.php";); //almost instantaneous
	
	//window.open(" http://localhost/HandleWeight.php","_self";);  //hangs
	//window.location.href("http://localhost/HandleWeight.php";); //never calls script
	window.location.assign("http://localhost/HandleWeight.php";); //hangs  10 min, never called.  Timed out
	

		//-->\
		</script>

----

end.php

<?php
        echo "<br />World";

?>

Standard headers on both files...

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>
 etc....

Hope this helps.

TIA

Ethan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux