FAQ  •  Register  •  Login

Serviio opens too many files and crashs accoding to lsof

<<

dso

Serviio newbie

Posts: 1

Joined: Sun Apr 15, 2018 11:28 am

Post Sun Apr 15, 2018 11:57 am

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
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16657

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Apr 15, 2018 3:41 pm

Re: Serviio opens too many files and crashs accoding to lsof

some files are streamed to various clients with a lot of byte range requests, so that could be it. not much I can do

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 5 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.