Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the copy-the-code domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121
node[175421]: pthread_create: Resource temporarily unavailable - PC✗3
node[175421]: pthread_create: Resource temporarily unavailable

node[175421]: pthread_create: Resource temporarily unavailable

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.

2023 08 28 12 16 - node[175421]: pthread_create: Resource temporarily unavailable
whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.