#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    2
    Rep Power
    0

    Site stuck on loading


    Some of my site visitor cannot access and say it stuck on loading.
    I am using ubuntu LAMP Virtual server PHP5
    I have tried to look for the cause anywhere but did not find any clue
    Apache access log show http request with status 200.
    Anyone have an idea what can be the cause of this problem?
    Last edited by ManiacDan; January 22nd, 2013 at 07:57 AM.
  2. #2
  3. Sarcky
    Devshed Supreme Being (6500+ posts)

    Join Date
    Oct 2006
    Location
    Pennsylvania, USA
    Posts
    10,853
    Rep Power
    6351
    Collect more information from your users. What browser are they using when this happens? What OS? What internet connection?
    HEY! YOU! Read the New User Guide and Forum Rules

    "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin

    "The greatest tragedy of this changing society is that people who never knew what it was like before will simply assume that this is the way things are supposed to be." -2600 Magazine, Fall 2002

    Think we're being rude? Maybe you asked a bad question or you're a Help Vampire. Trying to argue intelligently? Please read this.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    2
    Rep Power
    0

    More information


    Thanks Dan
    I did that and found no systematic infrastructure or environment to connect with this problem. It reproduce randomly on any browser any OS any ISP and any geographic location. I am puzzled with the fact that although apache log give status 200 they are having this problem.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Sep 2006
    Posts
    1,928
    Rep Power
    533
    Maybe your problem is server-side.

    Do you buffer your code before displaying it? If not, watch out for headers or sessions being sent after HTML is sent to the client.

    Also, maybe you have some faulty logic. Go through your code and add a bunch of syslogs at appropriate locations to gather more data.

    PHP Code:
    syslog(LOG_INFO,"Some Message".print_r($someVariable); 
  8. #5
  9. Did you steal it?
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    13,996
    Rep Power
    9397

    [[ merged from a thread in Apache --requinix ]]


    Works for me. Pry some more details out of your visitors.
    Last edited by requinix; January 24th, 2013 at 08:30 PM.
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Oct 2009
    Location
    Nebraska, USA
    Posts
    867
    Rep Power
    275

    [[ merged from a thread in Apache --requinix ]]


    If your VM host/master is on Windows [XP,Vista,7], you will run into a connection limit of 10 concurrent connections. Its possible this is happening and causing some users to not be able to connect while others are browsing your site.
    There are "hacks/patches" available that can patch your tcpip.sys file in Windows to get around this limit if this is the cause.
    Last edited by requinix; January 24th, 2013 at 08:30 PM.

IMN logo majestic logo threadwatch logo seochat tools logo