Rogerio Cruz 0 Report post Posted August 2, 2006 When I type the command ulimit -a, I see open files parameter as 1024 (default). Setting the parameter as ulimit -n 50000, update this value to 50000, but only in current console session. How can I do to set this parameter for all sessions?Tks Share this post Link to post Share on other sites
abhiram 0 Report post Posted August 2, 2006 You've got to edit your ~/.bashrc file so that it defaults to what you need everytime you open a console. Technically, .bashrc is called everytime you open a console shell. Here's some more info: System-wide settings can be made in /etc/profile. There, enable creation of core files, needed by programmers for debugging. A normal user cannot increase the values specified in /etc/profile by the system administrator, but he can make special entries in his own~/.bashrc.Settings in ~/.bashrc# Limits of physical memory:ulimit -m 98304# Limits of virtual memory:ulimit -v 98304 Source: http://forums.xisto.com/no_longer_exists/So, all you need to do is put ulimit -n 50000 in ~/.bashrc and it should do the trick.Hope that helps. Share this post Link to post Share on other sites