Author Topic: Waiting for www.example.com  (Read 290 times)

0 Members and 2 Guests are viewing this topic.

Offline murtuza.hasan.13Topic starter

  • Irregular
    • View Profile
Waiting for www.example.com
« on: January 13, 2010, 07:44:15 AM »
Hello,

We are developing our application with phpcake. We have a very low
response from the server, because, when we test the app from several
browsers or places, we always get the same low response, the problem
is that the server takes a lot of time with message waiting for
response from server "Waiting for www.example.com"

Is it a server problem or a phpcake configuration?

Thank you in advance

Offline ignace

  • Addict
  • Gender: Male
  • doh
    • View Profile
Re: Waiting for www.example.com
« Reply #1 on: January 13, 2010, 09:00:59 AM »
How is the response of the application when you run it locally?
Computer programming is tremendous fun. Like music, it is a skill that derives from an unknown blend of innate talent and constant practice. Like drawing, it can be shaped to a variety of ends – commercial, artistic, and pure entertainment. Programmers have a well-deserved reputation for working long hours but are rarely credited with being driven by creative fevers. Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination, but because their imagination reveals worlds that others cannot see.

Quote
The box said ‘Requires Windows Vista or better’. So I installed Linux

Quote
Windows comes pre-bundled with IE to download Firefox


Offline murtuza.hasan.13Topic starter

  • Irregular
    • View Profile
Re: Waiting for www.example.com
« Reply #2 on: January 14, 2010, 12:40:30 AM »
Firstly, thanks for ur reply.

Locally its even more worse, i get continuous timeouts. Query execution time in the page is about 0.4 to 0.6 seconds. i removed most parts of my page where loops are running, but still ddnt help. The overall time reduced by a second or two, but the "waiting for www.example.com" still remains.
« Last Edit: January 14, 2010, 12:41:50 AM by murtuza.hasan.13 »

Offline thorpe

  • Staff Alumni
  • 'Mind Boggling!'
  • *
    • View Profile
Re: Waiting for www.example.com
« Reply #3 on: January 14, 2010, 01:02:12 AM »
I've had similar issue with Zend and ended up having to drop it in favor of something more lightweight, but to be honest, the problem could be anywhere. It could just be a crap / misconfigured server.

have you tried actually benchmarking the site using Apache bench or similar?
« Last Edit: January 14, 2010, 01:03:14 AM by thorpe »
Patience is like bread I say, I ran out of that yesterday.

Debian :: Funtoo :: Hudzilla :: Rute :: How To Ask?

Offline thehippy

  • Irregular
  • Gender: Male
    • View Profile
Re: Waiting for www.example.com
« Reply #4 on: January 18, 2010, 06:26:44 PM »
Try setting FULL_BASE_URL (in paths.php?) explicitly to see if that helps, cake is probably pulling from a bad apache config.  In general try setting as many things as possible explicitly, lookups just slow things down.

PHP Freaks Forums

« on: »

Tired of these ads? Purchase a supporter subscription to get rid of them.