Hi,
I am trying to run Squeak - system for Smalltalk development, but
Code:
piotr[Squeak5.1]$ ./squeak.sh
Using /home/piotr/Squeak5.1/bin/squeak...
pthread_setschedparam failed: Operation not permitted
Read e.g. https://github.com/OpenSmalltalk/opensmalltalk-vm/releases/tag/r3732#linux
I did everything as in this tag, but it doesn't solved the problem. I googled around but all I found concern mostly kernel programming. I can run squeak as root but of course it is last resort solution. Is there a way common user to obtain permission to change process scheduling? If not in general then for this particular process.
EDIT: at this moment I started to use Pharo Smalltalk like language environment as replacement for Squeak. But nonetheless I want to understand the issues about that lack of permission.
I solved this problem with 'set_rlimits' command (found on SB). I followed man page for 'set_rlimits' added entry for squeak, then this command
Code:
$ set_rlimits -r=5 ./squeak.sh
works. Note that solution provided here
https://github.com/OpenSmalltalk/ope...ag/r3732#linux requires in fact PAM.