Serviio opens too many files and crashs accoding to lsof
Hi,
here is my problem:
- for mkv files everything is ok
- for avi files I see the video on my phone or TV, but after some minutes serviio crashs due to lack of memory
More details about the problem and what I did:
- I'm using serviio 1.9.1 on a raspberry Pi 3 under raspbian. I have increased the default memory from 512M to 712M after lack of memory problem detection.
- nothing special into derby.log
- nothing special into serviio.log, even with DEBUG level
- by running an lsof -p on serviio pid I can see that for mkv files serviio opens two times the file and that's all
- by running an lsof -p on serviio pid I can see that for avi files serviio opens the file a lot of times and it's continuously increasing (in 10 seconds more than 170 new "connections" to the file). Seems that those connections takes spaces which leads to the lack of memory
- serviio process and file belongs to the same OS user
- same behavior if the file is on HDD external drive or the SD card
I don't know what could be the next investigation (any other logs ?) and what I could do to solve the problem.
Thanks in advance for your help
here is my problem:
- for mkv files everything is ok
- for avi files I see the video on my phone or TV, but after some minutes serviio crashs due to lack of memory
More details about the problem and what I did:
- I'm using serviio 1.9.1 on a raspberry Pi 3 under raspbian. I have increased the default memory from 512M to 712M after lack of memory problem detection.
- nothing special into derby.log
- nothing special into serviio.log, even with DEBUG level
- by running an lsof -p on serviio pid I can see that for mkv files serviio opens two times the file and that's all
- by running an lsof -p on serviio pid I can see that for avi files serviio opens the file a lot of times and it's continuously increasing (in 10 seconds more than 170 new "connections" to the file). Seems that those connections takes spaces which leads to the lack of memory
- serviio process and file belongs to the same OS user
- same behavior if the file is on HDD external drive or the SD card
I don't know what could be the next investigation (any other logs ?) and what I could do to solve the problem.
Thanks in advance for your help