[Icecast] Icecast crashing / terminated - out of memory
Philipp Schafft
phschafft at de.loewenfelsen.net
Sat Oct 10 10:43:07 UTC 2020
Good morning,
first of all, thank you for your nice report. :)
On Sat, 2020-10-10 at 20:32 +1000, Damian wrote:
> Hi, needing some advice.
> I am running a backports version of icecast for Debian 10. I have
> found that with this version, the icecast server will usually run for
> about 7 days before it crashes. I found in the syslog that icecast
> gets terminated because it’s 'out of memory'.
There is currently a problem known in wolfssl which leads to Icecast
leaking memory. See [0], [1].
> This never happened on the standard (stable) version of icecast that I
> ran on Debian 9 installed via apt.
> I’ve added the relevant section of the syslog below. Any help on steps
> to take would be greatly appreciated.
That matches the picture.
Do you have TLS enabled?
Please provide a: cat /proc/$(pidof icecast2)/maps
This allows us to verify if it's the known problem. You can run the
command directly after you started Icecast.
With best regards,
>
> Oct 10 10:36:40 systrum kernel: [925937.080802] 0 pages HighMem/MovableOnly
> Oct 10 10:36:40 systrum kernel: [925937.082050] 53826 pages reserved
> Oct 10 10:36:40 systrum kernel: [925937.083128] Tasks state (memory values in pages):
> Oct 10 10:36:40 systrum kernel: [925937.084663] [ pid ] uid tgid total_vm rss pgtables_bytes swapents oom_score_adj name
> [...]
> Oct 10 10:36:40 systrum kernel: [925937.165398] [ 8095] 108 8095 1988579 1896082 15364096 0 0 icecast2
> [...]
> Oct 10 10:36:40 systrum kernel: [925937.210233] Out of memory: Kill process 8095 (icecast2) score 929 or sacrifice child
> Oct 10 10:36:40 systrum kernel: [925937.213229] Killed process 8095 (icecast2) total-vm:7954316kB, anon-rss:7584328kB, file-rss:0kB, shmem-rss:0kB
>
[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=969018
[1] https://gitlab.xiph.org/xiph/icecast-server/-/issues/2391
--
Philipp Schafft (CEO/Geschäftsführer)
Telephon: +49.3535 490 17 92
Löwenfelsen UG (haftungsbeschränkt) Registration number:
Bickinger Straße 21 HRB 12308 CB
04916 Herzberg (Elster) VATIN/USt-ID:
Germany DE305133015
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20201010/a2913271/attachment.sig>
More information about the Icecast
mailing list