search for: ulimit

Displaying 20 results from an estimated 866 matches for "ulimit".

Did you mean: limit
2016 Sep 20
4
Too many open files
.../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, and therefore, I suggest that we add something like this in /etc/init.d/icecast2 # Check if the ULIMIT is set in /etc/default/icecast2 if [ -n "$ULIMIT" ]; then # Set the ulimits u...
2018 Apr 27
2
samba-tool ntacl sysvolcheck -> Too many open files
...les dnssrv Max open files 16384 16384 files However, if I run samba-tools ntacl sysvolcheck or reset, they are using system default (Soft Limit 1024) and sysvolcheck failed (not sysvolreset) A quick solution is to run "ulimit -n 16384 && samba-tool ntacl sysvolcheck" A deeper solution will be to play with /etc/security/limits.conf or other.... Best regards
2012 Apr 06
2
define function problem
...e.d": ensure => directory, purge => true, force => true, recurse => true, owner => root, group => root, mode => 644; } } } class profile::ulimit inherits profile { if ("$operatingsystem" == "Ubuntu") { define set_ulimit($limit="null") { file { "/etc/profile.d/ulimit.sh": ensure => file, mode => 64...
2014 Apr 23
2
Ulimit problem - CentOS 5.10
Running across some curious stuff with ulimit on CentOS 5.10. We have a non CentOS packaged version of Asterisk (using their packages) that we start at boot time with a typical RC script. Recently it started whining that it couldn't open enough file handles. As we dug further into this, it appears that at boot time, it inherits ulimit f...
2014 May 29
2
[LLVMdev] setrlimit vs ulimt
> Why does fork-exec for llvm-symbolizer work, but simple exec(self) does not? Because the llvm-symbolizer the runtime finds is built for the host architecture. This is weird, yes, but once we integrate the symbolizer, it goes away. > Could we write a ulimit-like utility that would do setrlimit and then > exec the specified binary > %run %ulimit -s 8192 %t? I like that idea. How do you feel about this short-term solution: %run sh -c "ulimit -s 8192 && %t" -Greg On Thu, May 29, 2014 at 12:05 PM, Evgeniy Stepanov <euge...
2013 Feb 15
1
How to read/set ulimit for non-root asterisk process ?
...socket [Feb 13 16:47:00] WARNING[9283] rtp.c: Unable to allocate RTCP socket: Too many open files [Feb 13 16:47:00] WARNING[14732] acl.c: Cannot create socket [Feb 13 16:47:00] WARNING[14732] channel.c: Channel allocation failed: Can't create alert pipe! Try increasing max file descriptors with ulimit -n [Feb 13 16:47:00] WARNING[14732] chan_sip.c: Unable to allocate AST channel structure for SIP channel [Feb 13 16:47:00] WARNING[14732] app_dial.c: Unable to create channel of type 'SIP' (cause 0 - Unknown) [Feb 13 16:47:00] ERROR[14732] rtp.c: Unable to allocate socket: Too many open fil...
2020 Sep 16
2
dovecot 2.2.36.4 problem with ulimit
...to debian9 # 2.2.36.4 (baf9232c1): /etc/dovecot/dovecot.conf # Pigeonhole version 0.4.24.2 (aaba65b7) # OS: Linux 4.9.0-13-amd64 x86_64 Debian 9.13 All works fine but sometimes I get: Sep 16 09:17:00 dovecot4 dovecot: master: Error: service(pop3): fork() failed: Resource temporarily unavailable (ulimit -u 257577 reached?) Sep 16 09:17:00 dovecot4 dovecot: master: Error: service(imap): fork() failed: Resource temporarily unavailable (ulimit -u 257577 reached?) Sep 16 09:17:00 dovecot4 dovecot: master: Error: service(doveadm): fork() failed: Resource temporarily unavailable (ulimit -u 257577 reache...
2014 Jul 17
2
ulimit warning when restarting
When restarting Dovecot 2.2.10 (via atrpms) on RHEL 6, I get the error: Warning: fd limit (ulimit -n) is lower than required under max. load (1024 < 4096), because of default_client_limit # doveconf default_internal_user default_internal_user = dovecot Should dovecot print this warning based on $default_internal_user, or based on root? As root: # ulimit -n 1024 As user dovecot: $ ulimit...
2014 May 29
2
[LLVMdev] setrlimit vs ulimt
...s that system calls route to the host system. That can be useful if, for example, the executable invokes llvm-symbolizer. While execv(argv[0]) may be the right way to restart, this process doesn't need to be restarted. It needs to be configured before the first invocation. > Propagating ulimit setting in %run wrapper sounds wrong. In my opinion, propagating ulimit settings in the wrapper is consistent with whitelisting environment variables. -Greg On Thu, May 29, 2014 at 2:34 AM, Evgeniy Stepanov <eugenis at google.com> wrote: > execv(argv[0]) is a canonical way to restart th...
2015 Jan 31
0
[LLVMdev] [3.6 Release] RC2 has been tagged, Testing Phase II begins
...llvm-3.6.0/rc2/Phase3/Release/llvmCore-3.6.0-rc2.obj/tools/clang/test' Making Clang 'lit.site.cfg' file... Making Clang 'Unit/lit.site.cfg' file... gmake[2]: Leaving directory `/home/dim/llvm-3.6.0/rc2/Phase3/Release/llvmCore-3.6.0-rc2.obj/tools/clang/test' ( ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ; ulimit -s 8192 ; \ /usr/local/bin/python /home/dim/llvm-3.6.0/rc2/llvm.src/utils/lit/lit.py -s -v . /home/dim/llvm-3.6.0/rc2/Phase3/Release/llvmCore-3.6.0-rc2.obj/test/../tools/clang/test ) lit.py: lit.cfg:271: note: Did not find llvm-go in /...
2010 Apr 10
2
ulimit
I need to to change the ulimit to 16384(ulimit -n 16384) on boot on Centos 5.4 64 bit. How do I do that? Been searching and have yet to find a good answer. Tried to do it in rc.local but it appears to happen to late there. Matt
2020 Sep 16
1
dovecot 2.2.36.4 problem with ulimit
...>> # Pigeonhole version 0.4.24.2 (aaba65b7) >> # OS: Linux 4.9.0-13-amd64 x86_64 Debian 9.13 >> >> All works fine but sometimes I get: >> >> Sep 16 09:17:00 dovecot4 dovecot: master: Error: service(pop3): fork() >> failed: Resource temporarily unavailable (ulimit -u 257577 reached?) >> Sep 16 09:17:00 dovecot4 dovecot: master: Error: service(imap): fork() >> failed: Resource temporarily unavailable (ulimit -u 257577 reached?) >> Sep 16 09:17:00 dovecot4 dovecot: master: Error: service(doveadm): >> fork() failed: Resource temporarily...
2005 Feb 24
2
permanent ulimit -n on CentOS 3.4
Hi! Question from the novice. I have to permanently increase number of opened files ( ulimit -n 16384 and ulimit -Hn 16384) for some application. I did custom kernel based on https://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/sysadmin-guide/s1-custom-kernel-modularized.html and application documentation ( written for RH 9), no error during all makes but I have panic during th...
2009 May 15
4
ulimit -n ignored/ Max files reached
I am having a problem with running utorrent on wine. After running for a little while I eventually get: Error: Too many files open. I have set ulimit -n unlimited which gives me: Code: root@???: 02:43 AM :~# ulimit -n 1048576 root@???: 02:43 AM :~# Also its got plenty of file descriptors so it doesn't seem like wine is truly using up to that amount: Code: root@???: 02:43 AM :~# cat /proc/sys/fs/file-nr 11904 0 2097152...
2015 May 16
4
How do I fix this: master: Warning: fd limit (ulimit -n) is lower than required
I get this when I reload dovecot after any changes. How can I fix it? I can?t find any reference to it anywhere. master: Warning: fd limit (ulimit -n) is lower than required under max. load (256 < 1000), because of default_client_limit thanks Robert
2001 Nov 26
1
Re: VFS bug in 2.4.10+ which applies ulimits to block devices
On Mon, Nov 26, 2001 at 10:00:39PM +0800, Yusuf Goolamabbas wrote: > Hi Andrea, The following is a thread on ext3-users in which sct mentions > that this is due to a core VFS bug introduced in 2.4.10 which applies > ulimits to block devices. Maybe this could be due to some interaction > with your blockdevice in pagecache > > I don't know if you already have a fix in your tree. Maybe sct can > provide you with more info You need to upgrade glibc to something recent like 2.2.1, so that the ulimit will...
2020 Sep 16
0
dovecot 2.2.36.4 problem with ulimit
...): /etc/dovecot/dovecot.conf > # Pigeonhole version 0.4.24.2 (aaba65b7) > # OS: Linux 4.9.0-13-amd64 x86_64 Debian 9.13 > > All works fine but sometimes I get: > > Sep 16 09:17:00 dovecot4 dovecot: master: Error: service(pop3): fork() > failed: Resource temporarily unavailable (ulimit -u 257577 reached?) > Sep 16 09:17:00 dovecot4 dovecot: master: Error: service(imap): fork() > failed: Resource temporarily unavailable (ulimit -u 257577 reached?) > Sep 16 09:17:00 dovecot4 dovecot: master: Error: service(doveadm): > fork() failed: Resource temporarily unavailable (uli...
2015 Aug 14
4
persistent change of max_stack_depth
Hi Thomas, > Could anybody point me in the right direction for setting the kernel > parameter, max_stack_depth, to 10240 for database tuning? > > I have currently set it by running 'ulimit -s 10240' but this does not > survive a reboot. > > Thanks for the response, I've been nosing around that file recently but noted the first two lines; #This file sets the resource limits for the users logged in via PAM. #It does not affect resource limits of the system services....
2011 Aug 10
3
ulimit
Dear for having an stable system which limit option is good for ulimit comand ? 2-is any option for making asterisk crash-free? Best -- Pezhman Lali -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110810/365d9d56/attachment.htm>
2015 Aug 14
4
persistent change of max_stack_depth
Hi All, Could anybody point me in the right direction for setting the kernel parameter, max_stack_depth, to 10240 for database tuning? I have currently set it by running 'ulimit -s 10240' but this does not survive a reboot. I've Googled plenty and can't find any solution, thanks Michael