Re: [DNG] pam_limits or limits.conf different from Debian?

2018-03-02 Thread Irrwahn
Patrick Dunford wrote on 02.03.2018 13:45: > I did some more tweaking, and basically it looks like I have to set the hard > limit higher as well as the soft limit, in /etc/security/limits.conf > > The hard limit in Debian must be set higher somewhere else, because you don't > have to set that

Re: [DNG] pam_limits or limits.conf different from Debian?

2018-03-02 Thread Patrick Dunford
I did some more tweaking, and basically it looks like I have to set the hard limit higher as well as the soft limit, in /etc/security/limits.conf The hard limit in Debian must be set higher somewhere else, because you don't have to set that one in the same file normally. Thanks for your

Re: [DNG] pam_limits or limits.conf different from Debian?

2018-03-02 Thread KatolaZ
On Fri, Mar 02, 2018 at 02:13:15PM +1300, Patrick Dunford wrote: > No red flags for any of that stuff > > On a Debian Buster VM where the increased file limit put into limits.conf > obviously works, the result of ulimit -n comes out the same 1024 as on my > Devuan VM. > > The subtleties of why

Re: [DNG] pam_limits or limits.conf different from Debian?

2018-03-01 Thread Patrick Dunford
setting a new value via ulimit is not effective and the value does not persist in any case. On 02/03/18 11:50, KatolaZ wrote: On Fri, Mar 02, 2018 at 12:52:40AM +1300, BWK wrote: Gidday all I use qgis and have some projects in it that open over 1000 layers. This runs up against the file

Re: [DNG] pam_limits or limits.conf different from Debian?

2018-03-01 Thread Patrick Dunford
No red flags for any of that stuff On a Debian Buster VM where the increased file limit put into limits.conf obviously works, the result of ulimit -n comes out the same 1024 as on my Devuan VM. The subtleties of why one distro would use one mechanism and a similar one a different mechanism

Re: [DNG] pam_limits or limits.conf different from Debian?

2018-03-01 Thread Patrick Dunford
It returns 1024 So what does that mean? Thanks On 02/03/18 11:50, KatolaZ wrote: On Fri, Mar 02, 2018 at 12:52:40AM +1300, BWK wrote: Gidday all I use qgis and have some projects in it that open over 1000 layers. This runs up against the file open limit usually preset to 1000 in many

Re: [DNG] pam_limits or limits.conf different from Debian?

2018-03-01 Thread KatolaZ
On Thu, Mar 01, 2018 at 10:50:23PM +, KatolaZ wrote: > On Fri, Mar 02, 2018 at 12:52:40AM +1300, BWK wrote: > > Gidday all > > > > I use qgis and have some projects in it that open over 1000 layers. This > > runs up against the file open limit usually preset to 1000 in many distros. > > > >

Re: [DNG] pam_limits or limits.conf different from Debian?

2018-03-01 Thread KatolaZ
On Fri, Mar 02, 2018 at 12:52:40AM +1300, BWK wrote: > Gidday all > > I use qgis and have some projects in it that open over 1000 layers. This > runs up against the file open limit usually preset to 1000 in many distros. > > in Debian I can edit /etc/security/limits.conf and set * soft nofile

[DNG] pam_limits or limits.conf different from Debian?

2018-03-01 Thread BWK
Gidday all I use qgis and have some projects in it that open over 1000 layers. This runs up against the file open limit usually preset to 1000 in many distros. in Debian I can edit /etc/security/limits.conf and set * soft nofile 1 to be able to open the projects with more than 1000