|
[楼主] V4.2的并发连接数的上限设定还是768个,是否可以配置。 为了安全,V4.1的并发连接数的上限设定为768个。 V4.2的并发连接数的上限设定还是768个,是否可以配置。 -------------------------- ab -n 600 -c 100 再大一点如,800。就卡着,一直不动。 [/usr/jws/siteconf]#ab -n 600 -c 100 http://192.168.99.80:8640/Default.aspx This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0 Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright 2006 The Apache Software Foundation, http://www.apache.org/ Benchmarking 192.168.99.80 (be patient) Completed 100 requests Completed 200 requests Completed 300 requests Completed 400 requests Completed 500 requests Finished 600 requests Server Software: Jexus/4.2 Server Hostname: 192.168.99.80 Server Port: 8640 Document Path: /Default.aspx Document Length: 833 bytes Concurrency Level: 100 Time taken for tests: 4.13288 seconds Complete requests: 600 Failed requests: 0 Write errors: 0 Total transferred: 666600 bytes HTML transferred: 499800 bytes Requests per second: 149.50 [#/sec] (mean) Time per request: 668.881 [ms] (mean) Time per request: 6.689 [ms] (mean, across all concurrent requests) Transfer rate: 161.96 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 2 7.3 0 47 Processing: 231 627 230.8 579 1400 Waiting: 230 626 230.7 578 1399 Total: 231 630 232.4 579 1400 Percentage of the requests served within a certain time (ms) 50% 579 66% 643 75% 725 80% 838 90% 995 95% 1106 98% 1135 99% 1209 100% 1400 (longest request) [1楼] 回复:V4.2的并发连接数的上限设定还是768个,是否可以配置。 V4.2没有连接数量的限制。 另外,测试时,建议测试机和服务器不要放在同一台机子上。 [2楼] 回复:V4.2的并发连接数的上限设定还是768个,是否可以配置。 我不了解你的系统,但是,超过1024的文件句柄,请在Linux中设置一下系统每进程可以打开的文件句柄的数量,比如1万等等,否则,就没有办法测试真实的效果。 [3楼] 回复:V4.2的并发连接数的上限设定还是768个,是否可以配置。 还有,就是测试时一定要用4.2的BETA2版。 [4楼] 回复:V4.2的并发连接数的上限设定还是768个,是否可以配置。 测试使用的是4.2的BETA2版 [5楼] 回复:V4.2的并发连接数的上限设定还是768个,是否可以配置。 使用的是vm 1G,1核,操作系统是:centos5.5 ,64bit 在测试前,以使用命令:ulimit -SHn 65535 ,并生效。 [/tools]#ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 8192 max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) unlimited open files (-n) 65535 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 10240 cpu time (seconds, -t) unlimited max user processes (-u) 8192 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited [6楼] 回复:V4.2的并发连接数的上限设定还是768个,是否可以配置。 Beta2虽然已经不限并发流,但工作数量还有限制,Beta3将改进它。 [7楼] 回复:V4.2的并发连接数的上限设定还是768个,是否可以配置。 在论坛等待一天了,等待老大回复。 激情期待新版本^^ | |