내용으로 건너뛰기

Multiprocess issues in AWS Lambda when running Ansible

0

Encountering error related to Multiprocessing in AWS Lambda - Enter image description here

We're utilizing Ansible packages within our Lambda code via AWS EFS. Our objective is to leverage the PlaybookExecutor for inventory and playbook management. However, we encountered the above mentioned error on multiprocessing. Could you provide assistance in resolving this issue?

2개 답변
1

Hello, Lambda does not have shared memory device. You can have a look on these:

https://github.com/ansible/ansible/issues/18469

https://pypi.org/project/lambda-multiprocessing/

Thanks.

답변함 2년 전
전문가
검토됨 2년 전
0

When deploying applications on AWS Lambda, one of the common limitations is the absence of shared memory for concurrent processes. If you need to implement parallel processing in your Lambda functions, you might face challenges due to this constraint. The lambda-multiprocessing library can help address this issue by providing a way to leverage Python's multiprocessing module in the Lambda environment.

You can refer to the url that @Zen shared

전문가
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠