-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
EnglishNativeThis issue is conveyed exclusively in English.This issue is conveyed exclusively in English.
Description
Describe the bug
Hello i have a clear install srs from stock. After 6H runtime without Clients and Streams i have a ram Usage from21% from 2GB.
On Older test i see an idle ram usage of 23MB not 420MB like me
If i kill the prozess with pkill srs it slowly increase ram usage from 2,1%. After 1 Minute i have 3.2% in idle
Version
SRS/7.0.20
To Reproduce
Steps to reproduce the behavior:
- I Start the server with: ./objs/srs -c conf/srs.conf
- Whaitt a time and the ram usage increase without streams and clients.
My Config looks like:
listen 1935;
max_connections 1000;
#srs_log_tank file;
#srs_log_file ./objs/srs.log;
daemon on;
http_api {
enabled on;
listen 1985;
}
http_server {
enabled on;
listen 8080;
dir ./objs/nginx/html;
}
rtc_server {
enabled on;
listen 8000; # UDP port
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
candidate $CANDIDATE;
}
vhost __defaultVhost__ {
hls {
enabled on;
}
http_remux {
enabled on;
mount [vhost]/[app]/[stream].flv;
}
rtc {
enabled on;
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
rtmp_to_rtc off;
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
rtc_to_rtmp off;
}
play{
gop_cache_max_frames 2500;
}
}
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
EnglishNativeThis issue is conveyed exclusively in English.This issue is conveyed exclusively in English.
