Why is XSP/mono giving me file/write errors with lucence?

Posted by acidzombie24 on Server Fault See other posts from Server Fault or by acidzombie24
Published on 2011-01-03T18:42:12Z Indexed on 2011/01/03 19:55 UTC
Read the original article Hit count: 216

Filed under:
|
|
|

I am using mono 2.6.7, xsp 2.8.? and i am not sure what else. I'll try downgrading xsp and whatever else.

Today i notice my server randomly gets Http Error 500, internal server error.

I looked in my log files http://www.pastie.org/1426236

and it appears that the problem is locking lucence which it does by creating a file called write.lock. This use to work with no problem but now it gives me pain. It will fix itself if i refresh the page several times but it will break just as easily. My other site will not work everytime i restart apache and i need to by hand delete the file (at least it doesnt get random 500 errors). However now it just says Lock obtain timed out: NativeFSLock@/var/www/SITE_2/App_Data/LuceneIndex_a/write.lock no matter what. I even chmod -R 777 the directory and still no luck. write.lock doesnt even exist. I have no clue whats going on.

Any ideas?

© Server Fault or respective owner

Related posts about apache

Related posts about debian