Hi,
I understand that this is probably not a failure that is (solely) caused by Ziti-Edge-Tunnel, but since it allows for Ziti to crash, I thought it might be good to catch.
One of our Tunnel crashed with a Too many open files
error:
Apr 10 03:08:38 zabbix ziti-edge-tunnel[651]: (651)[ 7545947.464] ERROR tunnel-cbs:ziti_hosting.c:658 on_hosted_client_connect_resolved() hosted_service[zabbix_agent.svc], client[company2_s0011.company.ziti] client_src_addr[tcp:100.64.0.1:53557]: uv_tcp_connect failed: too many open files
Apr 10 03:08:38 zabbix ziti-edge-tunnel[651]: (651)[ 7545947.464] ERROR tunnel-cbs:ziti_hosting.c:658 on_hosted_client_connect_resolved() hosted_service[zabbix_agent.svc], client[soar.company.ziti] client_src_addr[tcp:100.64.0.1:46257]: uv_tcp_connect failed: too many open files
Apr 10 03:08:38 zabbix ziti-edge-tunnel[651]: (651)[ 7545947.464] ERROR tunnel-cbs:ziti_hosting.c:658 on_hosted_client_connect_resolved() hosted_service[zabbix_agent.svc], client[zt.company.ziti] client_src_addr[tcp:100.64.0.1:35327]: uv_tcp_connect failed: too many open files
Apr 10 03:08:38 zabbix ziti-edge-tunnel[651]: (651)[ 7545947.464] ERROR tunnel-cbs:ziti_hosting.c:658 on_hosted_client_connect_resolved() hosted_service[zabbix_agent.svc], client[bastion.company.ziti] client_src_addr[tcp:100.64.0.1:51921]: uv_tcp_connect failed: too many open files
Apr 10 03:08:38 zabbix ziti-edge-tunnel[651]: (651)[ 7545947.464] ERROR tunnel-cbs:ziti_hosting.c:658 on_hosted_client_connect_resolved() hosted_service[zabbix_agent.svc], client[el01.company.ziti] client_src_addr[tcp:100.64.0.1:52273]: uv_tcp_connect failed: too many open files
We are unsure if the error was just caused because of too many files open or if Ziti caused the many open files. Either way it might be nice to check the limit and warn if it's getting close?
I do assume it was a soft/hard limit that was on a user level of the user ziti
, under which ziti-edge-tunnel
is run.