"ulimit" is a shell command for setting limits on what resources a process can use
Questions tagged [ulimit]
89 questions
192
votes
4 answers
How do I increase the open files limit for a non-root user?
This is happening on Ubuntu Release 12.04 (precise) 64-bit Kernel Linux 3.2.0-25-virtual
I'm trying to increase the number of open files allowed for a user. This is for my eclipse java application where the current limit of 1024 is not…

iCode
- 2,121
2
votes
1 answer
Can't change file descriptor max limit in Ubuntu 20.04 (LTS) x64
Trying to increase system wide file descriptor count on Ubuntu 20.04 (LTS) x64, currently running as a droplet in DigitalOcean. Following the process outlined here; quick summary below:
Use ulimit -n... prints 1024 ✅
Add fs.file-max=900000 and…

Zorayr
- 121
2
votes
2 answers
New Ubuntu user, having trouble increasing the “open file limit”
The commands I am/trying to use in terminal are:
sudo /bin/su -c “echo ‘fs.file-max=1000000’ >> /etc/sysctl.conf”
sudo /bin/su -c “echo ‘* soft nofile 1000000’ >> /etc/security/limits.conf”
sudo /bin/su -c “echo ‘* hard nofile 1000000’ >>…

Tickling
- 21
2
votes
1 answer
ulimit unlimited cannot set
I'm having a problem setting ulimits to unlimited.
I am a member of the @audio group
Here are the contents of my /etc/security/limits.conf
@audio - rtprio 95
@audio - memlock unlimited
I know audio group is working because I have…

Bhikkhu Subhuti
- 1,238
1
vote
1 answer
Can't set max limit of opened files
I use Ubuntu 15.10 (64bit). I tried to run ulimit -n 102400, but after reboot or relogging (log out and log in) and excuting ulimit -n I see: 1024. I tried adding
* soft nofile 102400
* hard nofile 102400
to /etc/security/limits.conf but as I said…

Szymon Marczak
- 111
1
vote
1 answer
Modify limits of process (ulimit -n)
Is it possible to change the: soft limit and hard limit of a specific process? In my case, the process is mongod and a lot of web resources tell me to simply write ulimit -n in my terminal.
But how will the terminal know that I want to modify only…

test
- 135
- 2
- 7
0
votes
1 answer
Open file limit
I'm trying to increase open file limit in Ubuntu 8.04.4 LTS.
Followed information posted in this question: How do I increase the open files limit for a non-root user?
Added to /etc/sysctl.conf following line: fs.file-max=500000
Added to…

Index
- 275
0
votes
0 answers
What is an allowed ulimit value based on?
If I run cat /proc/sys/fs/file-max it returns a value over 3,000,000 - but I can't set ulimit to more than 1,000,000. If I try I get
-bash: ulimit: open files: cannot modify limit: Operation not permitted
(I have tried modifying…

beetlejes
- 1
- 1