pombreda / appscale

Automatically exported from code.google.com/p/appscale
0 stars 0 forks source link

Fix syslog race condition #104

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Both the Ruby AppController and the Python components use the syslog
interface for logging. However, syslog can only be written to by a single
process at a time, and the Ruby component will throw an exception if
attempting to write to it while the Python part is writing to it.

Need to guard access to syslog on both sides to resolve this race condition.

* If the Java AppServer also accesses syslog, it needs to also be aware of
this potential issue. *

Original issue reported on code.google.com by shattere...@gmail.com on 11 Nov 2009 at 7:37

GoogleCodeExporter commented 9 years ago
Done for Ruby AppController.

Need to meet with Raj and see how the AppServer/PBServer uses syslog and meet 
with
Yiming to discuss AppServer_Java. Will do so tomorrow.

Original comment by shattere...@gmail.com on 11 Nov 2009 at 8:25

GoogleCodeExporter commented 9 years ago
Talked to Yiming, Java AppServer should be fine. Ruby AppController recovers 
from
syslog issues in such a way that it shouldn't conflict with Python components.

Original comment by shattere...@gmail.com on 15 Nov 2009 at 2:07