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

learn more… | top users | synonyms

1
vote
1answer
336 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 ...
0
votes
1answer
498 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
0answers
124 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
0answers
99 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
213 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
61 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 ...
1
vote
0answers
104 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 ...
0
votes
0answers
29 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 ...
0
votes
0answers
66 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
125 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: ...