<p></p>
<p>-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA256</p>
<p>Well I can understand that Eliot has good reasons to raise the priority<br>
of the heartbeat thread.</p>
<p>Also I have noticed now that I'm running a nice package "AIDA"<br>
(web framework on top of Swazoo) that the WebScheduler is sensitive to<br>
scheduling of course.</p>
<p>My feeling about it is that still the error message is "too specific".</p>
<p>Perhaps the "configure" script could define something like</p>
<p>HAVE_LINUX_PAM_LIMITS</p>
<p>because I believe the directory /etc/security/limits.d on Linux<br>
is related to a pam_limits package.</p>
<p>The platforms/vm/unix/sqUnixHeartbeat.c could then print the message<br>
only</p>
<p>#ifdef HAVE_LINUX_PAM_LIMITS</p>
<p>Some Linux distros may not even have that directory /etc/security/limits.d.</p>
<p>Regarding Solaris, or other Unix systems that are not Linux, they can have<br>
their own system of privileges to allow/disallow a thread or a process to<br>
set or raise priority.</p>
<p>See <a href="https://en.wikipedia.org/wiki/Pluggable_authentication_module" rel="nofollow">https://en.wikipedia.org/wiki/Pluggable_authentication_module</a></p>
<p>So although Solaris uses PAM, I could then not define HAVE_LINUX_PAM_LIMITS,<br>
and then at the least the error message would be more suitable.</p>
<p>Although the action to remediate the issue would be different, the<br>
heartbeat thread could still run at a different priority than the main thread.</p>
<p>David Stes</p>
<p>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2</p>
<p>iQEcBAEBCAAGBQJf4cFXAAoJEAwpOKXMq1MaH70H+wZMv7KCxiMNKlAINfMgKmfA<br>
h/6+uxpqvyA6qncIaB9Ewmj1IIesO18kSomTBHDQFYFNdV0DnippzVpkQ1Q4mvrK<br>
U1iSIj8a0qRjNYlkrOFdkDa0hSg2OhV4vHjqp48mGCCV0BovFKr3AoaNkUyiLhM+<br>
qAIX6BsmNNgWeBoWf9hTWyot1uk6XXAhlT2UUyn4wImnHcrsKlJc+9EFK112ZlNQ<br>
siZen1aPEZYZD7k2t8/raRVVYDekHbugIFeVcbj+lsAp5GqM1pqJeRnW0t9IipRm<br>
Sxg2Rq4GvI+VknpVq3pY5fROHdSiu/0yj4EhEJrI42N11hwk4+Y0pdoD8K6TNF0=<br>
=7kpF<br>
-----END PGP SIGNATURE-----</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you commented.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/540#issuecomment-749453726">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEW2EF6564CUH3ZYTTWDSWBTYBANCNFSM4URSFW6Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AIJPEW7JSXMPFIMX7ZL5BHDSWBTYBA5CNFSM4URSFW62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFSV4DHQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/540#issuecomment-749453726",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/540#issuecomment-749453726",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>