Thunderbird has over 3000 open file descripters
I'm not sure if Thunderbird is my problem or not, but I'm getting problems where gnome-shell will not open new windows because there are too many files open. So I'm trying to count the files I have open with each process, and I'm noticing that Thunderbird has 3400 files open.
(I'm measuring this using `lsof -p <PID> | wc -l`, so the ouput of lsof has 3400 lines.)
I'm confused as to why so many open files; is something not getting closed after it is read?
I'm running Thunderbird 91.11.0 on Pop_OS 22.04
Svi odgovori (2)
I rebooted my machine, and rechecked for open file descriptors.
With thunderbird simply running minimized, there are initially 631 open files. After just a few minutes there are 681.
As I'm typing this message, it has dropped down to 619.
Not sure how it is growing so large.
One more data point to add to the confusion. The number of open files has jumped up to 3468. This was after the OWL extension ran to fetch mail from the exchange server. Maybe the leak is there.