Hello, I need to run some smalltalk VM, that uses thread for "heartbeat", and when I run this binary (VM), this error occurs:
Advice from VM developers are (this is advice for Linux!):
1) add file to dir /etc/security/limits.d/ with this contents:
2) Then use (in bash script):
and run the VM
But how can I setup this things (1)+(2) on FreeBSD? There is no ulimit -r parameter, and no /etc/security dir.
Code:
pthread_setschedparam failed: Operation not permitted
Advice from VM developers are (this is advice for Linux!):
1) add file to dir /etc/security/limits.d/ with this contents:
Code:
* hard rtprio 2
* soft rtprio 2
2) Then use (in bash script):
Code:
ulimit -r 2
But how can I setup this things (1)+(2) on FreeBSD? There is no ulimit -r parameter, and no /etc/security dir.
Last edited by a moderator: