I get a kern.maxfiles error when I su into root and open Thunar. kern.maxfiles on my system is 12328
If I look at kern.openfiles when I'm just a single user logged in, the count is ~3000, but as soon at as I open Thunar as root, the number jumps to ~9000, and after a few clicks, no files show up in Thunar and in the terminal I see
and
In the Handbook under "Tuning Kernel Limits" it says that kern.openfiles is set based on kern.maxusers which is based on the amount of system memory. I've got 4GB of ram and kern.maxusers is set at 384 automatically. The Handbook says "We do not recommend going above 256 unless you need a huge number of file descriptors"
I'm the only person that uses this computer, and I'm just using it as a desktop computer. There are never more than a few applications running at any given time, so I'm definitely not taxing the system.
Is this something I should fix by increasing the kern.maxusers value? Or is there something fundamentally wrong with suing into root and running Thunar as root when I want to edit files?
If I look at kern.openfiles when I'm just a single user logged in, the count is ~3000, but as soon at as I open Thunar as root, the number jumps to ~9000, and after a few clicks, no files show up in Thunar and in the terminal I see
Code:
kern.maxfiles limit exceeded by uid 1001
Code:
kern.maxfiles limit exceeded by uid 560
In the Handbook under "Tuning Kernel Limits" it says that kern.openfiles is set based on kern.maxusers which is based on the amount of system memory. I've got 4GB of ram and kern.maxusers is set at 384 automatically. The Handbook says "We do not recommend going above 256 unless you need a huge number of file descriptors"
I'm the only person that uses this computer, and I'm just using it as a desktop computer. There are never more than a few applications running at any given time, so I'm definitely not taxing the system.
Is this something I should fix by increasing the kern.maxusers value? Or is there something fundamentally wrong with suing into root and running Thunar as root when I want to edit files?