Ansible Server Very High CPU Usage

I installed ansible-server using pip into python venv.
Everything works fine, but there is a process used by the ansible user on the current server. (Process: /tmp/./.7t8rGXT like that) This process uses almost all of the 6 core CPU. Even if I kill the process, it runs again after a certain period of time.

Additionally, in the clients where I run playbook, a process called watchdog is left behind and this causes very high CPU usage also.

I’m using “ansible [core 2.11.12]” and “python version = 3.6.8” versions and OS type Centos 8.

Is there something I’m doing wrong or missing? How can I solve this?

I would upgrade to a newer version of ansible through pip.

1 Like

Thank you for your suggestion.

I updated the python version 3.6 to 3.9, ansible version 4.1 to 8.7 and ansible core version 2.11 to 2.15.
The problem seems to be solved.