DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Linux Servers and Apache (http://www.daniweb.com/forums/forum33.html)
-   -   KeepAlive and refreshing iframe (http://www.daniweb.com/forums/thread137393.html)

Robin_CG Jul 29th, 2008 11:01 am
KeepAlive and refreshing iframe
 
Hi everybody,
I have problems with refreshing page in iframe (by javascript window.location=http://siteRunningAtWinsAndApache2.2...).

When the javascript loops refreshing the page in iframe (every minute), it's nice, page loads and everybody is happy.

But as time passes, e.g. after one hour of looped refreshing the iframe src, the page in iframe just stops responding - it's loading and loading and loading and showing a blank page.

-----

What is strange is that it is only doing with two of my applications (One on Apache 2.2 and One on Tomcat 5.5). Other applications are fine.

I guess it is some configuration stuff, like KeepAlive, MaxKeepAliveRequests or something.

-----

Can anybody tell me what can be the trouble in this case? Can it be the httpd.conf/server.xml configuration thing? Any advises?

lordspace Jul 29th, 2008 9:45 pm
Re: KeepAlive and refreshing iframe
 
Is it a local machine or a hosting server ?

Could you post apache's log files ?

Robin_CG Jul 30th, 2008 3:04 am
Re: KeepAlive and refreshing iframe
 
Apache logs
When page is loading OK:

3.149.220.42 - R2\\123028493 [29/Jul/2008:12:21:04 +0200] "GET /index.php HTTP/1.1" 200 682
<and some images, styles and js, php loadings>

When page is white blank and still loading there is nothing related in access and also error logs.

Is it a local machine or a hosting server?
My javascript page-reloading application is running on my notebook connected to local network, and the webserver is in server room (intranet).

KeepAlive
I have tried KeepAlive On (MaxKeepAliveRequests 0,100,300), Off - nothing helps, so my quess with KeepAlive was wrong.


Regards,
Robert Varga

Robin_CG Jul 30th, 2008 10:07 am
Re: KeepAlive and refreshing iframe
 
Anybody who can help here?


All times are GMT -4. The time now is 7:03 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC