首页
下载
文档
问答社区
视频
捐赠
源代码
AI 助理
赞助商
CRMEB
Apipost
腾讯云
微擎
禅道
51Talk
商业产品
Swoole AI 智能文档翻译器
Swoole-Compiler PHP 代码加密器
CRMEB 新零售社交电商系统
登录
注册
全部
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
发表新帖
swServer_master_onAccept (ERROR 502): accept() failed. Error: Too many open files[24]
### 问题描述(报错信息:) 请求一直无响应,无法正确返回信息 ```php [2022-04-02 09:00:02 #1825.0] ERROR swServer_master_onAccept (ERROR 502): accept() failed. Error: Too many open files[24] ``` ###Swoolen信息: ```php swoole support => enabled Version => 1.9.10 Author => tianfeng.han[email: mikan.tenny@gmail.com] epoll => enabled eventfd => enabled timerfd => enabled signalfd => enabled cpu affinity => enabled spinlock => enabled rwlock => enabled async http/websocket client => enabled Linux Native AIO => enabled pcre => enabled zlib => enabled mutex_timedlock => enabled pthread_barrier => enabled Directive => Local Value => Master Value swoole.aio_thread_num => 2 => 2 swoole.display_errors => On => On swoole.use_namespace => Off => Off swoole.fast_serialize => Off => Off swoole.unixsock_buffer_size => 8388608 => 8388608 swoole.modules => no value => no value ``` ###PHP信息: ```php PHP 7.1.3 (cli) (built: May 17 2017 17:31:47) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies ``` ### ulimit设置 ![](/storage/article-column/jSOF0qZklYa5vEkrl6821yLPNDqelILN2Yv9pQ2Q.png)
发布于2年前 · 20 次浏览 · 来自
提问
三小
### 问题描述(报错信息:) 请求一直无响应,无法正确返回信息 ```php [2022-04-02 09:00:02 #1825.0] ERROR swServer_master_onAccept (ERROR 502): accept() failed. Error: Too many open files[24] ``` ###Swoolen信息: ```php swoole support => enabled Version => 1.9.10 Author => tianfeng.han[email: mikan.tenny@gmail.com] epoll => enabled eventfd => enabled timerfd => enabled signalfd => enabled cpu affinity => enabled spinlock => enabled rwlock => enabled async http/websocket client => enabled Linux Native AIO => enabled pcre => enabled zlib => enabled mutex_timedlock => enabled pthread_barrier => enabled Directive => Local Value => Master Value swoole.aio_thread_num => 2 => 2 swoole.display_errors => On => On swoole.use_namespace => Off => Off swoole.fast_serialize => Off => Off swoole.unixsock_buffer_size => 8388608 => 8388608 swoole.modules => no value => no value ``` ###PHP信息: ```php PHP 7.1.3 (cli) (built: May 17 2017 17:31:47) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies ``` ### ulimit设置 ![](/storage/article-column/jSOF0qZklYa5vEkrl6821yLPNDqelILN2Yv9pQ2Q.png)
赞
0
分享
收藏
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
评论
2022-04-21
Jessica
65536确实不够多,基本都是百万起步
赞
0
回复
2022-04-25
michonnehsu
这么低的版本还在用?!
赞
0
回复
微信公众号
热门内容
暂无回复的问答
- CodeGalaxy K3s 轻量集群节点之间如何实现负载均衡
- 关于openssl CURL WARNING swSSL_connect: SSL_connect(fd=69) failed. Error: error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small[1|394]
- 多个模型如何进行事务异常回退?
- websocket开启wss报错
- 协程tcp服务器如何使用多进程?recv()方法接收信息,打印出来的pid一直是同一个。没用使用到多进程啊。