<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'><div>Hi All,<br></div><div><br></div><div>For those folks getting the pthread_setschedparam the example Eliot gives at <a href="http://www.mirandabanda.org/files/Cog/VM/VM.r3006/README.3006" target="_blank">http://www.mirandabanda.org/files/Cog/VM/VM.r3006/README.3006</a> does not apply to Slackware linux and I suspect other distros too.</div><div><br></div><div>I did some digging this morning and figured out how to set this up on my system.</div><div><br></div><div>This site <a href="https://www.hackthissite.org/articles/read/932" target="_blank">https://www.hackthissite.org/articles/read/932</a> gives an overview, but it is a bit outdated.</div><div><br></div><div>On Slackware 14.1 the output of 'man limits' &nbsp;shows a few more entries</div><div><br></div><div><br></div><div><br><blockquote style="border-top-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-top-width: 1px; border-left-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-left-style: solid; border-right-style: solid; border-bottom-style: solid; padding-top: 7px; padding-right: 7px; padding-bottom: 7px; padding-left: 7px; background-color: rgb(245, 245, 245);"><div>&nbsp;       ·   A: max address space (KB)<br><br>       ·   C: max core file size (KB)<br><br>       ·   D: max data size (KB)<br><br>       ·   F: maximum filesize (KB)<br><br>       ·   K: file creation mask, set by umask(2).<br><br>       ·   I: max nice value (0..39 which translates to 20..-19)<br><br>       ·   L: max number of logins for this user<br><br>       ·   M: max locked-in-memory address space (KB)<br><br>       ·   N: max number of open files<br><br>       <strong>·   O: max real time priority</strong><br><br>       ·   P: process priority, set by setpriority(2).<br><br>       ·   R: max resident set size (KB)<br><br>       ·   S: max stack size (KB)<br><br>       ·   T: max CPU time (MIN)<br><br>       ·   U: max number of processes<br><br><br></div></blockquote><br></div><div><br></div><div><br></div><div>I created the /etc/limits &nbsp;file and added an entry<br></div><div><br></div><div>&nbsp;<br><br><blockquote style="border-top-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-top-width: 1px; border-left-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-left-style: solid; border-right-style: solid; border-bottom-style: solid; padding-top: 7px; padding-right: 7px; padding-bottom: 7px; padding-left: 7px; background-color: rgb(245, 245, 245);"><div>tty O100</div></blockquote><br>logout out and back in and I was able to run the&nbsp;squeak.cog.v3 build just fine.&nbsp;<br></div><div>Prior to that limit fix, I was getting the dreaded&nbsp; pthread_setschedparam &nbsp;error and could only run the vm as root.</div><div><br></div><div>Hope that helps.</div><div><br></div><div>tty</div></div></body></html>