Closed (fixed)
Project:
Nutch search engine integration
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Oct 2010 at 15:26 UTC
Updated:
17 Nov 2010 at 05:12 UTC
Jump to comment: Most recent file
Comments
Comment #1
dstuart commentedIn short yes, ill look at adding a lock file into runbot and update nutch to do a check before run
Comment #2
dstuart commentedRight have added basic semaphore functionality into the runbot that will add a lock file when the script it kicked off and rm it at it completion. It will check for said lock file and exit with 0 if it found.
Should be in dev version now
Comment #3
karljohann commented1) When the semaphore is in on mode the debug doesn't run.
2) What process should I look for when Nutch is running? I get the "process is already running" message but I can't find the process.
Comment #4
dstuart commentedRight looks like it needs a little more work. Basically I added a lock from to the script (found under /tmp/nutch.lock) . it should create the lock file at the start of the runbot script then delete it at the end. Ill have a play but you can just delete that file or comment out this bit of code in the runbot script
Comment #5
karljohann commentedOkay thanks, that works fine
Comment #6
robertdouglass commentedHere's the patch. Marking as fixed since it's committed.
Comment #7
dstuart commented