Top «Prev(2007-05-28) Latest Next(2007-05-30)» Edit

pterjan's diary


2007-05-29

  Broken comments

It looks like comments on my blog are now broken but I can't find why. The ruby code is fh.flock( File::LOCK_EX ) and ruby process loops on the following 3 lines when you try to post a comment and then I need to kill the ruby process or all the blog gets broken:

--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
flock(4, LOCK_EX)                       = ? ERESTARTSYS (To be restarted)

For some reason, the lock works fine when I post a new entry to the blog while it tries to lock the same file...

The code did not change and the server software versions did not change much so I really don't have any clue :(


2004|06|07|08|09|11|
2005|01|02|05|06|07|08|09|10|11|12|
2006|01|02|03|06|08|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|12|
2011|02|04|06|
2012|01|05|11|
2013|01|02|04|06|
2014|02|
2015|06|
2017|05|07|12|