|
|
前几天发过一个帖子
http://bbs.idcspy.com/thread-280415-1-1.html
账号因为升级的问题,搞得崩溃了6天...
总结下这6天来和godaddy客服打交道的经验,希望有可能跟我碰到一样问题的人可以参考一下.
首先godaddy的客服真不是一般的慢...我英语口语不行,没法直接打电话找客服,只能通过ticket.
通常发个ticket,30分钟左右才回复你说已经收到,会去处理,然后就是等,6,7个小时候再告诉你说是怎么回事,有时甚至10个小时才有回复.
他们的客服还分普通的Online Support Team和高级点的Advanced Hosting Support,Advanced Hosting Support的回复就更慢了,通常回复你要一天...
到后来他们说,我的账号之所以升级出现错误,是因为一些文件夹下文件数太多,最大的达到3W个,导致他们的脚本运行超时.
真是惨痛的代价,几个月前刚买主机我就超过了这个限制了,之间买了独立IP,挪过服务器,那时候最大的文件数大概1W几,也没事.
这次升级的时候文件数增长到最大3W了,才出现问题,也才被查出来.
所以这里提醒下各位,文件数最好是别超,要超也别吵过1W吧,哈哈.
另外,GODADDY检查你的文件数,会在你的主机根目录下放一个path_1024.php文件,检测用的.
程序写的挺简练的,贴出来各位参考下
==========================================================================
<?php
//Created by Jude Cross AHS
//if you have any revisions to the tool or bugs you want to report fix it yourself =)
//this script audits shared linux hosting accounts for 1024 network violations
//Created Oct 26 2010
echo "<center><h3>1024 Audit tool</h3></center><br>";
function getDirectory( $path = '.', $level = 0 ){
$ignore = array( '.', '..','stats','_db_backups' );
$dh = @opendir( $path );
while( false !== ( $file = readdir( $dh ) ) ){
if( !in_array( $file, $ignore ) ){
$spaces = str_repeat( ' ', ( $level * 4 ) );
if( is_dir( "$path/$file" ) ){
$path2 = "$path/$file/";
$x = count(glob('' . $path2 . '*.*'));
if ($x >= 1024){
echo "<font color=red><strong>$spaces $path $file $x</font></strong><br />";
}
else{
echo "<strong>$spaces $path/$file $x</strong><br />";
}
getDirectory( "$path/$file", ($level+1) );
}
}
}
closedir( $dh );
}
getDirectory();
?> |
|