search for: nproc

Displaying 20 results from an estimated 60 matches for "nproc".

Did you mean: proc
2011 Nov 02
1
nproc parameter in efpFunctional
Hello all, could anyone explain the exact meaning of parameter nproc? Why different values of nproc give so different critical values, i.e. meanL2BB$computeCritval(0.05,nproc=3) [1] 0.9984853 meanL2BB$computeCritval(0.05,nproc=1) [1] 0.4594827 The strucchange-package description gives "integer specifying for which number of processes Brownian motions should b...
2015 Nov 25
2
limits.conf and AD domain groups
...as and so now I need to place ulimits on place. Attempts to use AD domain groups fail. So I'm not sure this is an issue for samba+winbind or for /etc/security/limits.conf and pam. Here's what I have added in limits.conf # -- fix fork bomb issue -- @"Domain Users" soft nproc 20 @"Domain Users" hard nproc 20 And here is what I have in pam.d/common-session session required pam_limits.so -- I'm pretty sure the pam stuff is correct because I was able to set nproc limits on a non-domain user. But I'm wondering if we can se...
2006 Nov 21
1
Top process automatically killed
Hi, Can modifications to /etc/security/limits.conf cause top process to be automatically killed. First, Here is the contents of the /etc/security/limits.conf * hard cpu 2 * soft nproc 5 * hard nproc 10 mailnull hard nproc 100 What i have noticed that top process is always killed, But after hacking investigations like monitoring bandwidth, monitoring chatbots, running rkhunter, verifying ps & top binaries i found...
2016 Sep 20
4
Too many open files
...reboot, it won't work! /etc/pam.d/common-session session required pam_limits.so /etc/sysctl.conf fs.file-max = 100000 /etc/icecast2/icecast.xml <clients>20000</clients> # open file limit /etc/security/limits.conf icecast2 hard nofile 90000 icecast2 soft nofile 50000 icecast2 hard nproc 90000 icecast2 soft nproc 50000 How do I know? ps aux | grep icecast2 cat /proc/ICECAST2_PID/limits max open file is still 1024 In the end, I have to add the following line to /etc/init.d/icecast2 ulimit -n 20000 And I can stream over 1k users now. There is no config about ulimit for icecast2,...
2019 Mar 24
2
Maximum Listeners.
...scast1 ~]# ulimit -a ... open files (-n) 50000 ... max user processes (-u) 65535 While im doing the Load Test 1, my server only reaches ~1015 listeners. I’ve set this on etc/security/limits.conf : icecast hard nofile 50000 icecast soft nofile 60000 icecast soft nproc 65535 icecast hard nproc 65535 * hard nofile 50000 * soft nofile 60000 * soft nproc 65535 * hard nproc 65535 If I set this: [root at scast1 ~]# prlimit -n5000 -p <pid> Everything works perfectly. But if I stop or reboot my ice cast server, 1024 backs again. What can I do to save that ope...
2009 Jul 15
2
"limit -n XXX" does NOT allow on CENTOS 4.X???
We have CENTOS 4.7 on DELL server. our /etc/security/limits.conf already setup as: * soft nproc 2047 * hard nproc 16384 * soft nofile 4096 * hard nofile 65536 oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 8192 oracle ha...
2013 Apr 18
1
snow: cluster initialization
Dear all, I found a strange thing with the snow package. This will work: y = matrix(1:4, 2) cl = makeCluster(rep('localhost', 8), type='SOCK') parMM(cl, y, y) This will not: y = matrix(1:4, 2) ncore = system('nproc') parMM(cl, y, y) Error in cut.default(i, breaks) : invalid number of intervals I also tried: cl = makeCluster(rep('localhost', ncore), type='SOCK') cl = makeCluster(rep('localhost', as.integer(ncore)), type='SOCK') no luck. Could anyone please help? Thanks!...
2013 Mar 20
2
change /etc/security/limits.conf need reboot or not?
We have CEntos 5.5 on DELL server. Due to more and more databases run on same server sometime processes number read max and cause 'resource temporary unavailable". I plan to change /etc/security/limits.conf value: oracle soft nproc 2047 ==> 4096 Do i need reboot to make it effect? How to test change is effect? Thanks.
2002 Jan 29
2
[Bug 83] New: fork() fails when there are PAM limits set
...Severity: normal Priority: P2 Component: sshd AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: vasil at dobrich.net Background: debian woody, kernel 2.4.17 The problem is, when you set some resource limits in /etc/security/limits.conf for group X - nproc 20 ( maximum of running user processes - 20 ), and try to log with some user with group X, sshd says 'fork failed - resource temporary unavialable'. There are no other processes running for this user, and as far as i've seen, it makes something like authenticate-set limits-fork()-setuid...
2008 Jul 30
4
panic action on samba 3.2
...iles initially as user fsi (uid=1179, gid=221) (pid 27143) [2008/07/30 16:57:36, 1] smbd/service.c:close_cnum(1401) crdfsim (10.217.4.93) closed connection to service fsi [2008/07/30 16:57:36, 0] lib/util_sec.c:set_effective_uid(204) setresuid failed with EAGAIN. uid(1179) might be ove! r its NPROC limit [2008/07/30 16:57:36, 0] lib/util_sec.c:asse! rt_uid(1 00) Failed to set uid privileges to (-1,1179) now set to (0,0) [2008/07/30 16:57:36, 0] lib/util.c:smb_panic(1666) PANIC (pid 27143): failed to set uid [2008/07/30 16:57:36, 0] lib/util.c:log_stack_trace(1770) BACKTRACE: 13 stack fram...
2011 Feb 01
3
dovecot: imap-login: Error: net_connect_unix(imap) failed: Resource temporarily unavailable
...ct_unix(imap) failed: Resource temporarily unavailable imap-login: Internal login failure (auth failed, 1 attempts) And at this point, users can't log in. I don't know what Resource dovecot is running out of. The machine is a 12-core Xeon 2.27Ghz, with 24GB RAM. I have removed the 1024 nproc limit in /etc/security/limits.d/90-nproc.conf, and upped the nproc and nofile limits to 16384 and 65535 respectively, both in limits.conf, as well as adding ulimit statements in /etc/init.d/dovecot (belt and suspenders). I have tried adjusting dovecot.conf, but I'm obviously missing somethi...
2015 Feb 14
1
concurrent IMAP connections (plus 2 easy questions)
...ocess required about 750k of RAM. Simulations confirmed that 8 gig of RAM was sufficient to support approximately 10,000 concurrent IMAP connections (no POP3). CentOS settings: Added: fs/inotify/max_user_instances = 28000 to: /etc/sysctl.d/99-sysctl.conf Added: * hard nproc 28000 * soft nproc 28000 * hard nofile 28000 * soft nofile 28000 to: /etc/security/limits.d/20-nproc.conf To verify the settings after reboot: cat /proc/sys/fs/inotify/max_user_instances ulimit -Hn ulimit -Sn Dovecot: Ad...
2016 Oct 08
0
Too many open files
...ion required pam_limits.so > > /etc/sysctl.conf > fs.file-max = 100000 > > /etc/icecast2/icecast.xml > <clients>20000</clients> > > # open file limit > /etc/security/limits.conf > icecast2 hard nofile 90000 > icecast2 soft nofile 50000 > icecast2 hard nproc 90000 > icecast2 soft nproc 50000 > > How do I know? > ps aux | grep icecast2 > cat /proc/ICECAST2_PID/limits > max open file is still 1024 > > In the end, I have to add the following line to /etc/init.d/icecast2 > > ulimit -n 20000 > > And I can stream over 1k u...
2016 Oct 08
0
Too many open files
...reboot, it won't work! /etc/pam.d/common-session session required pam_limits.so /etc/sysctl.conf fs.file-max = 100000 /etc/icecast2/icecast.xml <clients>20000</clients> # open file limit /etc/security/limits.conf icecast2 hard nofile 90000 icecast2 soft nofile 50000 icecast2 hard nproc 90000 icecast2 soft nproc 50000 How do I know? ps aux | grep icecast2 cat /proc/ICECAST2_PID/limits max open file is still 1024 In the end, I have to add the following line to /etc/init.d/icecast2 ulimit -n 20000 And I can stream over 1k users now. There is no config about ulimit for icecast2,...
2018 Feb 15
3
wbinfo -U id gives different users on same dc
...ns > [2018/02/15 10:39:03.009569, 2] ../source3/smbd/server.c:1395( > smbd_parent_loop) > waiting for connections > > Here are my settings in /etc/security/limits. > > * soft nofile 99000 > * hard nofile 999000 > * - memlock unlimited > * - nofile 100000 > * - nproc 32768 > * - as unlimited > > @root soft nofile 99000 > @root hard nofile 999000 > @root - memlock unlimited > @root - nofile 100000 > @root - nproc 32768 > @root - as unlimited > > > Again thanks for you help, > > Ozkan > > > *Özkan GÖKSU* | *Te...
2017 May 25
2
Re: can't establish more than 1000 connections with virsh
...so get the same prompt. >> >> Anybody know why? > There's a limit of 1024 open file handles by default on Linux. You would > have to raise that limit in /etc/security/limits.d/ for your user. > > > Regards, > Daniel In /etc/security/limits.d/,there is only 20-nproc.conf. I modified /etc/security/limits.conf,what I added is: "* soft nofile 81920 * hard nofile 81920" I also modified /etc/pam.d/login,that I added is: "session required pam_limits.so" The output of "ulimit -a" is:...
2018 Jul 02
0
Samba 4.3.11 accessing disk every minute
...4(".", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0 open("/etc/mtab", O_RDONLY|O_CLOEXEC) = 8 fstat64(8, {st_mode=S_IFREG|0755, st_size=693, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb4ca0000 read(8, "%root% / unknown rw 0 0\nproc /pr"..., 1024) = 693 stat64("/", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0 stat64("/proc", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0 stat64("/", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0 stat64("/sys", {st_mode=S_IFDIR|0555, st_size=0, ...})...
2014 Mar 22
1
Issues to manage RAM on openvz guests
...dump and the steps that I did. Cheers,Aurelien Log ---- 1) Define openvz guest domain 103 #virsh -c openvz:///system define vztest.xml Domain 103 defined from vztest.xml 2) Start the guest #virsh -c openvz:///system start 103 Domain 103 started #vzlist CTID NPROC STATUS IP_ADDR HOSTNAME 103 20 running - - 3) Check memory size vz guest 103 #vzctl enter 103 entered into CT 103 #root@test:/# free -m total used free shared buffers cached Mem: 256 27 228...
2010 Jul 14
3
sample sleep command killed
I re-wrote the compile script to build klibc (cleaning up how I do it, and how to find the source tarballs). It seems to be compiling fine. I tried several of the commands in usr/utils/static and most one. However, the sleep command fails in a strange way (EINVAL on execve): ================================================================ faraday/phil /home/phil/klibc-project-0 581> strace
2007 Jan 27
0
Problem with MAX OPEN FILES REACHED
...UX 3.1.1 with latest patches and Samba 2.2.5 on it. But recently I start to receive linux error "kernel: VFS MAX FILES REACHED" and Samba error "Too many open files". After it I tuning linux increase open files descriptors in /etc/security/limits.conf * soft nproc 4094 * hard nproc 16384 * soft nofile 12000 * hard nofile 16000 , /etc/rc.d/init.d/samba ulimit -n 12000 before start smbd, /etc/sysctl.conf fs.file-max = 12000 And start monitoring through lsof, smbstatus every 15 min. In a few days situat...