Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes the workflow manager crashes during tasks. #1

Open
acreegan opened this issue Jan 31, 2024 · 1 comment
Open

Sometimes the workflow manager crashes during tasks. #1

acreegan opened this issue Jan 31, 2024 · 1 comment

Comments

@acreegan
Copy link
Owner

Normally this is prevented since every task runs in a try-except block.
I suspect the crashes are caused by segmentation faults in some meshing libraries.
This needs to be further investigated.

One solution may be to run tasks in a separate process even when use_multiprocessing is not activated.

@acreegan
Copy link
Owner Author

With pool.imap, it hangs if a child process has a segfault. See python/cpython#66587. But maybe we can solve this with another method for creating subprocesses? Concurrent.futures? https://stackoverflow.com/questions/24370930/multiprocessing-pool-hangs-if-child-causes-a-segmentation-fault

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant