linzulu 2008-10-6 12:06
关于IIS连接数和在线人数的详细说明
[align=center][table=93%][tr][td][align=center][align=center][font=宋体][size=9pt]关于[/size][/font][size=9pt][font=Times New Roman]IIS[/font][/size][font=宋体][size=9pt]连接数和在线人数的详细说明[/size][/font][size=9pt][/size][/align][/align][/td][/tr][tr][td]
[font=宋体][size=9pt]首先了解什么是[/size][/font][size=9pt][font=Times New Roman]IIS[/font][/size][font=宋体][size=9pt]连接数。[/size][/font][size=9pt][font=Times New Roman]
IIS[/font][/size][font=宋体][size=9pt]连接数指并发连接数,什么意思呢?[/size][/font]
[font=宋体][size=9pt]要分几种情况:(以[/size][/font][size=9pt][font=Times New Roman]100M[/font][/size][font=宋体][size=9pt]空间[/size][/font][size=9pt][font=Times New Roman]50[/font][/size][font=宋体][size=9pt]人在线为例)[/size][/font][size=9pt]
[font=Times New Roman]A [/font][/size][font=宋体][size=9pt]用户单点下载你的文件,结束后正常断开,这些连接是按照瞬间计算的,就是说你[/size][/font][size=9pt][font=Times New Roman]50[/font][/size][font=宋体][size=9pt]人的网站瞬间可以接受同时[/size][/font][size=9pt][font=Times New Roman]50[/font][/size][font=宋体][size=9pt]个点下载[/size][/font][size=9pt]
[font=Times New Roman]B [/font][/size][font=宋体][size=9pt]用户打开你的页面,就算停留在页面没有对服务器发出任何请求,那么在用户打开一面以后的[/size][/font][size=9pt][font=Times New Roman]15[/font][/size][font=宋体][size=9pt]分钟内也都要算一个在线,就是说你[/size][/font][size=9pt][font=Times New Roman]50[/font][/size][font=宋体][size=9pt]人的网站[/size][/font][size=9pt][font=Times New Roman]15[/font][/size][font=宋体][size=9pt]分钟内可以接受不同用户打开[/size][/font][size=9pt][font=Times New Roman]50[/font][/size][font=宋体][size=9pt]个页面[/size][/font][size=9pt]
[font=Times New Roman]C [/font][/size][font=宋体][size=9pt]上面[/size][/font][size=9pt][font=Times New Roman]B[/font][/size][font=宋体][size=9pt]的情况用户继续打开同一个网站的其他页面,那么在线人数按照用户最后一次点击(发出请求)以后的[/size][/font][size=9pt][font=Times New Roman]15[/font][/size][font=宋体][size=9pt]分钟计算,在这个[/size][/font][size=9pt][font=Times New Roman]15[/font][/size][font=宋体][size=9pt]分钟内不管用户怎么点击(包括新窗口打开)都还是一人在线。[/size][/font][size=9pt]
[font=Times New Roman]D [/font][/size][font=宋体][size=9pt]当你的页面内存在框架[/size][/font][size=9pt][font=Times New Roman](Iframe)[/font][/size][font=宋体][size=9pt],那么每多一个框架就要多一倍的在线!因为这相当于用户同一时间向服务器请求了多个页面。[/size][/font][size=9pt]
[font=Times New Roman]E [/font][/size][font=宋体][size=9pt]当用户打开页面然后正常关闭浏览器,用户的在线人数也会马上清除。[/size][/font]
[font=宋体][size=9pt]然后了解什么是论坛在线人数。[/size][/font]
[font=宋体][size=9pt]论坛在线只是计算一定时间内的活动用户数。[/size][/font]
[font=宋体][size=9pt]这里的时间用户可以自己设定[/size][/font][size=9pt][font=Times New Roman]([/font][/size][font=宋体][size=9pt]删除不活动用户时间[/size][/font][size=9pt][font=Times New Roman])[/font][/size][font=宋体][size=9pt],动网论坛默认为[/size][/font][size=9pt][font=Times New Roman]40[/font][/size][font=宋体][size=9pt]分钟的相对准确值。[/size][/font]
[font=宋体][size=9pt]根据上面的说明,显然论坛在线和[/size][/font][size=9pt][font=Times New Roman]IIS[/font][/size][font=宋体][size=9pt]连接数的概念不同[/size][/font]
[font=宋体][size=9pt]为什么会出现[/size][/font][size=9pt][font=Times New Roman]IIS[/font][/size][font=宋体][size=9pt]连接数和论坛在线不符合的情况?[/size][/font]
[font=宋体][size=9pt]现具体分析如下:[/size][/font][size=9pt]
[font=Times New Roman]1[/font][/size][font=宋体][size=9pt]:您使用了插件版论坛![/size][/font]
[font=宋体][size=9pt]现在的插件很垃圾,不但占服务器资源,而且会使论坛运行变慢([color=red]没有插件可以快一倍以上[/color]),同时很占在线人数,有的插件调用很多框架,少则[/size][/font][size=9pt][font=Times New Roman]2[/font][/size][font=宋体][size=9pt]、[/size][/font][size=9pt][font=Times New Roman]3[/font][/size][font=宋体][size=9pt]个,多则[/size][/font][size=9pt][font=Times New Roman]4[/font][/size][font=宋体][size=9pt]、[/size][/font][size=9pt][font=Times New Roman]5[/font][/size][font=宋体][size=9pt]个![/size][/font][size=9pt][font=Times New Roman] [/font][/size][font=宋体][size=9pt]甚至有在线播放音乐,这样一个人在线就相当与很多人在线![/size][/font][size=9pt]
[font=Times New Roman]2[/font][/size][font=宋体][size=9pt]:您的网站是主页[/size][/font][size=9pt][font=Times New Roman]+[/font][/size][font=宋体][size=9pt]论坛的形式![/size][/font]
[font=宋体][size=9pt]这样主页和论坛要争夺你的在线人数![/size][/font][size=9pt]
[font=Times New Roman]3[/font][/size][font=宋体][size=9pt]:你的论坛内部有播放器![/size][/font]
[font=宋体][size=9pt]一个人在线,然后他在线播放音乐,就占二个人在线![/size][/font][size=9pt]
[font=Times New Roman]4[/font][/size][font=宋体][size=9pt]:你的论坛内部存在框架形式的网页![/size][/font]
[font=宋体][size=9pt]每一个框架,就多一倍的在线![/size][/font][size=9pt]
[font=Times New Roman]5[/font][/size][font=宋体][size=9pt]:你的论坛设置在线时间过小![/size][/font]
[font=宋体][size=9pt]动网默认为[/size][/font][size=9pt][font=Times New Roman]40[/font][/size][font=宋体][size=9pt]分钟,[color=red]这个默认值下,一般我们[/color][/size][/font][size=9pt][font=Times New Roman]20IIS[/font][/size][font=宋体][size=9pt]的学习型主机可以达到[/size][/font][size=9pt][font=Times New Roman]50[/font][/size][font=宋体][size=9pt]人左右[/size][/font][font=宋体][size=9pt],因为论坛在线只是计算一定时间内的活动用户数,当您设定的时间较小的时候,看起来论坛在线的人数就自然少了,请把[color=red]删除不活动用户时间[/color]改为默认的[/size][/font][size=9pt][font=Times New Roman]40[/font][/size][font=宋体][size=9pt]分钟就可以![/size][/font][size=9pt]
[font=Times New Roman]6[/font][/size][font=宋体][size=9pt]:你的空间存在多个论坛![/size][/font]
[font=宋体][size=9pt]有的客户在一个空间里上传多个论坛,如[/size][/font][size=9pt][font=Times New Roman]bbs bbs1 bbs2 [/font][/size][font=宋体][size=9pt]等等[/size][/font][size=9pt][font=Times New Roman] [/font][/size][font=宋体][size=9pt]等等[/size][/font]
[font=宋体][size=9pt]毫无疑问,这样个论坛也是要争夺再线人数的![/size][/font][size=9pt]
[font=Times New Roman]7[/font][/size][font=宋体][size=9pt]:你的论坛图片等文件被人盗链![/size][/font]
[font=宋体][size=9pt]比如:你的论坛有张图片文件,被粘贴(注意是粘贴不是上传)到别的论坛![/size][/font]
[font=宋体][size=9pt]别的论坛的用户在浏览该文件的时候也算一个在线人数![/size][/font]
[font=宋体][size=9pt]尤其是[/size][/font][size=9pt][font=Times New Roman]LOGO[/font][/size][font=宋体][size=9pt]连接的时候注意,一定要对方把您的[/size][/font][size=9pt][font=Times New Roman]LOGO[/font][/size][font=宋体][size=9pt]上传到他的空间![/size][/font][size=9pt]
[font=Times New Roman]8[/font][/size][font=宋体][size=9pt]:你的空间上放有下载文件![/size][/font]
[font=宋体][size=9pt]如果用户用网络蚂蚁类的软件,每一个线程就表示一个在线,非常厉害[/size][/font][size=9pt][font=Times New Roman] [/font][/size]
[font=宋体]9:最新发现如果网站首页直接调用论坛的新帖子可能导致IIS超出标准建议网站使用静态页面[/font]
[font=宋体]—————————————————————————————————————————————————————————[/font]
[font=宋体]解决办法:[/font]
[font=宋体]1[/font][font=宋体]:去掉垃圾的插件版,用纯洁版![/font]
[font=宋体]2[/font][font=宋体]:LOGO连接时,请对方把您的LOGO传到他的空间![/font]
[font=宋体]3[/font][font=宋体]:尽量不要采用框架的形式制作页面![/font]
[font=宋体]4[/font][font=宋体]:不要放任何的音乐、电影、下载![/font]
[font=宋体]5[/font][font=宋体]:防止盗连情况的发生![/font]
[font=宋体]6[/font][font=宋体]:联系本公司,购买更多的在线人数![/font]
[/td][/tr][/table][/align]
loveyousan 2008-10-6 14:55
收藏。。。
慢慢看
yang_hui1986527 2008-10-6 16:23
不错,感谢分享~