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

dcstes notifications at github.com
Thu Dec 24 14:24:42 UTC 2020


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


On some Linux systems without PAM,

it might be a possibility to use "prlimit" to set rtprio:

https://serverfault.com/questions/889635/seting-rtprio-limit-in-system-without-pam

For example with 

 prlimit --rtprio=99 --pid=<pid of shell>

and then start squeak from that shell.

If the Linux system has no /etc/security directory that's a possibility.

Basically I think there are probably a great many different ways to achieve
the goal of suppressing the "pthread_setsched" message.

The current error message prints (1) a problem and (2) a Linux PAM specific
cookbookish recipe to solve it. 

However the error message could be limited to just (1) print the problem,
that's all ...  The user has then to figure out for themselves how to solve it.

David Stes

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJf5KQ2AAoJEAwpOKXMq1MaA8oIAImkmyhtZepUSpbMYGalt2mj
SdXKzaFkB3ja31q/coN4LQSajPqL0giUQfXodMG4oD2LzELQfUSZp/MIZxbmR6oF
Ja/WZC64TjlgdKBHakDkDEJlHbUVn1ZXTCluyIHYafqZhbeXivlw4mkrrgRYgpHh
FVBlliM6qrlH3eFU6X2mtjVzHI1TTNahPyw9skgeNRjThW3S1bnasGYPPTVJIoC0
ja/Ml/YNG08sAmEDVKzYC7G3VIqPCfFEHsGOOhJmXEYyJcUF7FoAfzSKSLZSKs4y
iD6N/SME98BBUzzxtBF8wNg4jayqdGmxsCBnfqAAPQRNyDi4TL7O9oDWKaiDel8=
=OJYO
-----END PGP SIGNATURE-----

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/540#issuecomment-750896848
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20201224/d3b78489/attachment.html>


More information about the Vm-dev mailing list