0
votes
0answers
31 views

Why isn't “(ulimit -d 1000; firefox) &” working?

I'm trying to limit the memory usage of firefox to prevent it from stalling the whole system with problematic web sites. I tried, in bash: (ulimit -d 1000; firefox) & This should limit the ...
0
votes
1answer
19 views

How to check core dump enabledness status in bash?

$ ulimit unlimited $ sleep 2 && killall -SEGV cat & [1] 11358 $ cat Segmentation fault $ ulimit -c unlimited $ ulimit unlimited $ sleep 2 && killall -SEGV cat & [1] 11462 $ cat ...
3
votes
1answer
505 views

Does “ulimit -Su” limit the number of user processes created in interactive login subshells and tmux sessions created therein?

A few months ago, I wrote a set of bash scripts utilizing tmux to create a simple IDE on an AIX 7.1 server. There is a bug in one of my scripts that will sometimes generate user processes very rapidly ...
1
vote
3answers
930 views

how to limit resource in Linux

I've posted a question about this few hours ago on Stack Overflow: Linux bash inline command to execute a program and limit the resource As I know, to limit the resource I can use ulimit ...