errno -9 on startup

It’s basically a copy of this thread with all important circumstances and taken steps being the same as in that thread. My router is an ASUS RT-N16 running on Entware. Both the Entware build and the build downloaded from Syncthing page behave the same way - throwing an error -9 at me on startup.

[YEUZ4] 07:11:09 INFO: syncthing v0.14.36 "Dysprosium Dragonfly" (go1.8.3 linux-mipsle) teamcity@build.syncthing.net 2017-08-10 15:31:25 UTC
[YEUZ4] 07:11:09 INFO: My ID: YEUZ4IA-O4H4S6I-JCYF3R3-2SPSCOP-VE3GWHC-3D4DM6K-CXUBOGL-Z3M3FQZ
[YEUZ4] 07:11:11 INFO: Single thread SHA256 performance is 3.8 MB/s using minio/sha256-simd (3.8 MB/s using crypto/sha256).
[YEUZ4] 07:11:16 INFO: Hashing performance with weak hash is 3.40 MB/s
[YEUZ4] 07:11:21 INFO: Hashing performance without weak hash is 3.64 MB/s
[YEUZ4] 07:11:21 VERBOSE: Starting up (/opt/etc/syncthing)
[YEUZ4] 07:11:21 INFO: Weak hash enabled, as it has an acceptable performance impact.
[YEUZ4] 07:11:22 INFO: Send rate is unlimited, receive rate is unlimited
[YEUZ4] 07:11:22 INFO: Rate limits do not apply to LAN connections
[YEUZ4] 07:11:22 INFO: Using discovery server https://discovery-v4-2.syncthing.net/v2/?id=DVU36WY-H3LVZHW-E6LLFRE-YAFN5EL-HILWRYP-OC2M47J-Z4PE62Y-ADIBDQC
[YEUZ4] 07:11:22 INFO: Using discovery server https://discovery-v4-3.syncthing.net/v2/?id=VK6HNJ3-VVMM66S-HRVWSCR-IXEHL2H-U4AQ4MW-UCPQBWX-J2L2UBK-NVZRDQZ
[YEUZ4] 07:11:22 INFO: Using discovery server https://discovery-v4-4.syncthing.net/v2/?id=LYXKCHX-VI3NYZR-ALCJBHF-WMZYSPK-QG6QJA3-MPFYMSO-U56GTUK-NA2MIAW
[YEUZ4] 07:11:22 INFO: Using discovery server https://discovery-v6-2.syncthing.net/v2/?id=DVU36WY-H3LVZHW-E6LLFRE-YAFN5EL-HILWRYP-OC2M47J-Z4PE62Y-ADIBDQC
[YEUZ4] 07:11:22 INFO: Using discovery server https://discovery-v6-3.syncthing.net/v2/?id=VK6HNJ3-VVMM66S-HRVWSCR-IXEHL2H-U4AQ4MW-UCPQBWX-J2L2UBK-NVZRDQZ
[YEUZ4] 07:11:22 INFO: Using discovery server https://discovery-v6-4.syncthing.net/v2/?id=LYXKCHX-VI3NYZR-ALCJBHF-WMZYSPK-QG6QJA3-MPFYMSO-U56GTUK-NA2MIAW
[YEUZ4] 07:11:22 INFO: listen (BEP/tcp): listen tcp 0.0.0.0:22000: errno -9
[YEUZ4] 07:11:22 INFO: c.S.listenerSupervisor: Failed service 'tcp://0.0.0.0:22000' (1.000000 failures of 2.000000), restarting: true, error: "{tcp://0.0.0.0:22000 tcp://0.0.0.0:22000} returned unexpectedly", stacktrace: [unknown stack trace]
[YEUZ4] 07:11:22 INFO: listen (BEP/tcp): listen tcp 0.0.0.0:22000: errno -9
[YEUZ4] 07:11:22 INFO: c.S.listenerSupervisor: Failed service 'tcp://0.0.0.0:22000' (1.999938 failures of 2.000000), restarting: true, error: "{tcp://0.0.0.0:22000 tcp://0.0.0.0:22000} returned unexpectedly", stacktrace: [unknown stack trace]
[YEUZ4] 07:11:22 INFO: listen (BEP/tcp): listen tcp 0.0.0.0:22000: errno -9
[YEUZ4] 07:11:22 INFO: Entering the backoff state.
[YEUZ4] 07:11:22 INFO: c.S.listenerSupervisor: Failed service 'tcp://0.0.0.0:22000' (2.999792 failures of 2.000000), restarting: false, error: "{tcp://0.0.0.0:22000 tcp://0.0.0.0:22000} returned unexpectedly", stacktrace: [unknown stack trace]
[YEUZ4] 07:11:22 INFO: Entering the backoff state.
[YEUZ4] 07:11:22 INFO: c.S.listenerSupervisor: Failed service 'dynamic+https://relays.syncthing.net/endpoint' (3.999041 failures of 2.000000), restarting: false, error: "{dynamic+https://relays.syncthing.net/endpoint dynamic+https://relays.syncthing.net/endpoint} returned unexpectedly", stacktrace: [unknown stack trace]
[YEUZ4] 07:11:22 FATAL: Starting API/GUI: listen tcp 0.0.0.0:8384: errno -9

-9 is probably killed due to out of memory.

In this case I think 9 is EBADF meaning it can’t listen for some obscure reason. Maybe not having the network set up, maybe having an odd kernel or setup, maybe for some security reason. I suspect it’s more ASUS related than Syncthing related.

I forgot to mension, the firmware is not ASUS, it’s a Tomato flavor (Tomato by Shibby).

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.