0

I am running Ubuntu 22.04, which I recently installed from scratch. I use eclipse, apache2 primarily, browser. For the past few days, eclipse runs out of memory and halts. enter image description here When investigating, I discovered 30+ instances of mysqld running. I cannot filter a mysqld instance using ps aux but I can observe them using htop (see image).

30 instances seems out of order to me. Why should there be so many instances?

  • 1
    Please provide some output from top, htop or similar. Is it child processes/threads? This wouldn't surprise me. – Artur Meinild Mar 22 '23 at 07:29
  • 1
    FYI, I have a MariaDB instance that hardly does anything, and it has 10 userland child processes in htop (green colored). – Artur Meinild Mar 22 '23 at 07:54
  • 3
    They're threads, it's fine, working as designed. htop breaks threads out in the list, ps doesn't. – popey Mar 22 '23 at 09:52
  • 1
    I always hide "Userland" processes in htop, since they mostly distract more than they inform. – Artur Meinild Mar 22 '23 at 10:20
  • Thanks for all the insight. After following the link that @popey shared, I discovered that, indeed, all but 1 (we'll call it process) is a thread and htop shows them as children of the process. – TheGeeko61 Mar 22 '23 at 10:42

0 Answers0