this is more a question for vm-dev list I think. 
I have not idea on how to overcome this problem… doesn’t look very possible, 
thinking in general. Maybe in freebsd (who I also do not know at all) there is 
another way to change limits?
also, I think itimer could be less efficient, but should be possible… crashing 
do not looks like a nice output :)

Esteban

> On 4 Nov 2016, at 23:56, Petr Fischer <petr.fisc...@me.com> wrote:
> 
> Also on FreeBSD, there is no security/limits config, so on FreeBSD, I am not 
> able to run heartbeat VM as normal user at all :(
> 
> Ins't there any other solution? Why "realtime" threads? Isn't possible to run 
> "heartbeat" thread with normal priority and all other threads with lower 
> priorities to provide the same behaviour?
> 
> How to deploy application based on Pharo to the normal (UNIX) users, if 
> security reconfiguration is needed?
> 
> pf
> 
> P.S. VM wihout heartbeat is crashing on FreeBSD randomly with error "stack 
> page bytes 4096 available headroom 2788 minimum unused headroom 3020" :(
> 
> 
>> BTW, the threaded version requires to be run as super user because it
>> tries to do a pthread_setschedparam(). I tried to fiddle with
>> /etc/security/limits.conf... but it's not something fancy to do...
>> 
>> Best regards,
>> 
>> Casimiro Barreto
>> 
>> Em 03-11-2016 13:53, Thierry Goubier escreveu:
>>> Hi Esteban,
>>> 
>>> Another question about Pharo 64 bits.
>>> 
>>> Why are libgit/libSDL/libssh included in the vm? Ubuntu 16.10 provides
>>> them with the same version numbers, more or less.
>>> (libgit2 is so.0.24.0 on ubuntu instead of so.0.24.2 in the pharo vm,
>>> SDL and ssh are the exact same versions).
>>> 
>>> Collectively, those three libs are ~ 5M.
>>> 
>>> Thierry
>>> 
>>> 2016-10-28 11:56 GMT+02:00 Esteban Lorenzano <esteba...@gmail.com
>>> <mailto:esteba...@gmail.com>>:
>>> 
>>>    VM here: http://bintray.com/estebanlm/pharo-vm/build#files/
>>>    <http://bintray.com/estebanlm/pharo-vm/build#files/>
>>>    Image here: http://files.pharo.org/get-files/60/pharo-64.zip
>>>    <http://files.pharo.org/get-files/60/pharo-64.zip>
>>> 
>>>    this is still not official (that’s why is not in official place)
>>>    so there are a couple of known problems: 
>>> 
>>>    - version format is different, and that breaks some things in
>>>    image that depends on it to know what happens
>>>    - command line is different and probably you’ll need to play a bit
>>>    with options (one or two dashes). 
>>>    - UFFI has some failing tests (but most of it works).
>>> 
>>>    I would appreciate some help to report and/or fix the emerging
>>>    problems. 
>>> 
>>>    cheers, 
>>>    Esteban
>>> 
>>>>    On 28 Oct 2016, at 10:39, Thierry Goubier
>>>>    <thierry.goub...@gmail.com <mailto:thierry.goub...@gmail.com>> wrote:
>>>> 
>>>>    Hi all,
>>>> 
>>>>    anybody knows how to get (and test) the 64bits version of the
>>>>    Pharo vm and image?
>>>> 
>>>>    Thanks,
>>>> 
>>>>    Thierry
>>> 
>>> 
>> 
>> 
>> -- 
>> The information contained in this message is confidential and intended
>> to the recipients specified in the headers. If you received this message
>> by error, notify the sender immediately. The unauthorized use,
>> disclosure, copy or alteration of this message are strictly forbidden
>> and subjected to civil and criminal sanctions.
>> 
>> ==
>> 
>> This email may be signed using PGP key *ID: 0x4134A417*
> 
> 
> 
> 


Reply via email to