AppImage development is teaching me something about the rest of the server:
we spend way too much time "cleaning up" when the server is exiting.  I am
now removing thousands of lines of "exit cleanup hook" code that doesn't really
need to be there.  Kudos to whoever wrote it, they had the intention of being
able to check for memory leaks by assuming that with proper cleanup there
would be zero memory allocated at exit time unless something was wrong.  But
I think the problem of people getting their databases corrupted because the
server process died before it could finish exiting is bigger. 
  
 I am changing some things around so that it properly closes the database
as soon as possible when it is detected that the server has to shut down 
 

Reply via email to