Limit MySQL forked processes
5,159
You can try to reduce the number of processes/threads, by changing following values:
For example in my.cnf:
max_connections = 1
max_user_connections = 1
max_delayed_threads = 1
But this does not guarantee that there will be less processes/threads, as not all processes/threads are connection related.
Related videos on Youtube
![Admin](/assets/logo_square_200-5d0d61d6853298bd2a4fe063103715b4daf2819fc21225efa21dfb93e61952ea.png)
Author by
Admin
Updated on September 18, 2022Comments
-
Admin almost 2 years
How can you limit the amount of processes that MySQL forks? I noticed at startup there are at least 10 children. This is a development database that isn't in production; so no users are connecting to it.
-
b13n1u over 10 yearsUnfotunately, there is no simple solution to limit the processes.