Restarting a NodeJS application in cPanel *(CloudLinux) gives 503 error and the stderr.log states:
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe
node[175421]: pthread_create: Resource temporarily unavailable
node[175468]: pthread_create: Resource temporarily unavailable
node[175524]: pthread_create: Resource temporarily unavailable
node[175583]: pthread_create: Resource temporarily unavailable
node[175654]: pthread_create: Resource temporarily unavailable
node[175713]: pthread_create: Resource temporarily unavailable
node[175979]: pthread_create: Resource temporarily unavailable
node[176032]: pthread_create: Resource temporarily unavailable
This occurs when NodeJS app was started from the terminal, and NodeJS Application Manager can’t acquire a lock on the application files.
To resolve the problem, simply terminate all node processes for the user and start the application from the cPanel > NodeJS Application Manager.
![node[175421]: pthread_create: Resource temporarily unavailable 2023 08 28 12 16 - node[175421]: pthread_create: Resource temporarily unavailable](https://i0.wp.com/administrator.pejcic.rs/wp-content/uploads/2023/08/2023-08-28_12-16.png?resize=736%2C664&ssl=1)

![WARNING: [pool user_USERNAME] server reached pm.max_children setting (25), consider raising it Screen Shot 2020 06 23 at 09.57.51 - WARNING: [pool user_USERNAME] server reached pm.max_children setting (25), consider raising it](https://i0.wp.com/administrator.pejcic.rs/wp-content/uploads/2026/09/Screen-Shot-2020-06-23-at-09.57.51.png?resize=344%2C194&ssl=1)

