Nature40 / pysensorproxy

A python tool to schedule, execute and log environmental measurements.
MIT License
0 stars 0 forks source link

On Lift disconnect, pysensorproxy stops working #43

Closed jonashoechst closed 5 years ago

jonashoechst commented 5 years ago

ifup sometimes takes more than 15 seconds and thus is stopped. The semaphore used to access the lift is not freed, and leads to a non-working lift.

jonashoechst commented 5 years ago

The issue was addressed in 672bb668caeb6869fd9958a0e59b7f02fd674fbd, but seems to appear only in rare cases. Also with 3cc327938968519d249b966fabf70ca3615d2542 verbosity for ifup / ifdown is added, so it can be debugged better.

gisma commented 5 years ago

The following are all shots in the dark.... Nevertheless the permanent loosing of wlan connection is a major and well known problem (e.g. #19 #32) that is showing up as follows:

Observations:

Solutions up to now:

However the problems are still remaining and the top act is the freezing system followed by an arbitrary calibration Task.

Suggestions:

jonashoechst commented 5 years ago

I've added verbosity to ifup / ifdown, and now do persist all logs from sensor proxy, as well as all its subprocesses.

Starting from now, we should be able to at lease see where problems from ifup / ifdown / wpa_supplicant come from. The concrete behavior described above should thus be explainable, when the matching logs are available.

The issue itself seems closed, but can be reopened, when arbitrary behavior with the current version occurs.