Bluez Socket File Descriptor Leak
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Bluez Socket File Descriptor Leak
- From: Jay Foster <jay@xxxxxxxxxxx>
- Date: Fri, 4 Jun 2021 12:06:48 -0700
- Organization: Systech Corporation
- Reply-to: jay@xxxxxxxxxxx
- User-agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0
I am experiencing an odd problem with PAN networking. I have PAN
networking setup in NAP role. Another machine makes a BNEP connection
and performs network activity, then disconnects the BNEP connection.
This repeats periodically. This works just fine, except after a while,
the BNEP connection fails with the following in the log.
May 4 13:08:02 (none) daemon.debug bluetoothd[1373]:
profiles/network/server.c:confirm_event() BNEP: incoming connect from
B8:27:EB:E5:35:9B
May 4 13:08:03 (none) daemon.err bluetoothd[1373]: Can't add bnep0 to
the bridge br1: Too many open files(24)
ls /proc/`pidof bluetoothd`/fd shows about 1000 open file descriptors
(sockets mostly). This looks like some kind of resource (file
descriptor) leak.
Has anyone experienced this before? I don't know if it is in the
bluetoothd application or one if the libraries (glib2, dbus) it links
with. Happens with bluez 5.19 and 5.52.
Jay
[Index of Archives]
[Bluez Devel]
[Linux Wireless Networking]
[Linux Wireless Personal Area Networking]
[Linux ATH6KL]
[Linux USB Devel]
[Linux Media Drivers]
[Linux Audio Users]
[Linux Kernel]
[Linux SCSI]
[Big List of Linux Books]