On Wed, Jun 5, 2024 at 15:11 (-0700), Mike Bird via tde-users wrote:
On Sat June 1 2024 12:34:46 gene heskett via tde-users wrote:
On 6/1/24 06:09, Mike Bird via tde-users wrote:
You could try the following:
(1) Close whatever applications you don't need to have open. (2) Get as close as you can to the step that causes the long delay. (3) As root run and save the outputs of "ps fax" and "lsof -n".
lsof -n is 219k lines ack wc -l.. I should reboot and not restart my network.
(4) Do the thing that starts the long delay.
Firefox is affected, and common, so I'll use that. But later.
Don't forget step (1) above, and if possible use something simpler than Firefox to test the problem. Firefox opens huge numbers of files. My laptop currently has 2721777 (2.7M) files open of which 2256004 are opened by firefox.
<snip>
Mike, how did you calculate how many files are opened by firefox? I just added up all the entries in /proc/<pid>/fd for firefox and its children processes and I "only" got 1881.
2256004 seems like an astonishing number. Can you clarify this?
Thanks.
Jim