View previous topic :: View next topic |
Author |
Message |
svenlohuis -
Joined: 29 Apr 2005 Posts: 6
|
Posted: Wed Nov 02, 2005 8:32 pm Post subject: slow loading site.. how to expand loading time |
|
|
Hey every one!
I have a webpage wich is php build.
The page will load the inbox of my pop mailbox but the longer teh mailbox becomes the longer the page needs to load.
This is not a big poit. but if the pages needs more than +/- 20 sec to load it automatic stops loading afther this time and the proces on the server stops also. Not mather wich browser i use
Now my question is:
How do i increase the max loading time of that page? I have tryd the php.ini file but that has also no big suc6
Regards
Sven Lohuis |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Wed Nov 02, 2005 11:11 pm Post subject: |
|
|
You can increase PHP's performance by downloading a PHP Accelerator or you
can possibly try Gzip Compression to compress the content being sent. LateR!
This topic may help you with the speed of PHP
http://www.aprelium.com/forum/viewtopic.php?t=7418
Note: ISAPI can also help speed the process since it does'nt require the
interpreter to be loaded each time a PHP page is processed. If you don't
need to use Abyss's built in console variables , ISAPI is an option.
Sincerely , TRUSTpunk |
|
Back to top |
|
 |
svenlohuis -
Joined: 29 Apr 2005 Posts: 6
|
Posted: Thu Nov 03, 2005 12:01 am Post subject: |
|
|
hmm handy to know :-) but not what i ment! I need o expand the loading time! not to shrink the file size of mij scripts with gzip!
I wil overlook the idea of a php accelerator... always handy ;-) and interesting :-P
but is there a way to change the the point where it stops loading? its always around the same time! |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Thu Nov 03, 2005 12:16 am Post subject: |
|
|
Edit: I didn't understand what you where saying. Read the new replies.
Last edited by TRUSTAbyss on Fri Nov 04, 2005 7:31 pm; edited 1 time in total |
|
Back to top |
|
 |
olly86 -
Joined: 25 Apr 2003 Posts: 993 Location: Wiltshire, UK
|
Posted: Fri Nov 04, 2005 6:47 pm Post subject: |
|
|
It sounds like your PHP script is timing out (ie: the allowed running time of the script is used up, and therefore is terminated). You can change this setting in the Abyss console, however, as I haven't got a copy of abyss on the computer I'm working on you will need to look for the setting. I think it's under Scripting Parameters". _________________ Olly |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Fri Nov 04, 2005 6:53 pm Post subject: |
|
|
It could also be caused by a slow CPU. What is the speed of the CPU your server uses? _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
svenlohuis -
Joined: 29 Apr 2005 Posts: 6
|
Posted: Sat Nov 05, 2005 6:41 pm Post subject: |
|
|
its a 1.8 ghz system with 512 ddr ram and 500GB hd
But i think ervery one is understanding my quesion rong!
the scripts are not slow!!!
I have a script that makes it possible to connect to another pop3server to vieuw that inbox!
the biger the inbox the langer php has to wait until it can compleet the loop!
No it looks like that the server or browser stops the connection (stops loading) if it takes more than +/- 20 sec to continue with loading!
is it possible to expand or shut down this "time out" thing. :-)
BTW, Nice website and server inquisitor ;-) |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sat Nov 05, 2005 6:43 pm Post subject: |
|
|
Quote: | BTW, Nice website and server inquisitor ;-) |
Thanks
Im not sure what you are asking in your question. It seems everybody is having problems understanding what you mean. Perhaps you can explain it a bit more? _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
svenlohuis -
Joined: 29 Apr 2005 Posts: 6
|
Posted: Sun Nov 06, 2005 2:44 pm Post subject: |
|
|
hmmzzz ok :-)
when a page is loading the browser reciefs every time some data (loading a image or if a php page the next lines of the site....) normely the visitor recievs every 1 sec (or smoler) a bit more of the html page (if made in php) but what if the server does not send any data about the html page? what if the php script is still loading the inbox of that imap box? so it simpley cand send any date becouse it is still loading?
this will make a gap of time that the browser reciefs no data from the server!
this normely does not happend becous if a script is slow it still sends some data to the browser van what will be next!
Now it does not becous it first has to load that inbox! Not becouase the server is slow but the pop3 inbox is slow!!
If this "gap of no data" hangs on for let me say +/- 20 sec the browser OR the the server shuts down the script and the browser stops loading and willl display the data it has reciefd!
If in may case the inbox is small enof so the page has a gap of 15 sec of no data send than it willl contiue wit loading afther that gap.
If it needs 25 sec of loading it does not compleet the page! it stops in that loading loop!
:-)
My question is is there a way to enlarge that "max gap tim" or "no data time out time" because it is on every browser afther thesame time that the page stops loading.
I hope now i could explain what i ment ;-) |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sun Nov 06, 2005 2:46 pm Post subject: |
|
|
I still have no idea what you mean, maybe someone else does? _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
olly86 -
Joined: 25 Apr 2003 Posts: 993 Location: Wiltshire, UK
|
Posted: Sun Nov 06, 2005 3:19 pm Post subject: |
|
|
I think you need to increase the time PHP is allowed to run before the server, terminates PHP, as it has exceeded the allowed runtime.
To do this open the Abyss console and open the Config option on the host that the script is running on. Next goto Scripting Parameters > CGI Parameters. And change the CGI Execution Timeout option to higher value, this should solve your problem. _________________ Olly |
|
Back to top |
|
 |
svenlohuis -
Joined: 29 Apr 2005 Posts: 6
|
Posted: Sun Nov 06, 2005 6:08 pm Post subject: |
|
|
:-D
that whas where i whas looking for :-P
incombination with expanding the time in php.ini it works PERFECTLY!!!!
:-) THNX!! :-P
it works now ;-) |
|
Back to top |
|
 |
|