0
votes
0answers
26 views

changes in limits.conf - now I cant login

I have problem with limits.conf and login to server. After I raised limit in limits.conf, I try reconnect to server. But SSH after auth is disconecting. SCP too. Direct access too. Idea?:)
0
votes
0answers
52 views

How to enable core files on CentOS 6

I am trying to enable core files on a machine running CentOS 6; however, nothing I have tried has produced core files…here is what I have done: Added the following two lines to ...
1
vote
2answers
110 views

How to set ulimits for mongod?

How do I set ulimits for the mongod process/user on CentOS? I've read the official documentation but it doesn't provide OS-specific instructions. I need to set ulimit -u 64000 and need this to ...
-1
votes
1answer
60 views

Removeing ulimit from boot / init

In CentOs as from version 6 there is a by default process limit 1024 for every user i.e /etc/security/limits.d/90-nproc.conf * soft nproc 1024 I have to execute a backend ...
1
vote
1answer
86 views

How do I configure Linux to log when ulimits are hit?

For example, say I'm hitting nproc. I would expect a log message to appear /var/log/messages or similar, but it looks like that needs to be configured. How do I do that? I can't find anything relevant ...
0
votes
2answers
99 views

can't log in when nofile is set to unlimited in /etc/security/limits.conf

I set the following values (-1 will be resolved to unlimited, I suppose) in /etc/security/limits.conf (CentOS 6.2) root nofile soft -1 root nofile hard -1 and I can't log in with root user now. ...
2
votes
2answers
309 views

Increasing nproc on CentOS/RHEL

I have a problem where mysqld runs out of threads and throws errors when under heavy load. I have traced this back to a problem where the pid seems to be limited a soft limit of 1024 processes (have ...
0
votes
3answers
481 views

Different stack size limit for different users, how can I make sure that all users have the same stack size set?

I have a CentOS 6.4 server, when i run ulimit -a as root i get this: core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file ...
-1
votes
1answer
71 views

available file handles is 0, how to increase [closed]

Since some days, we're getting "Too Many Open Files" within an Java application while loading files. So i start searching on Google, and increased fs.file-max to 200000 in my /etc/sysctl.conf. After ...
2
votes
1answer
176 views

Find out limits of other user

On CentOS 6.4 / 64 bit - how to find the limits of the user "nobody"? Because I can not just su - nobody and call ulimit -a: # id nobody uid=99(nobody) gid=99(nobody) groups=99(nobody) # su - ...
0
votes
2answers
197 views

Where to find the mod_cgi.c script

Where is the mod_cgi.c script, or where are all the modules in the apache software? I have a problem with the RLimitNProc settings on my server, because this settings don't work properly. I've found ...
0
votes
0answers
117 views

ulimit -u could be exceeded by some user

Our server is forced to restart sometimes because some users (not all) could start more zombie suphp defunct processes than allowed through the RLIMIT_NPROC / ulimit -u statement. How is that ...
-2
votes
1answer
407 views

Why ulimit shows different outputs? [closed]

I am very confused, and I tried a lot but I didn't get any way to overcome from a bug. I am posting the same. I am hoping that someone helps me. My problem is, When I run ulimit -n it shows 12000. ...
1
vote
1answer
105 views

Execution time differs for different users

I am running simple R job by root and another limited user. The execution time differs significantly. What can be the source of problem? Further information Here is how I compare the run time: # ...
0
votes
1answer
445 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 ...
3
votes
2answers
2k views

Will open files limit in Centos affect HTTP connections? Does the limit apply to a single session or all sessions?

When I do a ulimit -n I got 256, I assume it means I can open 256 files at the sametime. Does it means I can open 256 files with one single session? or all sessions? For example, I logined to my ...
2
votes
1answer
9k views

centos/redhat: change open files ulimit without reboot?

The hard limit of the number of open files is set to 1024 on my machine. I changed /etc/security/limits.conf and added 'idror hard nofile 65000'. In my shell I tried ulimit -n 65000. I get ...
1
vote
0answers
153 views

Find counts of ulimit quotas

So, we may have some sort of zainy leak in our software. We're using Mono and spawning many processes over the course of weeks/months. Eventually, we can't spawn anymore on our clients machines. It ...
12
votes
5answers
31k views

where are the default ulimit values set? (linux, centos)

I have two CentOS (5) servers with nearly identical specs. When I login and do: ulimit -u on one machine, I get unlimited and on the other, 77824 When I run a cron like * * * * * ulimit ...
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 - ...