使用棘轮/反应。 p>
如果我的连接少于1000个 效果很好,但是当连接数量增长时 - websockets在连接后自动关闭。 p>
是什么原因? p>
cat / proc / sys / fs / file-nr
5696 0 815941
open files(-n)16384
cat / proc / sys / fs / file-max
815941
code> pre> \ n div>
Use Ratchet/React.
If I have less than 1000 connections it works good, but when number of connection is growing up - websockets closing automatically after connection.
What is the reason?
cat /proc/sys/fs/file-nr
5696 0 815941
open files (-n) 16384
cat /proc/sys/fs/file-max
815941
使用棘轮/反应。 p>
如果我的连接少于1000个 效果很好,但是当连接数量增长时 - websockets在连接后自动关闭。 p>
是什么原因? p>
cat / proc / sys / fs / file-nr
5696 0 815941
open files(-n)16384
cat / proc / sys / fs / file-max
815941
code> pre> \ n div>