[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Error message for the failure to create heartbeat thread is too specific. (#540)

dcstes notifications at github.com
Tue Dec 8 08:10:36 UTC 2020

Hi everyone,

It's good that there is an open issue for this issue.

Also note that there are 2 different things here : (1) the issue itself which is that pthread_setschedparam failed: Not owner and (2) how to solve this

For the message, it would be sufficient to just report (1) what happens.

Now the action that one should take to resolve this, depends on the operating system, and also to some extent I think there may be different approaches.

For example, I have recently discovered that an additional necessary privilege must be given at the Solaris zone level :

example# zonecfg -z myzone
         zonecfg:myzone> set limitpriv="default,proc_priocntl"
         zonecfg:myzone2> exit

To be able to add "privs=proc_priocntl" in a zone.

One possible approach to address the issue itself is by creating a profile:

# profiles -p Squeak
profiles:Squeak> set desc="Allow Squeak VM to Set Priority"
profiles:Squeak> add cmd=/usr/bin/squeak
profiles:Squeak:squeak> set privs=proc_priocntl
profiles:Squeak:squeak> end
profiles:Squeak> commit
profiles:Squeak> info
        desc=Allow Squeak VM to Set Priority
profiles:Squeak> exit

However bottom line is there is a difference between the issue itself,  and the many different ways to address the issue on the various platforms and distributions of operating systems.

David Stes

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20201208/3c9299f7/attachment.html>

More information about the Vm-dev mailing list