Home >Backend Development >PHP Tutorial >Swoole 用tcp自带的keep alive 不起作用

Swoole 用tcp自带的keep alive 不起作用

WBOY
WBOYOriginal
2016-06-06 20:13:591420browse

配置如下,

'open_tcp_keepalive'=>1
'tcp_keepidle' =>60,
'tcp_keepcount' => 3,
'tcp_keepinterval' =>5,

但是不起作用,怎么办?版本1.8.1stable

回复内容:

配置如下,

'open_tcp_keepalive'=>1
'tcp_keepidle' =>60,
'tcp_keepcount' => 3,
'tcp_keepinterval' =>5,

但是不起作用,怎么办?版本1.8.1stable

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn