[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squeak-vm-dev
Subject:    Re: [Vm-dev] setting priority limits on non-redhat linuxen
From:       Eliot Miranda <eliot.miranda () gmail ! com>
Date:       2014-06-29 0:43:22
Message-ID: CAC20JE3UbC25j5Dd1QP-jSYwVtke=ovxv+8r-7HrSaf3mi-9Aw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #3 (multipart/alternative)]


Hi Timothy,

    can you send me some text to add to the README?  I'm happy to make the
README as catholic as possible.


On Sat, Jun 28, 2014 at 9:06 AM, gettimothy <gettimothy@zoho.com> wrote:

>
> Hi All,
>
> For those folks getting the pthread_setschedparam the example Eliot gives
> at http://www.mirandabanda.org/files/Cog/VM/VM.r3006/README.3006 does not
> apply to Slackware linux and I suspect other distros too.
>
> I did some digging this morning and figured out how to set this up on my
> system.
>
> This site https://www.hackthissite.org/articles/read/932 gives an
> overview, but it is a bit outdated.
>
> On Slackware 14.1 the output of 'man limits'  shows a few more entries
>
>
>
>    · A: max address space (KB)
>
>  · C: max core file size (KB)
>
>  · D: max data size (KB)
>
>  · F: maximum filesize (KB)
>
>  · K: file creation mask, set by umask(2).
>
>  · I: max nice value (0..39 which translates to 20..-19)
>
>  · L: max number of logins for this user
>
>  · M: max locked-in-memory address space (KB)
>
>  · N: max number of open files
>
> * · O: max real time priority*
>
>  · P: process priority, set by setpriority(2).
>
>  · R: max resident set size (KB)
>
>  · S: max stack size (KB)
>
>  · T: max CPU time (MIN)
>
>  · U: max number of processes
>
>
>
>
>
> I created the /etc/limits  file and added an entry
>
>
>
> tty O100
>
>
> logout out and back in and I was able to run the squeak.cog.v3 build just
> fine.
> Prior to that limit fix, I was getting the dreaded  pthread_setschedparam
>  error and could only run the vm as root.
>
> Hope that helps.
>
> tty
>
>


-- 
best,
Eliot

[Attachment #6 (text/html)]

<div dir="ltr">Hi Timothy,<div><br></div><div>      can you send me some text to add \
to the README?   I&#39;m happy to make the README as catholic as \
possible.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"> On \
Sat, Jun 28, 2014 at 9:06 AM, gettimothy <span dir="ltr">&lt;<a \
href="mailto:gettimothy@zoho.com" target="_blank">gettimothy@zoho.com</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex">  <br><u></u><div><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 \
&#39;man limits&#39;   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-rig \
ht-color:rgb(204,204,204);border-bottom-color:rgb(204,204,204);border-top-width:1px;bo \
rder-left-width:1px;border-right-width:1px;border-bottom-width:1px;border-top-style:so \
lid;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>          ·   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   file and added an entry<br></div><div><br></div><div>  \
<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);bor \
der-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 \
squeak.cog.v3 build just fine.  <br></div><div>Prior to that limit fix, I was getting \
the dreaded   pthread_setschedparam   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></div><br></blockquote></div><br><br \
clear="all"><div><br></div>-- <br>best,<div>Eliot</div> </div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic