-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
sing-box 1.13.x crash with 'too many open files' #3980
Description
Operating system
Linux
System version
Openwrt LEDE R26.02.20 x86 64
Installation type
Original sing-box Command Line
If you are using a graphical client, please provide the version of the client.
momo
Version
1.13.3Description
When I use 1.12.25 it works well.
But when I use sing-box 1.13.3 or 1.13.5 ipk to install on to openwrt.
It works well for ~ 2 hours, and it crashed. Can not use singbox to visit google.com. can not open dashboard. It shows loading.
When I check the core log, it shows a million lines like below. And CPU goes up to 100%.
Until i run /etc/init.d/momo restart. It return works well for another ~ 2 hours.
2026/03/31 07:44:56 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 5ms
2026/03/31 07:44:56 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 10ms
2026/03/31 07:44:56 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 20ms
2026/03/31 07:44:56 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 40ms
2026/03/31 07:44:56 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 80ms
2026/03/31 07:44:56 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 160ms
2026/03/31 07:44:56 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 320ms
2026/03/31 07:44:56 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 640ms
2026/03/31 07:44:57 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:44:58 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:44:59 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:00 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:01 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:02 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:03 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:04 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:05 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:06 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:07 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:08 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:09 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:10 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:11 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:12 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:13 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:14 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:15 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:16 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:17 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:18 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:19 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:20 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:21 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:22 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:23 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:24 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:25 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:26 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:27 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:28 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:29 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:30 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:31 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:32 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:33 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:34 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:35 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:36 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:37 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:38 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:39 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:40 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:41 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:42 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:43 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:44 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:45 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:46 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:47 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:48 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:49 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:50 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:51 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:52 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:53 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:54 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:55 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:56 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:57 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:58 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:45:59 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:46:00 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:46:01 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:46:02 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:46:03 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:46:04 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:46:05 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:46:06 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:46:07 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:46:08 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:46:09 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:46:10 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:46:11 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:46:12 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:46:13 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:46:14 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:46:15 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:46:16 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:46:17 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
2026/03/31 07:46:18 http: Accept error: accept tcp [::]:9095: accept4: too many open files; retrying in 1s
Reproduction
/etc/init.d/momo restart
wait for ~ 2 hours.
Logs
Supporter
- I am a sponsor
Integrity requirements
- I confirm that I have read the documentation, understand the meaning of all the configuration items I wrote, and did not pile up seemingly useful options or default values.
- I confirm that I have provided the server and client configuration files and process that can be reproduced locally, instead of a complicated client configuration file that has been stripped of sensitive data.
- I confirm that I have provided the simplest configuration that can be used to reproduce the error I reported, instead of depending on remote servers, TUN, graphical interface clients, or other closed-source software.
- I confirm that I have provided the complete configuration files and logs, rather than just providing parts I think are useful out of confidence in my own intelligence.