Great, a nice test case. Should be fixable. I like the shell script
approach.

Paul Alfille

On Tue, May 26, 2009 at 10:15 AM, Steinar Midtskogen
<stei...@latinitas.org>wrote:

> Matthias Urlichs <sm...@smurf.noris.de> writes:
>
> > Hi,
> >
> > Steinar Midtskogen:
> >> In some directory listings for the hubs, I notice that the hub
> >> (1F.xxx) and others on hte main bus reappear.  Is that an error?
> >>
> > Yes. That shouldn't happen.
>
> I'm suspecting that this is another issue, and less harmful.  Both of
> the other problems, unreadable files and owserver crashing/dying seem
> to be unrelated to hubs on closer inspection.  I'm now reproducing
> both issues on a bus without hubs with only 5 devices.
>
> The problem seems to be that owserver is relatively fine as long as
> the requests come in an orderly fashion, such as in this script:
>
> #!/bin/sh
>
> while true; do
>    owget -s 3000 uncached/10.7F1914000800/temperature
>    owget -s 3000 20.E0C700000000/volt.ALL
>    owget -s 3000 uncached/1D.0A5201000000/counters.A
>    owget -s 3000 10.7F1914000800/temperature
>    owget -s 3000 26.22FB4F000000/temperature
>    owget -s 3000 26.22FB4F000000/VDD
>    sleep 2
> done
>
> But if I change the script to requesting everything at the same time,
> like this:
>
> #!/bin/sh
>
> while true; do
>    owget -s 3000 uncached/10.7F1914000800/temperature &
>    owget -s 3000 20.E0C700000000/volt.ALL &
>    owget -s 3000 uncached/1D.0A5201000000/counters.A &
>    owget -s 3000 10.7F1914000800/temperature &
>    owget -s 3000 26.22FB4F000000/temperature &
>    owget -s 3000 26.22FB4F000000/VDD &
>    sleep 5
> done
>
> then owserver breaks within seconds, owget processes pile up because
> owserver doesn't respond for some files.  Eventally owserver might crash.
>
> In this case it seems to be both temperature and VDD in
> 26.22FB4F000000 that become unreadable (owget never finishes).
> Everything is fine again for some seconds if I restart owserver.
>
> This is bad for my logger program, since it intends to leave all
> queueing issues to owserver.
>
> --
> Steinar ; NIL DIFFICILE VOLENTI ; http://latinitas.org ;
> http://voksenlia.net
>
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals.
> Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://www.creativitycat.com
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to