I have several process using the same user and now I'm running into an issue where there are too many open files. Is there any way to up a user's open file limit in ADM? I was reading this article now how to do it in Linux: https://www.tecmint.com/increase-set-op ... -in-linux/. However, ADM doesn't seem to have a "/etc/security/limits.conf". Is this configuration file somewhere else? Is this something I can manage in the Web UI?
I know that probably the "correct" solution is to create a new user for each running process, but I'd like a stopgap so that I can take my time creating the users and switching each process over one by one.
Increasing the Open File Limits
-
- Posts: 1
- youtube meble na wymiar Warszawa
- Joined: Tue Mar 23, 2021 3:07 am
- orion
- Posts: 3485
- Joined: Wed May 29, 2013 11:09 am
Re: Increasing the Open File Limits
I don't know where is limits.conf neither. But you can try to change the current user level limit through command line, ex: "ulimit -n 8192". It only affects the current login session. Try to launch your process after this command...
-
- Posts: 1
- Joined: Thu Dec 16, 2021 3:20 am
Re: Increasing the Open File Limits
I don't know the solution, but I can confirm that limits.conf isn't somewhere else. It doesn't exist. That file is supplied (and used) by the PAM (pluggable authentication modules) module PAM_limits, which is not installed on ADM.
I'd like to just be able to add it, except that all the boot-related stuff seems to re-image itself on every reboot.
I'd like to just be able to add it, except that all the boot-related stuff seems to re-image itself on every reboot.
-
- Posts: 14
- Joined: Tue Feb 23, 2021 12:22 am
Re: Increasing the Open File Limits
Any news regarding this? I am amazed Asustor engineers do not provide a way to change this.
Ulimit -n is not a solution because that does not impact the system processes if they are running already.
Ulimit -n is not a solution because that does not impact the system processes if they are running already.