Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-05-2012, 12:58 AM   #1
Registered: Apr 2012
Posts: 75

Rep: Reputation: Disabled

how to set ulimit to a different value
Old 09-05-2012, 02:32 AM   #2
Registered: Jun 2012
Posts: 222

Rep: Reputation: 62
Originally Posted by figure20012 View Post
how to set ulimit to a different value
ulimit -n <number>

However, this only changes the limit for the current shell session.
Old 09-05-2012, 03:27 AM   #3
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 658Reputation: 658Reputation: 658Reputation: 658Reputation: 658Reputation: 658
You can edit limits in /etc/security/limits.conf. This file is read by pam_limits when you log in.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ulimit Serena Linux - Software 6 12-18-2014 12:04 AM
ulimit -n gazzac Linux - Software 1 03-09-2012 01:29 PM
ulimit -s 40960 vs ulimit ulimit -s 10240 centguy Linux - Software 1 01-20-2011 07:00 PM
What is ulimit and what it does? brazilian_user Linux - General 3 01-30-2007 02:39 PM
ulimit -t juanbobo Linux - Security 3 06-10-2005 10:43 AM

All times are GMT -5. The time now is 01:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration