MacOS Solution for others directed to this question not on Windows:
Here is the error message I saw when I ran into this issue on MacOS:
Here are the specs for that machine (if relevant):
Despite the scary error message I was actually able to ignore this warning and use Jenkins for a month without noticing any catastrophes, but I'm sure mileage may vary.
I do not know what caused this condition initially.
Note: a search for "Jenkins" in the Activity Monitor reveals nothing,
Using top is not that useful either. No Jenkins here… I do see a random Java process, which could be related, but we can’t be sure yet,
Changing the search in the Activity Monitor to "Java" gives me what I want
On the right side you can see my two Java processes, on the left side you can see that their PIDs match exactly the ones mentioned in the error message shown in the browser. A very nice indicator that we are not chasing some stray Java process. I especially don't want to kill a Java process that I don't know what it is doing.
I click the "Ignore this problem and keep using Jenkings anyway" button in the Browser to go to Jenkins GUI that I normally use.
I start using Jenkins, I actually start a build, so I can see which instance actually gets used. Logically, it’s CPU usage should go up in the Activity Monitor
Cool. So I’m gonna keep the top one and trash the bottom one not being used. You can see that the top one is now using 0.2 or 20% of the available CPU.
Problem solved. As far as figuring out how both of them got spun up, that’s another issue. It’s probably related to how you installed and configured it, if you installed it twice, etc.
service jenkins stop
didn't stop both instance. – Cusp