FieldStation42: Process "Killed" when rebuilding catalog
When I run python3 station_42.py --rebuild_catalog it goes steadily for a while then abruptly the process will stop in the middle of it
[ 1:53.206975] Out of memory: Killed process 88981 (python3) total-vm:669536kB, anon-rss:452480kB, file-rss:144kB, shmem-rss:0kB, UID:0 pgtables:368kB oom_score_adj:0
Killed
I’m running this on a Raspberry Pi 5 if that helps.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 21 (13 by maintainers)
I see. Yes - all the movie files in bump and commercial folders and subfolders will get grouped under the ‘bump’ tag and ‘commercial’ tags respectively. During schedule building time, each candidate will be considered for scheduling unless they are filtered out by a time constraint. So, anything in the late folder would get filtered out at 9am.
Are you looking for something like #7 - this was a request to be able to configure commercials and bumps per folder? I had considered looking for any sub-folders named ‘commercial’ and ‘bump’ in the actual folders and using. It looks like what you are suggesting above is to have folders with the tag names embedded in the commercial and bump folders?
Let’s continue the conversation over on #7 if you don’t mind, so we can close this one out. Make sure to subscribe to it so you get notifications when I update it.
Can you provide some sample file names and types that it didn’t read? My content is all MP4 (I ran a conversion on every single file to get it in the same format) - so I am interested if this is failing on specific file types or files with odd characters in the name.
The reason you might see some file names truncated in the display could be that it tries to perform some sanitation of the file names for use in displaying on the preview channel. It would help me to see why these are getting truncated so much - but this shouldn’t impact the ability to schedule, play and use the file, its name will just look weird in the preview channel. So, if I could see a sample of what the name used to be and what the display gets truncated to, it would help.
I only have one channel for the time being. Now admittedly I hadn’t checked the file count until now but I am potentially bringing this thing to it’s knees by having about 4900 video in the folder.
Thanks for the help!