FS#42214 - [systemd] networkd: Too many open files

Attached to Project: Arch Linux
Opened by Lev Cohan (lev) - Thursday, 02 October 2014, 13:18 GMT
Last edited by Dave Reisner (falconindy) - Friday, 31 October 2014, 14:00 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Thomas Bächler (brain0)
Dave Reisner (falconindy)
Tom Gundersen (tomegun)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Since my last systemd upgrade (215-4 -> 216-3) networkd is having timeouts when renewing my dhcp lease.

Additional info:
systemd upgrade (215-4 -> 216-3)

Log extract:
Oct 02 09:40:51 G550 systemd-networkd[179]: Failed to save lease data /run/systemd/netif/leases/4: Too many open files
Oct 02 09:40:51 G550 systemd-networkd[179]: extern0 : Failed to save link data to /run/systemd/netif/links/4: Too many open files
Oct 02 09:44:15 G550 systemd[1]: systemd-networkd.service watchdog timeout (limit 1min)!
Oct 02 09:44:15 G550 systemd[1]: Unit systemd-networkd.service entered failed state.
Oct 02 09:44:15 G550 systemd-networkd[18244]: extern0 : gained carrier

This happens every two days. The log output is at every incident the same.

config file:
[ext0.network]
[Match]
Name=extern0

[Network]
DHCP=yes


This task depends upon

Closed by  Dave Reisner (falconindy)
Friday, 31 October 2014, 14:00 GMT
Reason for closing:  Fixed
Additional comments about closing:  systemd-217-2
Comment by Dave Reisner (falconindy) - Thursday, 02 October 2014, 14:12 GMT
debug logs? upstream report?
Comment by Lev Cohan (lev) - Saturday, 04 October 2014, 12:07 GMT
Sorry for the late response but the bug needs about two days to emerge and I don't know any way to speed it up.
Two days ago I restarted systemd-networkd with
File: /etc/systemd/system/systemd-networkd.service.d/debug.conf
[Service]
Environment=SYSTEMD_LOG_LEVEL=debug

The log is added to this comment. I only edited the addresses for reasons of secrecy.
Comment by Dave Reisner (falconindy) - Saturday, 04 October 2014, 12:31 GMT
So there's an FD leak on dhcp renewal... please report this upstream.
Comment by Lev Cohan (lev) - Saturday, 04 October 2014, 13:37 GMT

Loading...