search for: nofil

Displaying 20 results from an estimated 279 matches for "nofil".

Did you mean: nofile
2018 May 24
2
question on setting ulimit on debian
Hi, I?ve been trying to increase the number of open files for the dovecot user on Debian 9 and have so far, failed! I?ve tried this: # cat /etc/security/limits.d/limits_dovecot.conf dovecot soft nofile 2048 dovecot hard nofile 8192 # cat /etc/systemd/system/dovecot.service.d/service.conf LimitNOFILE=8192 But to no avail: # prlimit -p 27208|grep -i nofile NOFILE max number of open files 1024 4096 files Lost me :( Any ideas? Thanks,Sophi...
2004 Sep 13
2
CentOS 3.1: sshd and pam /etc/security/limits.conf file descriptor settings problem
Why can't non-uid 0 users have more than 1024 file descriptors when logging in via ssh? I'm trying to allow a user to have a hard limit of 8192 file descriptors(system defaults to 1024) via the following setting in /etc/security/limits.conf: jdoe hard nofile 8192 But when jdoe logs in via ssh and does 'ulimit -Hn' he gets '1024' as a response. If he tries to set it with 'ulimit -Hn 8192' he gets an 'Operation not permitted' error. If jdoe instead telnets to the box, he gets the hard limit of 8192 file descri...
2019 Mar 24
2
Maximum Listeners.
...d my server for maximum 50000 open files. [root at 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 serve...
2009 Dec 08
2
No ulimit for user
Hi, I'm trying to remove any limit on open files for a user; I've set username nofiles to unlimited in /etc/security/logins.conf, but now I get "could not open session" if I try to su to the user. singhh - nofile unlimited I think this is related to PAM, so I've modifed /etc/pam.d/su and /etc/pam.d/login to use pam_limits.so: # cat /etc/pam...
2014 Jul 17
2
ulimit warning when restarting
...lt_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 -n 49152 $ whoami dovecot # grep dovecot /etc/security/limits.conf dovecot hard locks 49152 dovecot hard nofile 49152 dovecot hard maxlogins 8192 dovecot soft locks 49152 dovecot soft nofile 49152 dovecot soft maxlogins 8192
2018 Feb 15
3
wbinfo -U id gives different users on same dc
..._ready) > STATUS=daemon 'smbd' finished starting up and ready to > serve connections > [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 unlimite...
2006 Apr 19
2
Unable to allocate socket: Too may open files
...WARNING[4065]: rtp.c:911 ast_rtcp_new: Unable to allocate socket: Too many open files Apr 19 14:20:51 WARNING[4065]: acl.c:306 ast_ouraddrfor: Cannot create socket I have set "fs.file-max = 65535"in /etc/sysctl.conf and in /etc/security/limit.conf (according to the wiki): asterisk soft nofile 65535 asterisk hard nofile 65535 What more can I do to increase the number of open files? Is it possible to see how many files asterisk uses and how many files it needs? Thanks for your help, Stefan -- ******************************************** in-put GbR - Das Linux-Systemhaus Stefan-Mic...
2010 Oct 06
1
And again... too many open files
Hi! Two days ago I upgraded to 1.2.15, and again I the warning "Warning: fd limit 1024 is lower than what Dovecot can use under full load" reappeared. It's a bit weird, because my actual limits are higher. From /etc/security/limits.conf * soft nofile 4096 * hard nofile 8192 root soft nofile 4096 root hard nofile 8192 dovecot soft nofile 4096 dovecot hard nofile 8192 I added the * lines to avoid problems if a new user was in...
2006 Jan 05
0
adding groups and users below uid/gid 100
greetings if i do this in a script on a basic mail and web server setup groupadd -g 55 nofiles useradd -g nofiles -d /var/qmail/alias -s /sbin/nologin -p'*' -u 56 alias useradd -g nofiles -d /var/qmail -s /sbin/nologin -p'*' -u 57 qmaild useradd -g nofiles -d /var/qmail -s /sbin/nologin -p'*' -u 58 qmaill useradd -g nofiles -d /var/qmail -s /sbin/nologin -p'*...
2018 Feb 14
3
wbinfo -U id gives different users on same dc
RID solved my problem. But while reading docs I saw new things and I changed my smb.conf completely. I have read almost every parameter but i'm still not %100 sure. Can you do me a last favor? Please can you tell me do I have any problem with new smb.conf? Kernel: Linux 4.14.13-1-ARCH Filesystem: zfs-linux 0.7.5.4.14.13.1-1 Thank you so much for your help. --------------------- [global]
2016 Sep 20
4
Too many open files
...rror 24: Too many open files Tried these configs and 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 use...
2007 Mar 15
2
Can't create users and groups
...%prep %setup -q %build patch -p1 < qmail-ldap-1.03-20060201.patch cp files/Makefile . cp files/dirmaker . cp qmail.schema /etc/openldap/schema mkdir -p /var/qmail/ mkdir /var/log/qmail mkdir /var/log/qmail/qmail-send mkdir /var/log/qmail/qmail-smtpd mkdir /var/log/qmail/qmail-popup groupadd nofiles useradd -g nofiles -s /bin/false -d /var/qmail/alias alias useradd -g nofiles -s /bin/false -d /var/qmail qmaild useradd -g nofiles -s /bin/false -d /var/qmail qmaill useradd -g nofiles -s /bin/false -d /var/qmail qmailp groupadd qmail useradd -g qmail -s /bin/false -d /var/qmail qmailq useradd -...
2016 Jul 04
3
getfacl not have domain name and samba4 not work correctly
...at smb~]# wbinfo -g enterprise read-only domain controllers domain admins domain users domain guests domain computers domain controllers schema admins enterprise admins group policy creator owners read-only domain controllers grupo_tecnologia [root at smb~]# cat /etc/security/limits.conf root hard nofile 131072 root soft nofile 65536 mioutente hard nofile 32768 mioutente soft nofile 16384 [root at smb~]# cat /etc/krb5.conf [libdefaults] default_realm = ROPA.INTRANET dns_lookup_realm = false dns_lookup_kdc = true [logging] default = FILE:/var/log/krb5libs.log kdc = FILE:/var/log/krb5kdc.log admin_s...
2018 Feb 15
0
wbinfo -U id gives different users on same dc
...d' finished starting up and ready to > > serve connections > > [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...
2018 May 24
0
question on setting ulimit on debian
...Loewenthal <sophie at klunky.co.uk> wrote: > > > Hi, > > I?ve been trying to increase the number of open files for the dovecot user on Debian 9 and have so far, failed! I?ve tried this: > > # cat /etc/security/limits.d/limits_dovecot.conf > dovecot soft nofile 2048 > dovecot hard nofile 8192 > > # cat /etc/systemd/system/dovecot.service.d/service.conf > LimitNOFILE=8192 > > But to no avail: > > # prlimit -p 27208|grep -i nofile > NOFILE max number of open files 1024 4096...
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 hard nofile 131072 I login as "oracle" again (bash) and tried to run:...
2011 Jun 24
1
Strange issue's with LDAP and too many open files
...nce 2 days i constantly get the error: Too many open files. Although I'm not a newbie with linux I'm unable to resolve this, I have took the following stept: Changed the /proc/sys/fs/file-max to 65535 Added the following configuration to /etc/security/limits.conf: ldap soft nofile 65535 ldap hard nofile 65535 ldap - nofile 65535 # End of file If I su to the ldap user where the process is running under: [root at ldap5 ~]# su -m ldap bash: /root/.bashrc: Permission denied bash-3.2$ ulimit -H -n 65535 bash-3.2$ uli...
2020 Nov 16
1
about imap-login: Error and imap: Error after Version-UP
...nnections, but I get an error. > > service imap-login { > service_count=0 > client_limit = $default_client_limit > process_min_avail = 4 > process_limit = $default_process_limit > vsz_limit = 1G > } > > limits.conf > ------------------------- > * soft nofile 4096 > * hard nofile 4096 > ------------------------- > > cat /proc/sys/net/core/somaxconn > ------------------------- > 4096 > ------------------------- > > Is there any other tuning point? > Where should I look? https://wiki.dovecot.org/SocketUnavailable Aki
2015 Sep 09
4
Error installing Kmymoney
...ackage kmymoney-libs.x86_64 0:4.6.6-1.el7 will be installed --> Finished Dependency Resolution Error: Package: kmymoney-4.6.6-1.el7.x86_64 (epel) Requires: libcalligrakdchart.so.13()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest I cant seem to get past this, using --skip-broken does not work. Anyone have any suggestions? Thanks in advance...
2017 May 25
2
Re: can't establish more than 1000 connections with virsh
...4 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: core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited...