raksmart活动促销

分享

写回答

发帖

LP的客服对于打不开页面的回信及解决

国外VPS云主机 国外VPS云主机 2712 人阅读 | 6 人回复

发表于 2008-5-26 12:57:55 | 显示全部楼层 |阅读模式

我在之前的一封信中详细的说明了我最近打开网页时候遇到的情况,我一直就觉得奇怪,打开Plesk和FTP都没问题,就是网页都打不开,猜想也可能和限制了连接数有关系,不过因为对VPS不很熟悉,我发信说,由于他们都是有经验的老手了,希望他们可以根据我的情况帮我修改一下我的主机设置,可以让网速稳定一些。

      我在E-mail里面列举了几个朋友推荐的有可能影响速度的方法:
1.修改MaxClients ,初始值好像是10,改到70,就是修改修改/etc/httpd/conf/httpd.conf
2.关闭IPV6;
3.修改连接数和MySQL连接数(这个我还不知道在哪里修改,控制面板还不够熟悉)


      他们的回信及解决方法如下:
Thank you for contacting us.I have increased the maxclients value to 50.
MaxClients is Apache directive that limits the total number of HTTP processes that can run on your VPS. Therefore, MaxClients also limits the number of clients/visitors who can simultaneously connect to your websites. This is a global Apache setting affecting all sites on your VPS. By default, MaxClients is set to 10, which means at any given time, your VPS can serve up to 10 concurrent Apache connections. Please note that the number of web sites visitors that can be served by your VPS can be much higher than this MaxClients limit as not all visitors will load the pages of your sites concurrently.
However, please keep in mind that you may not want to increase this value any more than you really need.

       看来就是按照第一个方法把10修改到了50,这文章我还没全看懂,好像就是修改了这一个地方而已吧。意思是修改到了最大了?

回答|共 6 个

池边的树

发表于 2008-5-26 12:59:21 | 显示全部楼层

感谢咱们论坛的朋友提供的帮助,果然还是咱们论坛的方法管用,现在速度稳定多了似乎

Ray2005

发表于 2008-5-26 13:51:50 | 显示全部楼层

最后用的什么办法管用?没看懂ls说的。。。

add.c

发表于 2008-5-26 13:58:49 | 显示全部楼层

回复楼上的

I have increased the maxclients value to 50.

就是楼主说的第一种方法

mjoshua

发表于 2008-5-26 15:59:53 | 显示全部楼层

能把这个译一下吗?

Thank you for contacting us.I have increased the maxclients value to 50.
MaxClients is Apache directive that limits the total number of HTTP processes that can run on your VPS. Therefore, MaxClients also limits the number of clients/visitors who can simultaneously connect to your websites. This is a global Apache setting affecting all sites on your VPS. By default, MaxClients is set to 10, which means at any given time, your VPS can serve up to 10 concurrent Apache connections. Please note that the number of web sites visitors that can be served by your VPS can be much higher than this MaxClients limit as not all visitors will load the pages of your sites concurrently.
However, please keep in mind that you may not want to increase this value any more than you really need.

池边的树

发表于 2008-7-15 08:44:55 | 显示全部楼层

就是按照第一种办法,把那个文件里面的数值从10修改到了50,然后客服的意思说,不要做更大的修改了,意思是到了差不多极限了

mmxp

发表于 2008-7-17 01:04:51 | 显示全部楼层

Maxcllient设置小了不会导致页面打不开的,只会让等待时间更长而已。因为它处理的线程太少啊,其他线程都要等待。50不算大了。我的VPS设置都是至少150左右的,否则还不如用虚拟主机了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则