Here's another possible bug in PPSS.
Create a new directory ~/jobs/ and put a file 'test' there with the following
content:
touch ~/a
sleep 2
echo 'touch ~/b' > ~/jobs/test2
sleep 10
touch ~/c
Then start PPSS with the command:
rm -rf ppss_dir/ && ppss --daemon -c 'sh ' -d ~/jobs/ --disable-inotify
What happens? Files ~/a, ~/jobs/test2 and ~/c get created but file ~/b does
not. Apparently it doesn't help if I touch or rename test2 - it won't get
executed. However, if I copy its contents to another file at ~/jobs/ , the new
file does get executed. In other words, PPSS seems to ignore a job submitted
while another job is running, but it will run a new job if it is submitted
after the previous one has finished.
Curiously, ~/jobs/INPUT_FILE-4534 reads "jobs//test2" after ~/jobs/test has
finished. It seems as if PPSS saw the new file but just didn't do anything
about it. This time I don't know what is causing this.
Original issue reported on code.google.com by Louwrentius on 24 Jul 2010 at 11:59
Original issue reported on code.google.com by
Louwrentius
on 24 Jul 2010 at 11:59