Adjusting max number of threads

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
Unix & Linux Stack Exchange
'pthread_create: Resource temporarily unavailable' when running mul...
TLDR When spinning up multiple docker containers in which I run npm ci, I start getting pthread_create: Resource temporarily unavailable errors (less than 5 docker containers can run fine). I deduce
GitHub
nixpack/default.nix at main · flatironinstitute/nixpack
nix+spack = nixpack (spanix?). Contribute to flatironinstitute/nixpack development by creating an account on GitHub.
3 Replies
Percy
Percy2y ago
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.
Percy
Percy2y ago
No project ID was provided. Closing thread.
Want results from more Discord servers?
Add your server