[Vm-dev] setting priority limits on non-redhat linuxen

Eliot Miranda eliot.miranda at gmail.com
Sun Jun 29 00:43:22 UTC 2014


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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20140628/92655354/attachment.htm


More information about the Vm-dev mailing list