torrust-tracker icon indicating copy to clipboard operation
torrust-tracker copied to clipboard

Error: Too many open files (os error 24)

Open babico opened this issue 3 years ago • 2 comments

Hi after opening tracker it gives constant error about editing file. I think data.db its open, edit and not close after it, but I don't know Rust so I couldn't find any code about it. I try to solve with restarting server for now. image

image2

babico avatar Aug 21 '22 13:08 babico

Hey @babico ,

Thank you for reporting this issue. I'll look into it.

mickvandijke avatar Aug 22 '22 17:08 mickvandijke

An update to the bug seems to have been fixed when I turn off the HTTP servers. Maybe on HTTP servers. BTW I haven't used the HTTP servers for around 20-25 days but it seems to affect the whole program.

image2 image1

babico avatar Aug 23 '22 23:08 babico

That's a Linux issue, not a app issue. @WarmBeer Basically, it's the Open Files limiter on Linux, which "could" be set in the /etc/security/limits.conf file to force a higher limit, or using the ulimit tool to raise it higher. By default, Linux allows maximum of 1024 files to be open, and anything higher will be denied. Since sockets are technically also "file descriptors", it counts as well.

You can close this on the fact that it isn't a program problem.

Power2All avatar Dec 10 '22 14:12 Power2All

Thanks for response I try the solution.

babico avatar Dec 11 '22 14:12 babico