I noticed that our java-ownet client zero-termintes the path and the data string, as does the python-ownet client (but not the owread if I am not mistaken). I changed that, but that did not seem to make a difference.
To get to the bottom of things, I disabled threading (I had to disable owftp during compile) but that froze owserver in a little while. Am 27.05.2011 um 12:47 schrieb Michael Weber: > We had a owserver 2.7p17 running on an old debian server, without problems. > We read from 3 serial devices (via a MOXA terminal server) using python/ownet > and java/ownet interfaces. there is only one instance from the java part, and > one from the python part, so there could be at most two requests at the same > time. > > Everything went fine until we replaced the server with a new one running > debian squeeze. First we tried owfs 2.8p8, but owserver crashed very > frequently. Then we moved back to 2.7p17 and also tried 2.7p39: Here owserver > froze (no answers) but the daemon was still there. Now we moved back to 2.6p9 > and monitor the daemon and restart it when necessary. Not a very stable > configuration. > > The logfile just before it crashed one time yesterday looks like this, I > think it is strange that the TRAFFIC IN occurs at the moddle of the line just > before the crash. > > Any ideas would be greatly appreciated. > > TRAFFIC IN <NETREAD> bus=0 (/dev/ttyr04) > Byte buffer DS9097U, length=2 > --000: 1F B2 > <..> > TRAFFIC OUT <to server data> file descriptor=9 > Byte buffer FD, length=0TRAFFIC IN <NETREAD> bus=2 (/dev/ttyr05) > Byte buffer DS9097U, length=9 > --000: 40 01 C2 FF 7F FF 10 10 DD > <@........> > TRAFFIC OUT <to server data> file descriptor=12 > Byte buffer FD, length=12 > --000: 20 20 20 20 20 20 20 20 20 20 32 30 > < 20> > > > Michael ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
