All about resource limits that can be set with the ulimit command

learn more… | top users | synonyms

3
votes
1answer
46 views

limits.conf modification doesn't work

On a SLES 9 machine I added the line: vi /etc/security/limits.conf USERNAME hard cpu 70 but when I check it with "ulimit -a": SERVER:~ # su USERNAME USERNAME@SERVER:/root> ...
2
votes
1answer
191 views

Process specific ulimit still low after changes to soft and hard ulimits

I'm having trouble with increasing the open-files ulimit (ulimit -n) for a particular process on a Debian 6 server. AFAIK I've done everything to change the servers hard and soft limits in this case, ...
1
vote
1answer
978 views

What are the effects of increasing hard and soft limits for ldap user

I've been having some instability issues with my LDAP server. I have ~2000 machines connecting to it. Using netstat -pant | grep slapd, I can typically see 1500+ connections from the clients to the ...
0
votes
1answer
678 views

Increasing `ulimit -u` settings temporarily in OSX Yosemite

I'm trying to temporarily (without restarting the machine, just for test that starts a JVM) increase the number of processes to 2048 in OSX Yosemite but I'm unable to do so. First, I tried calling ...
0
votes
1answer
267 views

No virtual memory (-v) item in output of ulimit -a

When I run command ulimit -a, I see no virtual memory item in the list of output of the command. It is unlimited for some user IDs though. Does that mean I am assigned no virtual memory?
2
votes
0answers
58 views

Catch/diagnose user process being killed - Inexplicably logged out automatically

Context: I'm using bash in Mac OSX Yosemite. Problem: I'm executing a (python) script that I expect to use alot of resources and take a few hours to run, redirecting stdout and stderr to a log file. ...
2
votes
0answers
643 views

ulimit settings in /etc/security/limits.conf not in effect for users

Oracle Linux 6.6 Goal: user jboss_app should be able to run up to 16384 processes We increased max user processes because a user was running out of processes. Current contents of limits.conf: ...
1
vote
0answers
21 views

How can I define time limit to a user's group per session

I have the group ABC and I need to configure a time-limit to 2min per session for its members. Like a TMOUT is only for a user, but I need for a group). How can I define time limit to a user's group ...
1
vote
0answers
76 views

File descriptor limits in /etc/system vs /etc/sysctl.conf vs /etc/security/limits.conf on Solaris

Let me explain first what I understood. In Solaris 10, rlim_fd_max and rlim_fd_cur in /etc/system set the hard and soft limits at the system level. And /etc/security/limits.conf sets the limits for ...
1
vote
0answers
39 views

Why is there no basic limit in prctl - n process.max-file-descriptors for some processes?

Some flexlm processes which are running as non-user but are started during startup as init process are not having basic(soft limit). What does it mean? NAME PRIVILEGE VALUE FLAG ACTION ...
1
vote
0answers
484 views

ulimit vs. limit on FreeBSD 8.3

I had the same issue with the error as this and this question (both of which I read and understood), the message being: $ ulimit -n 20000 ulimit: bad limit: Operation not permitted I encountered ...
1
vote
0answers
171 views

Find and close/unlink message queues in the system

I have a SLES-11 machine on which I am not the root where I am building software code that makes extensive use of message queues. Due to some bugs, Now have an error: mq_open: Too many open files I ...
1
vote
0answers
254 views

Ulimits and pam modules

Can you explain me the relation of ulimit setting on a proccess and line session required pam_limits.so in pam module. In wich modules i really require this line? I have this line in pam.d/su ...
1
vote
0answers
943 views

Permanently change per-process stack size

When I use ulimit -s to change the per-process stack size, it only lasts for that login; if I restart the setting is lost. How can I permanently change the maximum stack size on my system?
0
votes
0answers
50 views

LINUX processes are forking up to thousand of processes again, even after kill command

On one of our boxes, I'm encountering strange problem from time to time.. in.tftpd processes are forking up to thousand of processes, getting server to almost unresponsive state. I've tried various ...