Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
0answers
82 views

limits.conf ulimits not being applied to chrooted processes

We allow users to execute scripts on our servers. Our security model involves chrooting them. We want to be able to apply ulimit restrictions to them, and the best way to do it would seem to be in ...
0
votes
0answers
163 views

Update ulimit parameters on ubuntu with out restarting

I am trying to update ulimit open files limit from 1024 to 30000. but i need this change with out restarting the server? Even on restarting the server this changes are not reflected followed this ...
0
votes
1answer
57 views

coredumps don't work after enabling them in /etc/security/limits.conf on Debian

I have some init scripts that launch some daemons that I wrote. I want Linux to generate a coredump anytime something crashes. I activated coredumps in /etc/security/limits.conf by adding the next ...
0
votes
2answers
154 views

How to increase stack limit permanently without restarting

I need to increase the default stack size on Linux. As I know there are usually two ways: ulimit -s size /etc/security/limits.conf The ulimit method only works as long as I am logged in. ...
1
vote
1answer
475 views

strange behaviour with ulimit on Mac OS X 10.6

I get some very strange behaviour when working with ulimit. I just open up a new shell Hector:~ robertj$ ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) ...
2
votes
2answers
668 views

Increase the maximum number of open file descriptors in Snow Leopard?

I am trying to do something that requires a large number of file descriptors sudo ulimit -n 12288 is as high as Snow Leopard wants to go; beyond this results in /usr/bin/ulimit: line 4: ulimit: ...
0
votes
0answers
200 views

How do I change the default ulimit values?

I'm trying to generate a core dump, and the default value of ulimit -c is zero, meaning no core dumps for me :( Where does this default value of 0 for the maximum core dump size come from?
1
vote
1answer
286 views

ulimit soft limit for file descriptors - for a non-root user on CentOS 5.6

I am needing to increase the soft limit for "file descriptors", and make it effective for a non-root user (lets say user1). Ran these commands, while logged in as user1: >ulimit -a core ...
0
votes
3answers
157 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 ...
2
votes
2answers
186 views

Linux: Make “ulimit” limits be cumulative across spawned “subprocesses”

Let's say I have program #1 launching program #2 which is launching program #3. If I call ulimit -t 10 before calling program #1, then EACH program will be alloted 10 seconds of CPU time. Could I ...
0
votes
2answers
929 views

How to change default ulimit values in Mac OS X 10.6?

Mac OS X limits number of processes to 266 and open files to 256. Sometimes this is problem; 256 open files and 266 processes aren't that much. How it's possible to change default ulimit values in ...
1
vote
2answers
173 views

ulimit broke my server

I ran "ulimit -v 75" to get SBCL working, and now nothing will run on my server. $ sbcl Killed $ vi Killed $ man ulimit Killed $ ulimit -v 256 -bash: ulimit: virtual memory: cannot modify limit: ...
3
votes
2answers
285 views

What parameters has ulimit?

I see in examples, that the Option -u is used, but I cannot find a documentation, that says what that option means. man ulimit shows the manual for a C-function. What options has ulimit and what does ...
1
vote
1answer
530 views

ulimit not limiting memory usage

When writing program, there are times when a runaway program slurps half of my RAM (generally due to practically infinite loops while creating large data structures), and bringing the system to become ...