coturn / coturn

coturn TURN server project
Other
11.19k stars 2.01k forks source link

memory consumption keep increasing in long run test #782

Closed yfaker closed 3 years ago

yfaker commented 3 years ago

cpu info: Intel(R) Xeon(R) Gold 6278C system:Linux version 3.10.0-327.62.59.83.h230.x86_64 coturn version: coturn 4.5.2

turnserver.conf: tls-listening-port=5349 alt-tls-listening-port=5350 listening-ip=xx.xx.xx.67 external-ip=xx.xx.xx.111/xx.xx.xx.67 verbose realm=hello.com no-tcp no-tls no-tcp-relay cert=/opt/coturn/coturn/etc/turn_server_cert.pem pkey=/opt/coturn/coturn/etc/turn_server_pkey.pem cipher-list="ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:HIGH:!MEDIUM:!LOW:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4" no-stdout-log log-file=/opt/logs/coturn/turn.log simple-log log-binding no-software-attribute no-cli no-tlsv1 no-tlsv1_1

no-tlsv1_2

I run performance for test, send Binding request with multi client concurrently, rps is about 580Hits/s the memory usage keep increasing slowly, and never decrease when the test stopped image

and run with valgrind, got some info below , don't know if helps image image image

Thanks

yfaker commented 3 years ago

image

misi commented 3 years ago

Many thanks for the detailed info!! Appreciated..

groupboard commented 2 years ago

Was this issue fixed @yfaker ?