Hello all, I've asked a few questions over the last months related to getting a drawing robot installed in a science museum. That happened last week and it's drawing a realtime visualisation of how much energy their solar panels are generating.
This is the board I built following advice from the forum: https://photos.google.com/share/AF1QipNaz9tMceRi-mXtJv4RdqrP6kD47sogOVb3A29a2S-6pEGMRwSNoXlWVGmveeD9vQ/photo/AF1QipO_8oifHlGgJmktn6_AyaHMCVDbrIKs0B2orhnh?key=Z3RDbTI1aXN2SzdUbkpqMFZ2Zi1PVWliaW1qYmd3 Photos of the build and install are here: https://photos.google.com/share/AF1QipNaz9tMceRi-mXtJv4RdqrP6kD47sogOVb3A29a2S-6pEGMRwSNoXlWVGmveeD9vQ?key=Z3RDbTI1aXN2SzdUbkpqMFZ2Zi1PVWliaW1qYmd3 Robot's data dashboard (including output from machinekit) here: http://freeboard.cursivedata.co.uk My question is related to starting machinekit at boot. I've made a supervisord config which at least looks like it starts working (correct user and limited environment variables set): [program:bipod] directory=/home/machinekit/ user=machinekit autostart=false redirect_stderr=true autorestart=false command=/usr/bin/linuxcnc /home/machinekit/bipod/bipod.ini environment=HOME="/home/machinekit/",USER="machinekit" However it doesn't start properly and the logs include the lines: mlock(global) failed: 12 'Cannot allocate memory' msgd:0: Locked memory limit is 64KiB, recommended at least 20480KiB. Startup log pasted here: http://pastebin.com/hT64nxRL I can't figure out why the memory might be limited when started by supervisord. The user is set to machinekit, and that user has memory allocation of 32768k in /etc/security/limits.d/machinekit.conf Any clues gratefully received, and thanks for the help! Matt -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
