Azure Functions Core Tools error (OSX) : /dev/shm/AzureFunctions - shared memory usage

Abbie Weisenbloom 56 Reputation points
2021-05-16T09:28:00.397+00:00

I'm running on OSX and am getting the following error when running func start in VSCODE terminal on a function project. Why is Azure Functions trying to create a shared memory directory on /dev/shm when there's no write access to /dev directory? I realized that the function still runs but the error persists.

(.venv) (base) Me@me-mbp CreateAnAzureFunction % func start            
Found Python version 3.7.2 (python3).  
Azure Functions Core Tools  
Core Tools Version:       3.0.3477 Commit hash: 
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
0 comments No comments
{count} votes

Answer accepted by question author
  1. Pramod Valavala 20,656 Reputation points Microsoft Employee Moderator
    2021-05-17T11:07:41.787+00:00

    @Abbie Weisenbloom This is part of the python worker as part of this feature that adds support for shared memory between the runtime and the worker.

    The log that you see is a warning (check this line) and considering the worker does eventually start, another location worked.

    3 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Andrew Junzki 6 Reputation points
    2021-09-21T08:15:01.793+00:00

    I've lookup /dev in my macOS, and there is no device named /dev/shm found.

    Searched web for answers, /dev/shm maps shared memory, and it seems to have some difference between Linux and macOS on mapping shared memory.

    https://stackoverflow.com/questions/31278519/location-of-dev-shm-on-mac-os-x

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.