TTMediaBot icon indicating copy to clipboard operation
TTMediaBot copied to clipboard

Extreme CPU usage caused by TeamTalk SDK update to 5.15

Open ivnc opened this issue 9 months ago • 6 comments

Since TeamTalk SDK was updated to 5.15, the bot causes a extreme & rising CPU load in the system, causing audio micro-cuts to the bot and performance problems for other services in the machine. I've tried to downgrade all components except ttsdk and the problem persists. It can only be resolved downgrading the TeamTalk SDK to 5.8.1. With 5.15 I have seen CPU usage values of up to 60 by the process running the bot, while with 5.8.1 it remains at 4/5 with eventual peaks, especially after startup, of 10/11. With 5.15 it starts at 10/11 as well, but keeps constantly rising. If there are various bot instances running in the same machine this situation can cause a heavy CPU load and serious performance issues to the whole machine and the services it hosts. I'm running Centos 7 (7.9.2009) with Docker 26.1.1, build 4cf5afa. I've also tested the new dockerfile in docker-behavior-improvements and the issue is still reproducible, the problem is apparently in the ttsdk.

ivnc avatar May 07 '24 14:05 ivnc