ispCP - Board - Support
Page loads in random spurts? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: Page loads in random spurts? (/thread-465.html)



Page loads in random spurts? - andars - 05-01-2007 06:01 AM

I have an odd problem. Pages that use php seem to load in a random spurt fashion. What I mean by "spurt fashion" is it will take 2-3 seconds before it loads the first php script, such as the index of a phpbb forum. Afterwards, every page on the forum loads instantly. Static pages, such as html pages, always load instantly. ISPCP always seems to load instantly as well despite it using php scripts. I don't think it's an issue with my computer or connection setup as I have not had this problem before. It's difficult to explain, so I linked the example sites.


Some examples of what I'm talking about are:

http://www.game-sales.info/forums
http://www.burntferret.com/forums
http://www.ravenholt.info/test.php

My computer specs are:

1.5 mbps upload
A64 3700+
1 GB DDR433 RAM
2x74GB 10k RPM (WD Raptors) in Raid0 using mdadm


RE: Page loads in random spurts? - mata - 05-01-2007 06:44 AM

The way i see this:

http://dnsreport.com/tools/dnsreport.ch?domain=game-sales.info

you have a dns problem rather then the webserver not processing the php

wrong dns like this can cause much time the first load.

Mata


RE: Page loads in random spurts? - andars - 05-01-2007 06:47 AM

The DNS errors are just referring to only having one DNS server. I don't believe that is the problem.


RE: Page loads in random spurts? - mata - 05-01-2007 06:54 AM

the parent nameserver is not reporting the same as your nameserver.

you say it yourself .. first time i load a php .. dns is only on first time you go to a website ..


RE: Page loads in random spurts? - andars - 05-01-2007 06:57 AM

Yes, but http://www.ravenholt.info/test.php does the same thing. Ravenholt.info has no major DNS errors and the parent dns server is set correctly. My first thought was DNS as well.


RE: Page loads in random spurts? - ephigenie - 05-01-2007 07:40 AM

hm i see you got fast disks - but your system is reacting slow...
don't have a clue about what happened on your system - but i can tell you what's causing a little delay :

the fastcgi process has to be started first. Thats taking a moment. But usually on new systems its up in <1s . your system is by far fast enough to do it like that.

If you don't know what else to do - just go into your /etc/apache2/mods-enabled/fastcgi.conf and set the idle + kill timeout bigger than the php process won't get stopped so quick if nothing happens.


RE: Page loads in random spurts? - andars - 05-01-2007 08:07 AM

Thanks for the help. I'll keep searching around and see what I can find. Your mention of php-cgi gives me a general direction towards the problem. This is frustrating Tongue


RE: Page loads in random spurts? - andars - 05-02-2007 02:29 AM

I changed singleThreshold to 0 to keep the process persistent. However, I'm afraid that the more sites I add the more and more processes it will create lol. I asked on the debian forums, hopefully they can help.