[Home]LockedMemory

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org

Showing revision 2

Resolving the error "failed to map shmem"

If emc displays the following message on startup:
 RTAPI: ERROR: failed to map shmem
 RTAPI: Locked memory limit is 32KiB, recommended at least 20480KiB.
 This can cause the error 'failed to map shmem'.
then the problem is the your system's configured limit of locked memory.

Edit /etc/security/limits.conf with your favorite text editor (e.g., sudo gedit /etc/security/limits.conf). Add the following line

 *       -    memlock 20480
Log out and log back in, or restart the system.

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org
This page is read-only. Follow the BasicSteps to edit pages. | View other revisions | View current revision
Edited May 27, 2010 8:45 am by Micges (diff)
Search:
Published under a Creative Commons License