Hi!

There is a runnig Comanche/Swiki server in our company but it become freeze for time to time. Once when swiki crashed I found a page no completely saved in a file. I looked over the swiki source and I found that every page is guarded by instance variable beingWritten. This variable is true if there is a forked process which saves page on disk But I think that two such processes (which want to save same page) can foul. I think that better way is control an access to every  page by semaphore. Attached file contains change set which provides you this solution.

                                                                                                                    Martin Baco

fixpagewriteaccess.zip

Reply via email to