liwmj / baserver

Automatically exported from code.google.com/p/baserver
0 stars 0 forks source link

最大连接数 #27

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Debian 3.4.4内核 及 Redhat 2.6.18-238.el5内核都是一样

Please provide any additional information below.
ulimit 和 sysctl都设置了,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) 73728
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) unlimited
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

但并发连接只能连981个左右,这是为什么?

Original issue reported on code.google.com by H.bo...@gmail.com on 6 Aug 2012 at 4:11