Questions and Answers : Macintosh : Fixing Error Code 6: Could not create shared memory region
Message board moderation
Author | Message |
---|---|
Send message Joined: 13 Jan 06 Posts: 1498 Credit: 15,613,038 RAC: 0 |
You may notice that some Macs have been crashing models with an Error Code 6 \"Could not create shared memory region\" error (as in the following example): http://climateapps2.oucs.ox.ac.uk/cpdnboinc/result.php?resultid=6594856 Over Outcome Client error Client state Computing Exit status 6 (0x6) CPU time 0 stderr out <core_client_version>5.8.17</core_client_version> <![CDATA[ <message> process exited with code 6 (0x6) </message> <stderr_txt> shmget: No such file or directory shmget: Cannot allocate memory Could not create shared memory region 175095, 655060 Error in creating shared memory region! </stderr_txt> ]]> The problem is that by default the Mac allocates only a small amount of shared memory segments. Each Boinc task requires one, and it is easy to run out. It is most likely to happen on high-end Mac Pro systems (with 4 or 8 cores), simply because they will be running more Boinc tasks. It is easy to increase the amount of shared memory, which will resolve the problem. The following is a quote from SPYHILL : Configuring Shared Memory on Mac OS X Shared memory is a form of Inter-Process Communication (IPC). Separate programs running on the same computer are able to communicate with each other by reading from and writing to a commonly allocated memory block. adempster has kindly experimented with this solution on his Mac, and it resolved the problem of climate models crashing. This problem has been discussed elsewhere, see these threads for further reading: BoincDev forum: Mac OS X: Can\'t destroy/create shared memory BoincDev forum: Intel Mac shared memory issue FinkProject: Shared Memory Regions on Darwin |
Send message Joined: 13 Jan 06 Posts: 1498 Credit: 15,613,038 RAC: 0 |
The Boinc manager has been updated to try to avoid these shared memory problems. The changes are in the official release version 5.10.20 of the Boinc Manager (as well as in test versions from 5.10.10 onwards). This can be downloaded from http://boinc.berkeley.edu/download.php For further information, see the following thread: (relevant extract provided). http://boinc.berkeley.edu/dev/forum_thread.php?id=1871 \"Charlie Fenton\" wrote: ... I'm a volunteer and my views are my own. News and Announcements and FAQ |
©2024 cpdn.org