首页
下载
文档
社区
视频
捐赠
源代码
赞助商
AOT 编译器
AI 助理
商业产品
PHP AOT 原生编译器
Swoole-Compiler 代码加密器
CRMEB 新零售社交电商系统
登录
注册
全部
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
发表新帖
max_connection is exceed the maximum value这是什么原因
swoole是5.1.3,ulimit -n输出的65535,octane中的swoole options max_connection配置的20000,启动时报了WARNING Server::set_max_connection(): max_connection is exceed the maximum value, it's reset to 1024
发布于1年前 · 0 次浏览 · 来自
提问
明天
swoole是5.1.3,ulimit -n输出的65535,octane中的swoole options max_connection配置的20000,启动时报了WARNING Server::set_max_connection(): max_connection is exceed the maximum value, it's reset to 1024
赞
0
收藏
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
登录
后参与评论
评论
2025-08-15
Rango-H
说明 `ulimit -n` 设置无效,`swoole`启动时获得的`rlimit`值依然是`1024`,而`max_connection`配置为`20000`超过了最大值,会被重置为`1024`.
赞
0
回复
2025-08-15
Rango-H
另外,不要使用 `5.1.3` 版本,此版本若设置了`max_request`或者发生`fatal error`会出现`503`错误。
赞
0
回复