search for: limitnofile

Displaying 20 results from an estimated 86 matches for "limitnofile".

2018 May 24
2
question on setting ulimit on debian
...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,Sophie.
2016 Jul 12
6
Option configure
...samba-ad-dc.service and mask smbd.service,nmbd.service, winbind.service. This is the samba-ad-dc.service script: [Unit] Description=Samba AD Daemon Documentation=man:samba(8) man:samba(7) man:smb.conf(5) After=network.target [Service] Type=notify NotifyAccess=all PIDFile=/run/samba.pid LimitNOFILE=16384 EnvironmentFile=-/etc/default/samba ExecStart=/usr/sbin/samba $SAMBAOPTIONS ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target Am 12.07.2016 um 20:53 schrieb Sonic: > On Tue, Jul 12, 2016 at 10:09 AM, Sonic <sonicsmith at gmail.com> wrote: >> Mine us...
2017 Mar 29
2
cannot login to imap under load
...un from systemd, so this is what's currently in the > dovecot unit file ( /etc/systemd/system/dovecot.service ): > ... > [Service] > Type=simple > ExecStart=/usr/sbin/dovecot -F > NonBlocking=yes > TasksMax=10000 > LIMIT_NOFILE=10000 ... the parameter should be named LimitNOFile=10000 (without the underscore), see http://man7.org/linux/man-pages/man7/systemd.directives.7.html and http://man7.org/linux/man-pages/man5/systemd.exec.5.html --Andreas -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signat...
2018 Apr 27
2
samba-tool ntacl sysvolcheck -> Too many open files
I just realize that i can't run a "samba-tool ntacl sysvolcheck" on my DC's (4.7.6): ldb: unable to open modules directory '/usr/lib/x86_64-linux-gnu/ldb/modules/ldb' - Too many open files ldb: unable to open modules directory '/usr/lib/x86_64-linux-gnu/samba/ldb' - Too many open files ..... >From memory, it was just fine on samba 4.6 If I check system
2016 Jul 12
1
Option configure
...t;> Description=Samba AD Daemon >> >> Documentation=man:samba(8) man:samba(7) man:smb.conf(5) >> >> After=network.target >> >> [Service] >> >> Type=notify >> >> NotifyAccess=all >> >> PIDFile=/run/samba.pid >> >> LimitNOFILE=16384 >> >> EnvironmentFile=-/etc/default/samba >> >> ExecStart=/usr/sbin/samba $SAMBAOPTIONS >> >> ExecReload=/bin/kill -HUP $MAINPID >> >> [Install] >> >> WantedBy=multi-user.target >> >> > > that is basically what init...
2018 Jan 10
2
Issues accessing ZFS-shares on Linux
...ked on the console. That did not help. For the record, this is the default unit-file: [Unit] Description=Samba SMB Daemon Documentation=man:smbd(8) man:samba(7) man:smb.conf(5) After=network.target nmbd.service winbind.service [Service] Type=notify NotifyAccess=all PIDFile=/var/run/samba/smbd.pid LimitNOFILE=16384 EnvironmentFile=-/etc/default/samba ExecStart=/usr/sbin/smbd $SMBDOPTIONS ExecReload=/bin/kill -HUP $MAINPID LimitCORE=infinity [Install] WantedBy=multi-user.target Jeremy Allison via samba kirjoitti 9.1.2018 klo 21:47: > On Tue, Jan 09, 2018 at 07:57:41AM +0200, John Doe via samba wrote...
2015 Apr 29
2
Mysql 5.6, Centos 7 and errno: 24 - Too many open files
...conf? Thx! Carl On Wed, 29 Apr 2015 14:58:52 +0200 Johan Kooijman wrote: > Gotz, > > This is due to systemd, it overrules your settings. Add a file to > systemd config fixes it: > > [root at mysql2 ~]# cat /etc/systemd/system/mariadb.service.d/limits.conf > [Service] > LimitNOFILE=10000 > LimitMEMLOCK=10000 > > > On Wed, Apr 29, 2015 at 8:31 AM, G?tz Reinicke - IT Koordinator < > goetz.reinicke at filmakademie.de> wrote: > > > Hi, > > > > may be somewon has a working solution and information on that: > > > > I installe...
2015 Apr 29
4
Mysql 5.6, Centos 7 and errno: 24 - Too many open files
Hi, may be somewon has a working solution and information on that: I installed the most recent mysql community on a server and do get a lot of "errno: 24 - Too many open files". There are suggestions to increase the open_files_limit, change/add that to /etc/security/limits.conf and modify the systemd script by hand. Depending on how you start mysql (restart, or at systemboot time
2018 May 24
0
question on setting ulimit on debian
...vecot 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,Sophie. cat<<EOF > /etc/systemd/system/dovecot.service.d/service.conf...
2019 Mar 24
2
Maximum Listeners.
Hello there, I’ve configured 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
2020 Sep 22
1
starting stoping samba 4.11
...any process in the cgroup at stop > > [root at srv-rhsoft:~]$ cat /etc/systemd/system/smb.service > [Unit] > Description=Samba SMB Daemon > After=network-up.service > Requires=network-online.target network-up.service > > [Service] > Type=notify > NotifyAccess=all > LimitNOFILE=32768 > ExecStart=/usr/sbin/smbd --foreground --no-process-group > ExecReload=/usr/bin/kill -HUP $MAINPID > PermissionsStartOnly=true > Restart=always > RestartSec=1 > Nice=19 > > PrivateTmp=yes > PrivateDevices=yes > ProtectKernelTunables=yes > ProtectKernelModule...
2015 Nov 12
1
systemd unit to start Samba as AD DC
.../etc --localstatedir=/var). samba-ad.service file content ------------------------------------------------------------------------------------ [Unit] Description=Samba Active Directory Services Documentation=man:samba(8) After=network.target [Service] Type=forking PIDFile=/var/run/samba/samba.pid LimitNOFILE=16384 EnvironmentFile=-/etc/default/samba ExecStartPre=-/usr/bin/mkdir /var/run/samba ExecStart=/usr/sbin/samba -D -M standard ExecReload=/usr/bin/kill -HUP $MAINPID #FailureAction= [Install] WantedBy=multi-user.target ------------------------------------------------------------------------------...
2020 Sep 21
4
starting stoping samba 4.11
Hello I am using samba Version 4.11.2 compiled. To start the daemon I using /samba10/samba-4.11.2/bin/samba -s /etc/samba/smb.conf To stop correctly, what is recommended ? Actually I using kill -9 ... Regards.
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
2019 Apr 26
2
Managing samba ad dc with systemd
Rowland, I was thinking if I did anything wrong, but your clarification cleared my mind. I appreciate your help. I'm waiting if other person had a same issue and solved it. Thanks a lot for your help, Igor Sousa On Fri, Apr 26, 2019, 13:26 Rowland Penny via samba <samba at lists.samba.org> wrote: > On Fri, 26 Apr 2019 13:02:07 -0300 > Igor Sousa <igorvolt at gmail.com>
2016 Apr 02
2
Upgrading Samba 3 to Samba 4 - Domain Controller unreachable
On 02/04/16 20:59, Sonic wrote: > On Sat, Apr 2, 2016 at 2:34 PM, Rowland penny <rpenny at samba.org> wrote: >> On debian there is a script called samba in /etc/init.d , it starts smbd & >> nmbd *or* samba, if it doesn't find 'server role = active directory domain >> controller' in smb.conf , it doesn't try to start the samba deamon. > Odd that
2016 Jun 14
3
shutdown_clients has no effect on doveadm stop
I try to restart dovecot 2.2.24 (for changing limits) without killing all IMAP and POP3 sessions. dovecot(1) tells me: When shutdown_clients is set to no, existing sessions will continue to use the old settings, after a dovecot reload. Also all sessions will keep alive after a dovecot stop. By default all active sessions will be shut down. According to my
2020 Sep 28
2
Debian Buster Samba 4.13 online (amd64/i386/armhf )
Hai, ? Debian Buster Samba 4.13 is now online on my repo. Info : https://apt.van-belle.nl/ With the release of 4.13 the following changes are going to happen in the repo's. Current (recently sended?list) OS-sambaXXXX with EOL wont be supported anymore, upgrade your OS and/or Samba versions! EOL repo's will stay online for about 6 months, that gives sufficient time to upgrade.
2015 Aug 17
2
persistent change of max_stack_depth
...ck depth for system processes, not just PAM >> authenticated users? >> > > If this is CentOS 7 then you may need to put the ulimit directives in the service file. > > An example is I needed to increase the NOFILE limit for nfs-secure on a Fedora 20 machine so I set > > LimitNOFILE=16384 > > In /etc/systemd/system/nfs-secure.service I located the service file for postgresql-9.4 [root at db1 multi-user.target.wants]# locate postgresql-9.4.service /etc/systemd/system/multi-user.target.wants/postgresql-9.4.service /usr/lib/systemd/system/postgresql-9.4.service I've...
2016 Apr 02
0
Upgrading Samba 3 to Samba 4 - Domain Controller unreachable
...ervice files. Compare... My systemd service files (nmbd, smbd, ad) 39 lines including white space ============================= ============================= [Unit] Description=Samba SMB/CIFS server After=network.target nmbd.service [Service] Type=forking PIDFile=/usr/local/samba/var/run/smbd.pid LimitNOFILE=16384 ExecStart=/usr/local/samba/sbin/smbd -D ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target ============================= [Unit] Description=Samba NetBIOS name server After=network.target [Service] Type=forking PIDFile=/usr/local/samba/var/run/nmbd.pid ExecStart=/usr/loc...