<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=1916&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / pam_limits or limits.conf different from Debian]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=1916</link>
		<description><![CDATA[The most recent posts in pam_limits or limits.conf different from Debian.]]></description>
		<lastBuildDate>Thu, 01 Mar 2018 00:21:42 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[pam_limits or limits.conf different from Debian]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=7801#p7801</link>
			<description><![CDATA[<p>Gidday all</p><p>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.</p><p>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</p><p>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) </p><p>contents below with my line added as the last line</p><p># /etc/security/limits.conf<br />#<br />#Each line describes a limit for a user in the form:<br />#<br />#&lt;domain&gt;&#160; &#160; &#160; &#160; &lt;type&gt;&#160; &lt;item&gt;&#160; &lt;value&gt;<br />#<br />#Where:<br />#&lt;domain&gt; can be:<br />#&#160; &#160; &#160; &#160; - a user name<br />#&#160; &#160; &#160; &#160; - a group name, with @group syntax<br />#&#160; &#160; &#160; &#160; - the wildcard *, for default entry<br />#&#160; &#160; &#160; &#160; - the wildcard %, can be also used with %group syntax,<br />#&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;for maxlogin limit<br />#&#160; &#160; &#160; &#160; - NOTE: group and wildcard limits are not applied to root.<br />#&#160; &#160; &#160; &#160; &#160; To apply a limit to the root user, &lt;domain&gt; must be<br />#&#160; &#160; &#160; &#160; &#160; the literal username root.<br />#<br />#&lt;type&gt; can have the two values:<br />#&#160; &#160; &#160; &#160; - &quot;soft&quot; for enforcing the soft limits<br />#&#160; &#160; &#160; &#160; - &quot;hard&quot; for enforcing hard limits<br />#<br />#&lt;item&gt; can be one of the following:<br />#&#160; &#160; &#160; &#160; - core - limits the core file size (KB)<br />#&#160; &#160; &#160; &#160; - data - max data size (KB)<br />#&#160; &#160; &#160; &#160; - fsize - maximum filesize (KB)<br />#&#160; &#160; &#160; &#160; - memlock - max locked-in-memory address space (KB)<br />#&#160; &#160; &#160; &#160; - nofile - max number of open files<br />#&#160; &#160; &#160; &#160; - rss - max resident set size (KB)<br />#&#160; &#160; &#160; &#160; - stack - max stack size (KB)<br />#&#160; &#160; &#160; &#160; - cpu - max CPU time (MIN)<br />#&#160; &#160; &#160; &#160; - nproc - max number of processes<br />#&#160; &#160; &#160; &#160; - as - address space limit (KB)<br />#&#160; &#160; &#160; &#160; - maxlogins - max number of logins for this user<br />#&#160; &#160; &#160; &#160; - maxsyslogins - max number of logins on the system<br />#&#160; &#160; &#160; &#160; - priority - the priority to run user process with<br />#&#160; &#160; &#160; &#160; - locks - max number of file locks the user can hold<br />#&#160; &#160; &#160; &#160; - sigpending - max number of pending signals<br />#&#160; &#160; &#160; &#160; - msgqueue - max memory used by POSIX message queues (bytes)<br />#&#160; &#160; &#160; &#160; - nice - max nice priority allowed to raise to values: [-20, 19]<br />#&#160; &#160; &#160; &#160; - rtprio - max realtime priority<br />#&#160; &#160; &#160; &#160; - chroot - change root to directory (Debian-specific)<br />#<br />#&lt;domain&gt;&#160; &#160; &#160; &lt;type&gt;&#160; &lt;item&gt;&#160; &#160; &#160; &#160; &#160;&lt;value&gt;<br />#</p><p>#*&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;soft&#160; &#160; core&#160; &#160; &#160; &#160; &#160; &#160; 0<br />#root&#160; &#160; &#160; &#160; &#160; &#160; hard&#160; &#160; core&#160; &#160; &#160; &#160; &#160; &#160; 100000<br />#*&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;hard&#160; &#160; rss&#160; &#160; &#160; &#160; &#160; &#160; &#160;10000<br />#@student&#160; &#160; &#160; &#160; hard&#160; &#160; nproc&#160; &#160; &#160; &#160; &#160; &#160;20<br />#@faculty&#160; &#160; &#160; &#160; soft&#160; &#160; nproc&#160; &#160; &#160; &#160; &#160; &#160;20<br />#@faculty&#160; &#160; &#160; &#160; hard&#160; &#160; nproc&#160; &#160; &#160; &#160; &#160; &#160;50<br />#ftp&#160; &#160; &#160; &#160; &#160; &#160; &#160;hard&#160; &#160; nproc&#160; &#160; &#160; &#160; &#160; &#160;0<br />#ftp&#160; &#160; &#160; &#160; &#160; &#160; &#160;-&#160; &#160; &#160; &#160;chroot&#160; &#160; &#160; &#160; &#160; /ftp<br />#@student&#160; &#160; &#160; &#160; -&#160; &#160; &#160; &#160;maxlogins&#160; &#160; &#160; &#160;4</p><p># End of file<br />*&#160; &#160; &#160; &#160; soft&#160; &#160; nofile&#160; &#160; &#160; &#160; 10000</p>]]></description>
			<author><![CDATA[dummy@example.com (blackwhitekez)]]></author>
			<pubDate>Thu, 01 Mar 2018 00:21:42 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=7801#p7801</guid>
		</item>
	</channel>
</rss>
