View Full Version : CGI Pool upgrade
Joshuamc - Thanks for the excellent announcement post today : http://forum.powweb.com/showthread.php?p=414258#post414258
I only wish we'd have had it when the system notice was made. Who ever makes those things doesn't seem to understand the level of detail that we need. Your post, however, helps a lot.
I was interested by your comment about Ruby. I had no idea it was available! The last thing I remember was a POWWEB survey for the new platform where one of the questions was whether we'd want to have Ruby or not (since the old platform didn't have it). So, assuming I'm not the only one in the dark, I'd be surprised if Ruby WAS heavily used seeing as how I'd no idea it was there to be used.
Keep up the good info!:)
YvetteKuhns
3-8-07, 01:17 PM
I'd be surprised if Ruby WAS heavily used seeing as how I'd no idea it was there to be used.
I agree. In fact, many people did not know that Python worked here.
If the old pathname started with "/bin", then try "/usr/bin". If it started with "/usr/bin", try "/bin". if they have a custom php.ini, look for the string "5.1" in php.ini. If it appears (assuming it's referring to the PHP version of course), change it to "5.2".
Maybe PowWeb should scan website like they did during the migration! This is like remigrating. This web host is for the birds! We keep migrating every few seasons. :D
Thanks for the post, Joshua. This should prove interesting for those who do not visit their own websites each day and won't know why things are going crazy. I don't know if PowWeb is sending emails since my ISP email has not been in use for so long. If I hear from my clients, I will know. ;) I check the forum and they check the email.
I found my IP today to check which CGI I was on and out of curiosity I did a reverse IP. The tool I used indicated that there were 8845 domains on that IP and another account I have here showed 9562. I am not familiar with shared hosting loads, but is that a little high?
Just out of curiosity, how did you do that and what tool did you use? Thanks!
I found my IP today to check which CGI I was on and out of curiosity I did a reverse IP. The tool I used indicated that there were 8845 domains on that IP and another account I have here showed 9562. I am not familiar with shared hosting loads, but is that a little high?
CGI-pools are made up of about 6 servers last I checked. Consider that and the fact that not all of those domains are using any CGI-based scripting. And lastly consider that I can't really comment on how accurate that reverse look-up is...there may be some old unused domains still in dns pointing to the ips.
If you do a google search for "Reverse IP" you should find a tool. I am limited from my current location as they block alot of websites so I had to try a couple of links before I found one that got through this firewall. I also had to dig around for a place to do a ping since the firewall also blocks doing pings from teh command line.
keyplyr -
Interesting note...or maybe not..for you. As I was looking around for tools to Ping I stumbled across one that did pings from multiple locations. One of those was Australia and that one ran longer. I mention this because your first 500 above is from Google.com.au
Website: http://www.just-ping.com/
Thanks, but I'm not following you. What's your point? I know that first ISE blocked a request from Google Australia, I can see that in their referrer string. And I can ping from my machine, no 3rd party tool needed... so can you BTW.
My complaint is, the big announcement today that the long-awaited solution to all CGI problems has completed (at least for my IP cluster.) If that is true, then why are dozens of my customers still being blocked with 500 Internal Server Errors?
This is a really big deal here. Powweb blocks my customers!
Where are you checking your error logs? I just looked at your account and everything looks empty.
The 17 ISE's posted above are from Powweb's access_log for my account. These are customers that have been blocked by Powweb server errors.
I didn't say that any of my cgi scripting was causing errors.
Thanks for looking however :)
Yo yo yo. Key. Check your PM. :)
:D I don't know how you intended that, keyplyr, but for some reason it made me laugh.
Thanks, it's been a bad day and I needed one.
Keplyr - I CAN ping from MY machine. When I am at a site that is behind a firewall that blocks them, I can not. The tool I gave not only pings from one location, but several from around the globe. So, the results looked like this:
location result min. rrt avg. rrt max. rrt
Santa Clara, U.S.A. Okay 76.0 76.3 76.7
Florida, U.S.A. Okay 47.7 49.6 54.6
Vancouver, Canada Okay 67.6 67.9 68.2
Austin, U.S.A. Okay 44.4 44.8 45.6
Amsterdam1, Netherlands Okay 87.4 87.6 87.9
London, United Kingdom Okay 92.2 92.4 92.5
Stockholm, Sweden Okay 110.3 110.5 110.8
Paris, France Okay 92.9 93.0 93.2
Nürnberg, Germany Okay 100.6 100.9 101.3
Madrid, Spain Okay 108.4 109.1 111.7
Cologne, Germany Okay 106.9 107.5 107.9
Munchen, Germany Okay 110.5 110.7 111.0
Cagliari, Italy Okay 133.6 134.1 134.8
New York, U.S.A. Okay 9.6 9.8 10.0
Kraków, Poland Okay 139.9 141.2 147.7
Sydney, Australia Okay 234.1 234.3 234.6
Amsterdam, Netherlands Okay 87.5 87.6 87.8
Amsterdam3, Netherlands Packets lost (10%) 94.0 94.3 94.9
Singapore, Singapore Okay 266.3 273.1 280.5
The ping from Australia took longer. I noticed a failure from Australia and drew the connection. To me, taking longer to ping would mean that it would take longer to load and therefore would be more likely to lose packets and cause a 500.
Not a big deal, just pointing out the difference in response time.
I found my IP today to check which CGI I was on and out of curiosity I did a reverse IP. The tool I used indicated that there were 8845 domains on that IP and another account I have here showed 9562. I am not familiar with shared hosting loads, but is that a little high?If your site was hosted on one server, then yes that'd be high.
But that's not the case with PowWeb - Endurance-owned or legacy-owned. Both platforms are/were behind some sort of load balancing solution. I can't say what exactly Endurance's setup is, but with legacy we had customer websites served from a cluster of 5 or 6 web servers.
So while that number does seem high, it really isn't a concern in this situation.
What's more of a concern, then and now, is and always will be CGI/PHP and MySQL processing.
The ping from Australia took longer. I noticed a failure from Australia and drew the connection. To me, taking longer to ping would mean that it would take longer to load and therefore would be more likely to lose packets and cause a 500.
Lost packets don't cause 500 server errors, these are caused by the server having an error.
Croc Hunter
3-9-07, 02:11 AM
I agree with dleigh, nice post Josh ;)
Ruby has great potential, my bro-in-law is develops in Ruby. He's told me of some of the things it can do and how it works. The way it pulls and the code is very efficient, it's quite a slick language and is fast becoming more popular.
In case you were curious, the path to Ruby is usr/local/bin/ruby, though if you're writing a CGI script, using an extension of .rb will call ruby too.
I just want to tell powweb staff how pleased I am with that the new cgi pool servers are running Debian. Given the unavailability of any other means of access to the accounts beside ftp it now makes it so much easier to set up non-php applications. I can setup virtual python on my own Debian machine, put an entire framework I use (pylons) in there, install and test my application, and ftp the whole directory to my powweb account. I think it is so cool that I am now able to do that!
HalfaBee
3-29-07, 06:36 PM
My CGI pool was upgraded yesterday, a seed test script now takes twice as long to run, but response time seems to have improved, so I don't know wether to complain or be happy.
tbonekkt
3-29-07, 06:38 PM
My CGI pool was upgraded yesterday, a seed test script now takes twice as long to run, but response time seems to have improved, so I don't know wether to complain or be happy.Yes? :D
HalfaBee
3-29-07, 07:56 PM
Ok, I have decide to be unhappy and complain.
<?
$start = microtime(TRUE);
for( $i=0;$i<1000000;$i++ );
$speed = microtime(TRUE)-$start;
$start = microtime(TRUE);
for( $i=0;$i<100000;$i++ );
$speed2 = microtime(TRUE)-$start;
$fp = fopen( "speed.log" , "a" );
fwrite( $fp , $speed . " " . number_format($speed2, 6 , '.', '') . "\n" );
fclose( $fp );
echo "<pre>";
echo `tail speed.log`;
?>
This is the speed test script I have, it now echo's lots of ????????'s before the numbers.
The file actually has a bunch of NULL's or ascii 0x00 before the number.
I suppose I had better open a ticket. <sigh>
HalfaBee
3-29-07, 10:43 PM
Uggh, support just spammed me with 1600+ emails :D
I wonder if 1000 emails in 1 minute will hit the email limits.
Just shows how quick a local connection to the server is.
The Refresh 0 in the script wasn't such a good move :D
I changed it to 10 so 6 emails a minute won't be too bad.
vBulletin v3.6.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.