On Thu, Mar 01, 2018 at 10:50:23PM +0000, 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.
> > 
> > in Debian I can edit /etc/security/limits.conf and set * soft nofile 10000
> > to be able to open the projects with more than 1000 layers without seeing
> > rejected file open requests and crashes from the software
> > 
> > This seems not to work in Devuan 2.0. Is there a hard limit somewhere else
> > of less than 1000 or is a different configuration system used (even though
> > this file is present)
> 
> Just a (possibly unrelated) random thought: I guess you have already
> had a look at `ulimit -n`, right?
> 


Another possibly unrelated thought: if you have mangled with
/etc/pam.d/login, you must make sure that it contains:

  session    required   pam_limits.so

otherwise /etc/security/limits.conf gets ignored. You might also want
to check if you have anything in /etc/security/limits.d

Also, when you sets new limits the changes will apply only after you
logout and login again.

Also, you could check the system-wide file limit at
/proc/sys/fs/file-max (unlikely to be a problem)

Sorry if I have stated obvious facts at any point.

HTH

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[     "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[       @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[     @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to