[Pkg-nginx-maintainers] Bug#991183: libnginx-mod-rtmp memleak

kalamlacki at gmail.com kalamlacki at gmail.com
Fri Jul 16 17:15:16 BST 2021


Package: libnginx-mod-rtmp
Version: 1.14.2-2+deb10u4
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 10 (buster)
Release:	10
Codename:	buster
Architecture: armv7l

Kernel: Linux 5.10.17-v7l+ (SMP w/4 CPU cores)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libnginx-mod-rtmp depends on:
ii  libc6         2.28-10+rpi1
ii  nginx-common  1.14.2-2+deb10u4

libnginx-mod-rtmp recommends no packages.

libnginx-mod-rtmp suggests no packages.

-- no debconf information
nginx.conf:
rtmp_auto_push on;

rtmp {
    server {
        listen 1935;

        application mytv {
            live on;
        }
    }
}


ffmpeg command used to transmit to nginx:
fmpeg -f v4l2 -video_size 640x480 -pix_fmt yuv420p -framerate 8 -i /dev/video0 -vcodec h264_omx -b:v 400k -f flv rtmp://localhost:1935/mytv/zonk

and motion deamon connected to the same endpoint.

after a few days of work nginx takes 77% of Raspberry PI 4B memory, but just after start of nginx it takes only a few MB.

Best regards,
Lukasz Kalamlacki



More information about the Pkg-nginx-maintainers mailing list