Results 1 to 4 of 4
OK so I ran Bastille, it recommended setting limits on core size and number of user processes. this sounded reasonable to me so I agreed. It mentioned that the settings ...
- 10-20-2005 #1Just Joined!
- Join Date
- Aug 2003
- Location
- New London, CT USA
- Posts
- 40
User Limits
OK so I ran Bastille, it recommended setting limits on core size and number of user processes. this sounded reasonable to me so I agreed. It mentioned that the settings would be in /etc/security/limits.conf and that I could edit them later. Sounds good.
Later that night out of curiosity I typed ulimit -a in a bash session and I got this:
nelamvr6@linux:~> ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) unlimited
cpu time (seconds, -t) unlimited
max user processes (-u) 8191
virtual memory (kbytes, -v) unlimited
Max user processors are 8191? Bastille recommended 150!
So I took a look at /etc/security/limits.conf and found this:
# prevent core dumps
* hard core 0
#limit user processes per user to 150
* soft nproc 100
* hard nproc 150
So what gives? Why are these limits not enforced? I'm running SUSE 10.0 with KDE as my desktop.
TIA
- 10-20-2005 #2
Either send bastille SIGHUP (which should restart it) or just start and stop it. This should solve your problem.
- 10-21-2005 #3Just Joined!
- Join Date
- Aug 2003
- Location
- New London, CT USA
- Posts
- 40
I actually did run Bastille again, reafriming the answers to my questions. Then I did a "ulimit -a" again and got the same results.
Originally Posted by lakerdonald
- 10-21-2005 #4Just Joined!
- Join Date
- Aug 2003
- Location
- New London, CT USA
- Posts
- 40
OK, got it sorted.
I ended up adding lines to /etc/profile
Thanks for the help!


Reply With Quote
