How can I set the max number of MySQL processes or threads?

后端 未结 4 1987
失恋的感觉
失恋的感觉 2021-02-03 22:48

ps axuw| grep mysql indicates only MySQL process, but if I run htop I can see 10 rows each one of them with a separate PID. So I wonder if they are threads or proce

4条回答
  •  醉话见心
    2021-02-03 23:23

    MySQL does use threads, ps can see them if you run ps -eLf.

    That said, I wouldn't worry about it - dormant threads use almost no resources whatsoever, and if you constrain the server too much it's bound to come back and bite you on the backside sometime later when you've forgotten that you did it.

提交回复
热议问题