Hi,

I have just read the thread owfs-mounted directory fails first time after inactivity period and may have something related to it.

I have been running owfs lights out to control my HVAC at home for about 3 years, I have switches and temp sensors on it, and it works in "real time" so I had to resolve the stability issue with programming around.

My HVAC controller reads the temperature of the furnace in a loop as it needs to act fast on temperature changes by switching on/off the gas burner and water pumps and magnetic valves. As a result I have a fair bit of experience with the stability of owfs.

It is not very stable so I my controller does the following:
Level1: The code catches the read/write exception of owfs provided files and retries max. 10 times, if does not succeed then
Level2: Kills owfs with -9, umounts /mnt/1wire and restarts owfs
If Level2 error happens it logs the event.

Level1 error happens about every other day, while Level2 happens less frequently but it really is random.

Here is the log for Level2 events from 1st of August this year. As you can see sometimes it goes on for 10, even 20 days w/o Level2 errors, then it just happens. Nothing changes in the usage pattern of the network or the controller, all sensors are continuously read, and all PIOs are written.

The exceptions are mostly "No such file or directory" but sometimes "Software caused connection abort" happens too.

It runs on a CentOs 5.4., with owfs 2.7p39, with zero caching as I need the new values every time.


LOGITEM BEGIN @Mon Aug  2 22:14:07 2010
Logging reason: Owfs restart logging
Active state: Off
Exception message: #<Errno::ECONNABORTED: Software caused connection abort - /mnt/1wire/10.869724010800/temperature>
State history : (Off)->(Off)->(Off)->(Off)->(Off)
LOGITEM END

LOGITEM BEGIN @Sat Aug  7 18:58:15 2010
Logging reason: Owfs restart logging
Active state: Off
Exception message: #<Errno::ENOENT: No such file or directory - /mnt/1wire/10.869724010800/temperature>
State history : (Off)->(Off)->(Off)->(Off)->(Off)
LOGITEM END

LOGITEM BEGIN @Sun Aug  8 16:47:18 2010
Logging reason: Owfs restart logging
Active state: Off
Exception message: #<Errno::ENOENT: No such file or directory - /mnt/1wire/10.869724010800/temperature>
State history : (Off)->(Off)->(Off)->(Off)->(Off)
LOGITEM END

LOGITEM BEGIN @Sat Aug 14 20:20:50 2010
Logging reason: Owfs restart logging
Active state: Off
Exception message: #<Errno::ENOENT: No such file or directory - /mnt/1wire/10.869724010800/temperature>
State history : (Off)->(Off)->(Off)->(Off)->(Off)
LOGITEM END

LOGITEM BEGIN @Sun Aug 15 07:24:49 2010
Logging reason: Owfs restart logging
Active state: Off
Exception message: #<Errno::ENOENT: No such file or directory - /mnt/1wire/10.869724010800/temperature>
State history : (Off)->(Off)->(Off)->(Off)->(Off)
LOGITEM END

LOGITEM BEGIN @Wed Aug 18 09:19:22 2010
Logging reason: Owfs restart logging
Active state: Off
Exception message: #<Errno::ENOENT: No such file or directory - /mnt/1wire/05.1AED31000000/PIO>
State history : (Off)->(Off)->(Off)->(Off)->(Off)
LOGITEM END

LOGITEM BEGIN @Mon Sep  6 19:35:40 2010
Logging reason: Owfs restart logging
Active state: Off
Exception message: #<Errno::ENOENT: No such file or directory - /mnt/1wire/05.200232000000/PIO>
State history : (Off)->(Off)->(Off)->(Off)->(Off)
LOGITEM END

LOGITEM BEGIN @Thu Sep  9 13:47:47 2010
Logging reason: Owfs restart logging
Active state: Off
Exception message: #<Errno::ENOENT: No such file or directory - /mnt/1wire/10.24E323010800/temperature>
State history : (Off)->(Off)->(Off)->(Off)->(Off)
LOGITEM END

Cheers,
Doma

------------------------------------------------------------------------------
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to