#Adjusting max number of threads

3 messages · Page 1 of 1 (latest)

misty sluice
#

Is there a way to adjust the limit of threads through Nixpack?

Currently using Pupeteer, and running into an issue where it's failing to launch browser processes, and throwing pthread_create: Resource temporarily unavailable pupeteer after it handles a few deploymnets.

Ran into this issue stack exchange discussion about thread restrictions:
https://unix.stackexchange.com/questions/515496/pthread-create-resource-temporarily-unavailable-when-running-multiple-docker

Not sure if this is the right approach here, but I saw that the default nixpack seems to have a max thread count: https://github.com/flatironinstitute/nixpack/blob/main/fi/default.nix

GitHub

nix+spack = nixpack (spanix?). Contribute to flatironinstitute/nixpack development by creating an account on GitHub.

uncut craterBOT
#

Please provide your project ID or reply with N/A. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.