High CPU on fresh minemeld ansible install

Reply
L1 Bithead

High CPU on fresh minemeld ansible install

Hello, I just installed minemeld on Ubuntu 18.04 (with a few tweaks from here) and the setup was working. But now I have a VM that consumes 2 full CPUs since about 30 minutes. When I try to login to the admin web interface I get after a few seconds the message "error checking credentials - timeout" in the right top corner and nothing happens.

 

Is this normal? I don´t think so but as I am new to minemeld everything is possible...

 

Brgds Andreas

L7 Applicator

Re: High CPU on fresh minemeld ansible install

@Deas.h,

No this isn't expected behavior at all and it shouldn't be pegging the CPU even only really old hardware. If you log into the server run 'top' and see what is actually consuming the CPU. 

L1 Bithead

Re: High CPU on fresh minemeld ansible install

Hello,

 

no - this is no old hardware...

 

Those are the two processes that are constantly on top:

 

minemeld 99.7 2.5 /opt/minemeld/engine/current/bin/python2.7 /opt/minemeld/engine/current/bin/gunicorn -w 1 -b 127.0.0.1:5000 --worker-connections 500 --access-logfile - --error-logfile+
minemeld 59.1 0.6 /opt/minemeld/engine/current/bin/python2.7 /opt/minemeld/engine/current/bin/supervisord -c /opt/minemeld/supervisor/config/supervisord.conf --pidfile /var/run/minemeld+

 

This is USER, %CPU, %MEM, COMMAND

 

Brgds Andreas

L1 Bithead

Re: High CPU on fresh minemeld ansible install

Not even one reply?

 

Is there a ova file available to get a working installation?

 

Brgds Andreas

Highlighted
L7 Applicator

Re: High CPU on fresh minemeld ansible install

@Deas.h,

I never saw the update that you had posted, sorry about that. Neither supervisord or gunicorn should be overloading your CPU unless something is failing; I would look at your supervisord.log and search for any WARN or CRIT that may be generating. Just FYI, 18.04 isn't actually supported, 16.04 is. You can make it work, but it isn't actively tested. 

 

Installation of MineMeld has largely switched to the docker image, and that's the most direct and easiest run of running it yourself. There used to be an OVA that was published, but that was based on 14.04. 

 

 

L1 Bithead

Re: High CPU on fresh minemeld ansible install

I will do a setup again with 16.04 to see if this works, but it would be great if you could do your testing with newer version faster and also support versions normally used by companies (RHEL).

 

Brgds Andreas

L1 Bithead

Re: High CPU on fresh minemeld ansible install

I did the setup now with docker and you were right - it is very easy and works instantly!

 

One last question - would this also run on Windows Server 2019 with docker?

 

Brgds Andreas

L7 Applicator

Re: High CPU on fresh minemeld ansible install

@Deas.h,

Yes. The benefit of docker containers is that it doesn't matter what platform you are running them on. 

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!