PHP site times out after a few minutes of browsing it.

Discussion in 'PHP' started by fatabbot, Apr 17, 2007.

  1. #1
    Hello,


    I have a site written in PHP that times out ad randomly after a few minutes of browsing it. It goes lightning fast each time the page loads for the first time, but after a few minutes and pageviews, the site just gets stuck and doesn't load anything anymore. When i close the browser and wait for a minute or 3-4, it works perfectly again.
    It's not the hosting and it's not my connection. I tried on different places and different pc's, all same problem. It's really something that "overloads" the browser or something... Because when i start with browser A, browse till it times out it seems that the site is inaccessible for a few minutes, but when i open up browser B during these few minutes of inaccessibility in browser A, the site loads perfect and fast in browser B.

    Does anyone have an idea if there is anything in php that might cause this? I can ping the site during the time it seems to be in time-out.

    I also tried on different pc's with different browsers. Each time the same problem...
     
    fatabbot, Apr 17, 2007 IP
  2. Weizheng

    Weizheng Peon

    Messages:
    93
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Do you use cookies to keep track of visitor page load counts and do some stuff based on it?

    Could be the script going haywire when count goes up.
     
    Weizheng, Apr 18, 2007 IP
  3. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #3
    Some code to look at would enable some more useful answers.......
     
    krakjoe, Apr 18, 2007 IP