Error
Error Code:
1135
MariaDB Error 1135: Thread Creation Failure
Description
MariaDB Error 1135 indicates that the server failed to create a new thread. This typically occurs when the operating system or the MariaDB server itself has exhausted resources like memory or process/thread limits, preventing new connections or background operations.
Error Message
Can't create a new thread (Errno %d); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug
Known Causes
4 known causesInsufficient System Memory
The operating system does not have enough free RAM to allocate for a new thread requested by MariaDB.
OS Thread/Process Limits Reached
The operating system has hit its configured maximum number of threads or processes allowed for the system or for the MariaDB user.
MariaDB Configuration Issues
MariaDB's `max_connections` or `thread_cache_size` settings might be misconfigured, leading to excessive thread creation attempts.
OS-Dependent Bug or Limitation
A specific bug or limitation within the operating system kernel or configuration could be preventing thread creation.
Solutions
Coming SoonGeneral Troubleshooting Tips
- Check the error message carefully for specific details
- Review recent changes that might have caused the error
- Search for the exact error code in the official documentation
- Check log files for additional context
- Try restarting the application or service