On Sun, 07 Nov 2010 17:12:32 -0500 Eloy Paris <pe...@chapus.net> wrote:
> On 11/05/2010 05:22 PM, Jacob Joseph wrote: > > > Paul, > > I was curious if you'd ever managed to reproduce my issues with > > directory listings. In 2.8p2 (haven't tried 2.8p3), it still > > happens. The first 'ls' shows "bus.0 settings statistics > > structure system uncached", and a second shows these and devices. > > Do you have something continuously reading the owfs-mounted > directory, like every 5 minutes or so (in reality at least once per > hour)? > > I had the same problem before I deployed my network and before I > started to read every 5 minutes via a cron job. I troubleshot and > found that the problem was that owserver was timing out after 3600 > seconds of inactivity the TCP connection established by owfs. The > first read attempt would cause the connection to be reset and the > second read attempt would cause owfs to initiate a new connection. > That's why the first ls showed no devices and the second one, just a > second later, would show devices. > > Don't know if this is your problem but thought I'd mention it since > your description of the problem seemed very similar to what I > experienced. > > I also ran into a similar situation when I was using aliases. That > one looked like a bug but I didn't chase it down and instead stopped > using aliases. Are you using aliases? > > Cheers, > > Eloy Paris.- This does sound reasonable, and explains the intermittent nature. I should note, though, that it sometimes occurs immediately after mounting owfs. My logging programs don't use the owfs mounted directory, instead using the owserver through python. I'm not using aliases. I recall reading about your troubles with them, but didn't put it together. Thanks. ~Jacob
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers