スキップしてコンテンツを表示

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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ