On 27/10/2011 12:41, Susana Sanchez Exposito wrote: > Hello again, Hello
> I am afraid the problem is not resolved yet. After switching of > in-memory storage, Taverna creates a lot of directories in /tmp. They are created by the tool service whether you run in-memory or in the database. When you invoke the tool it uses a new temporary directory as a "sandbox" for its data. The data is kept there until you delete the run. > After the first 10000 iterations workflow execution, there were 100000 > subdirectories in /tmp: > susana@dae53:/tmp$ ls -l usecase* |wc 100004 380021 3261102 > Before to run the 10000 iterations workflow a second time, I closed > Taverna, because I thought closing taverna the provenance data is > deleted, so this 100000 subdirectories will be removed, but not, this > subdirectories were not removed. Did you delete the run in the results perspective? > Thinking that maybe this 100000 > subdirectories were not a problem, I run a second time my 10000 > iterations workflow, but when it finished I got a lot of error > messages in my output values like that: > java.io.FileNotFoundException: > /tmp/usecase5980252654117511742dir/filetmp.txt (No such file or > directory) That is not what I would expect. I'd expect that to happen if you deleted the directories _while_ the workflow was running, or if you tried to look at results of previous runs and you have deleted the directories. > So I guess the huge amount of subdirectories was a problem, so I > deleted them and I re-run the 10000 iterations workflow ant it worked! > Is there a way to say to Taverna that delete this subdirectories? The directories are deleted when you delete the run. If this continues to be a problem, I can raise an issue to have a flag on the tool service that will "pull" the data from the sub-directory and delete the sub-directory as soon as the call of the tool is finished. That will slow down the tool calling and also reduce the size of data that the tool service can handle. > Susana Alan ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ taverna-users mailing list [email protected] [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/about/contact-us/
