fredfillis
Posts: 13
Joined: Sat Feb 08, 2014 6:37 am

FBI locks when loading some files.

Sat Apr 26, 2014 9:48 am

Running fbi under raspbian. I have one file containing a list of 30,000 plus image files, about 95% jpg. Located on a network drive, wired conection. Running a slideshow using this file list as the input. Each image is displayed for 10 seconds. Occasionally an image will 'lock up' fbi. Seems that most often these are recent files where the filesize is greater than about 6mb.

Don't know if this is related to the file size (a10mb bmp loads fine) or the time it takes to load and scale the file is causing a timeout. There are no error messages (that I'm aware of). Since my filelist is randomly sorted this issue can showup in the first 200 pics or after 13,000.

Anyone have any ideas on what might be causing this?

Tarcas
Posts: 741
Joined: Thu Jan 09, 2014 5:38 am
Location: USA

Re: FBI locks when loading some files.

Sat Apr 26, 2014 2:34 pm

Is it the same images every time, or does the same one sometimes freeze it and sometimes not?
If it's the same images every time, would it be acceptable to simply remove them from the list, at least until you can determine why they're doing it and possibly repairing them if possible?

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26716
Joined: Sat Jul 30, 2011 7:41 pm

Re: FBI locks when loading some files.

Sat Apr 26, 2014 4:35 pm

I wonder if FBI has a memory leak that exhibits as file sizes get larger? And eventually the system runs out of memory. Cannot remember what Linux tools are around for monitoring meory, but a Google should find them.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

Tarcas
Posts: 741
Joined: Thu Jan 09, 2014 5:38 am
Location: USA

Re: FBI locks when loading some files.

Sat Apr 26, 2014 11:47 pm

jamesh wrote:I wonder if FBI has a memory leak that exhibits as file sizes get larger? And eventually the system runs out of memory. Cannot remember what Linux tools are around for monitoring meory, but a Google should find them.
top is what I normally use for that. Certainly worth watching to see if it climbs as time goes on.

fredfillis
Posts: 13
Joined: Sat Feb 08, 2014 6:37 am

Re: FBI locks when loading some files.

Sun Apr 27, 2014 1:23 am

Images taken since my wife got a new camera in Feb seem to be regular suspects but not the only ones. Images taken with the new camera are jpg. One I just looked at was 7.3mb and 5184 x 3888.

fredfillis
Posts: 13
Joined: Sat Feb 08, 2014 6:37 am

Re: FBI locks when loading some files.

Mon Apr 28, 2014 8:38 am

Finally got a lockup. Am ssh'd into the pi. When all is running smooth I can see everything working correctly with htop. When pi appears to be locked up, fbi is not in the process list.

fredfillis
Posts: 13
Joined: Sat Feb 08, 2014 6:37 am

Re: FBI locks when loading some files.

Thu May 15, 2014 11:05 am

I think I finally have a solution.

See this thread http://www.raspberrypi.org/forums/viewt ... 60#p550760

Was wrong ... no solution.

Return to “Beginners”