| Shared Hosting Questions about your shared hosting account. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
Race Surpass
Super #1
Joined in Jul 2006
Lives in Oklahoma City, OK
Hosted on sh102
1,222 posts
Gave thanks: 18
Thanked 86 times
|
Anyone using fsockopen or curl for outside content seeing delays?
This is an off and on issue since around August 4th. My main page at http://www.markheadrick.com/main.php uses a Curl based function to get a random image from my Gallery and fsockopen to get my Blog's RSS feed to then parse.
When it is acting badly, the PHP execution time as shown at the bottom will be around 10 seconds or more when under normal situations should be around 2 seconds at most. The gallery image will timeout as well as Curl is set on a 5 second timeout. With the troubleshooting I have done, I have narrowed the problem down to the amount of time it takes Curl or fsockopen to lookup the IP address of the supplied domain. For external sites, I can fix this delay by using the IP address instead of the domain. This is what I have done with my Nascar page when using fsockopen to Nascar's RSS Feed and Driver Standings. I have created a test page here, which is a modified server status script that's been posted on here before: http://www.markheadrick.com/php/fsock_test.php The code for the page is here: PHP Code:
Yes, I do have a ticket on the issue, NYY-990296 which management, Mike K, is aware of. As a comparison of the good and bad: http://www.markheadrick.com/images/s...ood_status.gif http://www.markheadrick.com/images/s...147_status.gif Anyway, I am just wanting to know what others are seeing on their server concerning this specific issue. Thanks! ![]()
__________________
|
|
|
|
|
|
#2 (permalink) |
|
Race Surpass
Super #1
Joined in Jul 2006
Lives in Oklahoma City, OK
Hosted on sh102
1,222 posts
Gave thanks: 18
Thanked 86 times
|
I have been offline and haven't been able to check again until now; however, it seems as if the problem might have been solved according to the last responses from Raman and Mike K.
Raman: "...The issue is fixed. The problem was due to the resolver configuration having invalid entries..." Mike K: "...We have modified the central dns settings on the server and have also added a few experimental testing changes..." After a day or so I'll have myself convinced that it has been solved. Everything currently is running great. In any event thanks to all those whose efforts have gone into trying to crack this nut so far.
__________________
|
|
|
|
|
|
#3 (permalink) |
|
Race Surpass
Super #1
Joined in Jul 2006
Lives in Oklahoma City, OK
Hosted on sh102
1,222 posts
Gave thanks: 18
Thanked 86 times
|
Wish I could edit my post... the link to the bad status image above is wrong, this is the correct one: http://www.markheadrick.com/images/s...157_status.gif
Anyway, everything is still good, so here's hoping. ![]()
__________________
|
|
|
|
|
|
#4 (permalink) |
|
Race Surpass
Super #1
Joined in Jul 2006
Lives in Oklahoma City, OK
Hosted on sh102
1,222 posts
Gave thanks: 18
Thanked 86 times
|
Well.. it's baaack
![]() http://www.markheadrick.com/images/s...748_status.gif I wonder if all the cPanel upgrades to 11, email/SpamAssassin changes and what not may have broken the fix with the DNS configs. Anyway, ticket mentioned above has been re-opened.
__________________
|
|
|
|
|
|
#5 (permalink) |
|
Race Surpass
Super #1
Joined in Jul 2006
Lives in Oklahoma City, OK
Hosted on sh102
1,222 posts
Gave thanks: 18
Thanked 86 times
|
It seems that all of Saturday and so far today it's all working normal again.
![]() Thanks to Ginsy in support for cleaning up the backup drive early this morning which was 100% full. ![]()
__________________
|
|
|
|