Tagged Questions

"ulimit" is a shell command for setting limits on what resources a process can use

learn more… | top users | synonyms

3
votes
1answer
152 views

How to set a memory limit for a specific process?

I tried to execute mpiexec -16 ... on a 384 GB RAM server, but it induced OOM Killer and was aborted. How can I set a memory limit for mpiexec execution? I know ulimit, but it might affect other ...
0
votes
1answer
93 views

Open file limit [closed]

I'm trying to increase open file limit in Ubuntu 8.04.4 LTS. Followed information posted in this question: How do I increase the open files limit for a non-root user? Added to /etc/sysctl.conf ...
0
votes
0answers
68 views

How can I set 'ulimit -r 95' for a non-root user in ubuntu?

I need to set ulimit -r 95 for a non-root user. I edited: /etc/security/limits.conf /etc/pam.d/common-session /etc/pam.d/su according to this and this post. i.e. in limits.conf: [myusername] soft ...
2
votes
2answers
458 views

how to setup automatic core dump on upstart script?

the myapp is an application that crashes eventually. I would like to get the core dump of those crashes... this is the upstart script I tried so far... but it still doesn't work description ...
0
votes
1answer
1k views

nofile ulimit -n on Ubuntu 14.04 LTS

➜ sudo sysctl -a|grep file fs.file-max = 2037581 fs.file-nr = 2784 0 2037581 ➜ ~ cat /proc/sys/fs/file-max 2037581 ➜ ~ cat /proc/sys/fs/file-nr 2720 0 2037581 /etc/security/limits.conf ...
3
votes
1answer
859 views

Copy app error: “The open file ulimit level is too low, please increase it otherwise changes will not be detected properly”

When using Copy, I get this error: Error: "The open file ulimit level is too low, please increase it otherwise changes will not be detected properly" The application stops syncing when it appears, ...
0
votes
0answers
93 views

The number of file descriptors is limited by your shell

i am trying to start Informix server. i am getting error when i run command ./oninit .error is The number of file descriptors is limited by your shell . can any one please guideline how to remove ...
0
votes
0answers
236 views

How to increase ulimit for a user

i logged in with a user informix .i tried to increase its limit using ulimit -n 4096 but i have to increase it to 10000.when i run ulimit -n 5000 its gave me error -su: ulimit: open files: ...
1
vote
1answer
432 views

Generating core files on Ubuntu

Recently I've been trying to enable core dumps on Ubuntu. I made a simple program, that would crash (it writes some data out of array). At first, core dumps weren't generated. This was because ulimit ...
2
votes
1answer
120 views

Default resource cap on root user

I happened to see that on my Ubuntu 12.04 some resources of the root user is capped. I have not capped anything explicitly and my limits.conf as far as root user is concerned is empty. Here is the ...
1
vote
1answer
4k views

Changing ulimit on ubuntu 12.04 Never works

I am working with hadoop and need to change number of open files ulimit -n. I have seen similar questions on stackoverflow and elsewhere and have tried everything in those answers, but it still does ...
3
votes
0answers
138 views

nofile limit not changed for sh command in non-interactive session

Running 12.04.3 LTS A user submitting a batch job to the queue was receiving a 'too many open files error' Investigation suggested changing the /etc/security/limits.conf file which has been ...
2
votes
1answer
116 views

Major problems with setrlimit after upgrading to Saucy

I have been using setrlimit with the R programming language for several versions of Ubuntu. However after upgrading to 13.10, very strange things started happening. First I started noticing that ...
2
votes
0answers
125 views

Core only dumped upon receiving SIGQUIT

Learning about signals, I found out that calling the <stdlib.h> functionabort(void); in a C program, which roughly equals to raising a SIGABRT signal, doesn't create a core file on my Ubuntu ...
1
vote
0answers
247 views

Automatically kill Chrome processes that exceed RAM limits

I've sought advice from similar threads here, and I'm either not reading them correctly, or my brain is currently fried. My Prior Reading: Automatically kill a process if it exceeds a given amount ...
1
vote
0answers
62 views

How to persistently limit resources of a program

I am running several programs on my computer and under normal circumstances my RAM (2GB) and CPU power is sufficient. However it occurs that a single program suddenly turns the system permanently ...
0
votes
1answer
1k views

What is ulimit and how to install in Ubuntu?

What is ulimit and how to install in Ubuntu? When I am trying to install, I'm getting the below error: E: Unable to locate package ulimit
1
vote
1answer
2k views

how to increase maximum open files for memcached service

Using ulimit -n i am able to set per shell based maximum open files limit To make this value persistent i am able to edit this is in /etc/security/limits.conf and restart the ubuntu 12.10 box, here ...
0
votes
1answer
2k views

Modify limits of process (ulimit -n)

Is it possible to change the: - soft limit and - hard limit of a SPECIFIC process? In my case, my process is mongod and a lot of web resources tell me to simply write: ulimit -n in my Terminal. But ...
6
votes
2answers
3k views

Upstart and core files

I have an upstart job that occasionally crashes with a segmentation fault, and I have a few questions about core dumps. First, should I add a stanza: limit core unlimited unlimited Is there a ...
1
vote
1answer
2k views

Opposite command for “ulimit -c unlimited”

I encountered a bug in eclipse with this error log reported as Bug #1097078. According to the error log, there was a line as Failed to write core dump. Core dumps have been disabled. To enable core ...
0
votes
1answer
1k views

Ardour, system has a limit for maximum amount of locked memory

After installing and starting Ardour I receive the following warning message: WARNING: Your system has a limit for maximum amount of locked memory. This might cause Ardour to run out of memory ...
1
vote
0answers
107 views

Connections to ubuntu server running on EC2

I have a ubuntu EC2 with its default settings. I'm using it for a web application that receives request from iPhone apps. I was trying to do a stress test to see how many connections could be handled ...
7
votes
1answer
4k views

How to remove limit on core dump file size

I would like to increase the maximum size limit for core dump files as a regular user. Using bash, I can set it like this: $ ulimit -c 100 which works well the first time I set it. However, the ...
1
vote
1answer
1k views

Apache / MySql is not running. What is wrong?

I installed lampp / xampp on my Ubuntu 12.04. After installing, Apache and MySQL were running properly. Now, they're not. Here's what I get when I try to run apache: Command: /etc/init.d/apache2 ...
44
votes
2answers
94k views

How do I increase the open files limit for a non-root user?

This is happening on Ubuntu Release 12.04 (precise) 64-bit Kernel Linux 3.2.0-25-virtual I'm trying to increase the number of open files allowed for a user. This is for an my ecplise java application ...
1
vote
2answers
631 views

How to enable SIGQUIT core dumps with apport?

I noticed that on a 12.04 system setting ulimit -c unlimited and sending Ctrl+\ does not have the expected result. Though the shell prints ^\zsh: quit (core dumped) no core dump is written as far ...
4
votes
1answer
2k views

ulimit -u gives illegal option error when running from a script but not when from a terminal

I have the following script: #!/bin/sh echo "OUTPUT:" gcc temp.c echo "ACTOP" ulimit -t 1 ulimit -f 1024 ulimit -u 3 ./a.out > out.txt The output I get is OUTPUT: ACTOP ulimit: 7: Illegal ...
1
vote
1answer
6k views

How do I install and run Apache2?

I have downloaded apache2 from the official site and compiled and installed it per the given instructions there, but on running I get an error: ulimit: 88: error setting limit (Operation not ...
7
votes
1answer
10k views

Ulimit and make_sock errors

I'm trying to configure Redmine for Ubuntu 11.10, using this method Redmine for 11.10 but ran into some crazy snag somewhere with apache. Upon issuing service apache2 restart I get the following ...
3
votes
2answers
3k views

Permanently set process limit

How do you permanently set process limit per user (ulimit -u) in Ubuntu?
6
votes
1answer
2k views

What is a safe ulimit ceiling?

This is the output of ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) ...