最大请求是什么意思?服务器高手进来...
Max Requests Per Child: 0 - Keep Alive: off - Max Per Connection: 100
我在我的主机上用phpinfo看到了上面的消息:
那么我的主机是不是在线人数最大为100人....
他说可以撑到250人,可能吗?
高手回答...100 分不够再加
Max Per Connection: 100 的100是不是可以再加..
如果真的如上面是真的话,
服务商是不是骗了我
???
困惑中...
问题点数:100、回复次数:6Top
1 楼jtmoon(逍遥小贼)回复于 2003-01-08 01:57:16 得分 0
关注ing...Top
2 楼saucer(思归)回复于 2003-01-08 06:37:50 得分 30
are you using Apache? find the file named "httpd.conf" in conf directory, look for
#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100
#
# MaxRequestsPerChild: the number of requests each child process is
# allowed to process before the child dies. The child will exit so
# as to avoid problems after prolonged use when Apache (and maybe the
# libraries it uses) leak memory or other resources. On most systems, this
# isn't really needed, but a few (such as Solaris) do have notable leaks
# in the libraries. For Win32, set this value to zero (unlimited)
# unless advised otherwise.
#
MaxRequestsPerChild 0Top
3 楼uGain(uGain.org)回复于 2003-01-08 08:50:56 得分 5
允许的同一时间最大的请求数是100。
也就是同时允许100个人进行操作。Top
4 楼hhzh426(春之风)回复于 2003-01-08 09:11:19 得分 30
这么理解吧:
当我访问你的网站时,我就与服务器建立了连接,当所有数据都传输完成时,连接就中断了。同时,在我请求数据的时候又有别人来访问这个网站,那么他也算一个连接。MaxKeepAliveRequests 100表示可以最多有100个人同时请求数据,后来的人就必须等待连接,如果等待时间比较长的话浏览器就会返回无法连接的错误(这个时间由浏览器决定)。如果你的脚本执行时间较长,而且访问量比较大,就有麻烦了。apache默认情况下最多有256个同时连接(如果需要更多的话可以修改源文件然后再编译)。Top
5 楼leaxin(耀仁邦(其实我是一位大学生))回复于 2003-01-08 09:36:31 得分 0
楼上的牛!Top
6 楼Jhzyz(自由人/Libero)回复于 2003-01-08 16:10:20 得分 35
春之风理解错误,人家是用的服务商的空间,除非网管愿意,用户怎样改MaxKeepAliveRequests?但他的说法是对的,并发100连接太少,绝对不可能在线250人,因为一个用户可能打开几个连接,每个连接算一个connect.要求网管增加吧。Top
相关问题
- 客户不支持服务器请求的验证协议; 考虑提升MySQL客户,什么意思?大家帮忙
- 为什么我向web服务器发了请求后没反应?
- 请问:“HTTP 500 内部服务器错误”是什么意思?
- rpc服务器不可用??什么意思?怎么办?
- “服务器没有设置事物处理”是什么意思?
- 用urlConnection向用delphi做的http服务器post数据。为什么服务器会接收到两个完全一样的请求
- 用urlConnection向用delphi做的http服务器post数据。为什么服务器会接收到两个完全一样的请求
- 请问 iis的 http 500内部服务器错误这是什么意思?
- “/”应用程序中的服务器错误。 是什么意思啊
- 请问SQL2000中每个服务器角色,具体是什么意思啊?




