I have a dedicated fileserver on which I do not wish to install a dlna server. My silly TV, however, doesn't speak SMB or NFS, so I am attempting to use Tomato to act as a middle man.
The directory I'm attempting to share is all or nearly all video files, some in directories. Most of these video files are HD rips, so 2-10 GB each, although some are less than 1GB. Total size of the directory is about 1.4 TB.
The router is a WNR3500L with TomatoUSB v1.28.9054 MIPSR2-beta K26 USB Ext installed. WAN is bridged and DHCP server disabled. Wireless is enabled with WPA2/AES. CIFS client is enabled and the directory from my fileserver is mounted and visible at /cifs1/. I enabled Tomato's dlna server and shared /cifs1.
From my silly TV, I can see Tomato and browse the folders. At first there are only a few folders visible, and then more with time. I can even watch some of the video files in this directory. At this point it is reasonable to conclude that things are working as expected. Meanwhile, Tomato's media server page shows "scan in progress" or wods to that effect. The bandwidth graph shows Rx traffic up to 20 Mbps or so, and 'top' shows the mini-dlna process using all available CPU, with the cifs client also using some. It does appear that Tomato is building its database while pulling info off the fileserver.
Then, at some point, I would estimate roughly 15 minutes after enabling the dlna server in Tomato, Tomato's GUI stops responding. The browser never times out, just tries to load forever. Likewise, attempts to connect via ssh just hang forever. Tomato continues responding to pings for some time, but even that quits at some point if I don't power-cycle the router.
I have cleared the nvram and built the configuration by hand. I have tried saving the database to RAM, jffs, and finally to a blank 4GB USB stick freshly formatted ext3. In every case I can see the database slowly growing in size, but judging by its rate of growth, I would estimate it is less than 1MB in size with Tomato stops responding, so it can't be a storage problem. nvram usage before lockup is reported as "32.00 KB / 18.98 KB (59.30%)".
I don't know what to try next. I can recreate this problem 100% of the time. I'd like to know how to troubleshoot it or make some change to make it work. Or is there some insurmountable problem that prevents Tomato from sharing a cifs mount via dlna?