1
vote
0answers
34 views

Stack , data and address space limits on an Ubuntu server

I am running an Ubuntu server which has around 5000 users. The users are allowed to SSH in to the system. So in order to cap the memory used up by a process I have capped the address space limits ...
0
votes
2answers
137 views

Limit logons per user account in linux.

The current situation is that all users have local configured telnet connections to a red hat server running a simple telnet daemon. I would like to consolidate those locally configured telnet ...
3
votes
2answers
6k views

/etc/security/limits.conf soft nproc limit appears to be ignored

My MongoDB database was running into problems under load, with the following errors spamming the logs: [initandlisten] pthread_create failed: errno:11 Resource temporarily unavailable [initandlisten] ...
4
votes
3answers
2k views

Is there a hard limit to the number of files a directory can have? [duplicate]

Wondering if there is a limit to the number of files that can be stored inside a directory, in CentOS 6. There is one particular directory which could potentially have millions of subdirectories. ...
-1
votes
1answer
240 views

limit filesystem cache size for specific files under linux

I have a directory with many files with high access rate. And I need to reduce the cache pressure of this specific directory to prevent other files (like my home directory files) from the pushing out ...
2
votes
2answers
1k views

Linux /etc/security/limits.conf explanation

Can anyone explain (or know of a source) that provides details about the items in limits.conf? The man page doesn't give much detail. For example it says: rtprio maximum realtime priority allowed ...
0
votes
1answer
59 views

How to set memory limit on OS level to overcome problems with “Burstable memory service”?

I have VPS. It has Burstable memory service. My guaranteed memory limit is 1GB. I want linux not to take more that 1GB to programs on OS level. How to do it? It is ubuntu server.
0
votes
1answer
448 views

Finding the source of a ulimit setting

On my CentOS 6.2 server the value of ulimit -v (virtual memory) is 1048576. However, this is not set in /etc/security/limits.conf (which is empty) or .../limit.d/ (which contains only a max processes ...
1
vote
2answers
480 views

Monitor open files limits, etc

We've been hitting the max open files limit on a few services recently. There are also a bunch of other limits in place. Is there a way to monitor how close processes are to these limits so we can be ...
4
votes
1answer
3k views

how do i set hard and soft file limits for a non-root user at boot?

I have a xen HVM vps and I'm trying to raise the hard and soft file limits for nobody at boot time. I'm using Ubuntu 10.04.3 and inside /etc/security/limits.conf I have: nobody soft nofile ...
1
vote
2answers
464 views

Setup MySQL per account limits similar to shared hosting

Similar questions have been asked before, such as this one, but none of the answers I've seen so far really tell me what I'm after. I have a need to set up a Linux box for internal development and ...
2
votes
4answers
6k views

Setup “open files” limit in Linux per user. Cannot setup more than 1024

I try to increase open file limit for certain user on CentOS 5.5 Linux. I added a new line to /etc/security/limits.conf: seed hard nofile 10240 Then do test: runuser -s /bin/bash - ...
2
votes
2answers
447 views

Process limit for user in Linux

This is the standard question, "How do I set a process limit for a user account in Linux to prevent fork-bombing," with an additional twist. The running program originates as a root-owned Python ...
21
votes
5answers
36k views

Filename length limits on linux?

Are there any filename or path length limits on Linux?