You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@taverna.apache.org by Simone Bnà <s....@cineca.it> on 2016/08/25 19:48:05 UTC
OperatingLimit and MaxRuns in Taverna
Dear Taverna team, users,
I am wondering how to change the "OperatingLimit" and "MaxRuns" in Taverna as written here:
http://dev.mygrid.org.uk/wiki/display/tav250/Taverna+Server+FAQ
Is there an API or a config file to be modified?
What happens if I try to run a new workflow when the number of "operating" workflows reached the maximum allowed value?
Is the workflow added in a queue and when some "operating" workflows finish, it is triggered or Taverna returns an Error?
Thanks.
Best regads,
Simone.
--
Simone Bnà, PhD
C++ Software Developer, CINECA
Via Magnanelli 6/3, 40033 Casalecchio di Reno, Italy
office: +39-0516171938
email: s.bna@scsitaly.com/s.bn@cineca.it
Re: OperatingLimit and MaxRuns in Taverna
Posted by Simone Bnà <s....@cineca.it>.
Dear Alan,
thanks for your reply.
I found two configuration files in the following places:
/var/lib/tomcat7/webapps/taverna-server/WEB-INF/classes/WEB-INF
/var/lib/tomcat7/webapps/taverna-server/WEB-INF
The file is named tavernaserver.properties.
I modified in both files the "default.runlimit" and "default.operatinglimit" values as below:
# Override the hostname, port and webapp; leave at 'NONE' if no override
# desired. If set, set it to something like:
# foo.example.com:8000/tav-serv
default.webapp: NONE
# User name to use if nothing else specified
default.localusername: taverna
# How to pick a user name out of a global identity
localusernameregexp: ^TAVERNAUSER=(.*)$
# General defaults
default.logworkflows: false
default.logexceptions: false
default.permitsubmit: true
default.lifetime: 2880
default.runlimit: 50
default.operatinglimit: 1
default.messageSize: 65536
#taverna.preferredUserUri: https://some.host:8443/tavernaserver/rest/
http.realmName: tavernaserver
After the changes I restart the server but if I am doing the following requests
<host>/taverna-server/rest/policy/operatingLimit
<host>/taverna-server/rest/policy/runLimit
I get the default taverna values, 10 and 100, respectively.
What am I doing wrong?
Best regards,
Simone.
----- Original Message -----
From: "alaninmcr" <al...@googlemail.com>
To: users@taverna.incubator.apache.org
Sent: Friday, August 26, 2016 11:29:41 AM
Subject: Re: OperatingLimit and MaxRuns in Taverna
On 25/08/2016 20:48, Simone Bnà wrote:
> Dear Taverna team, users,
Hello
> I am wondering how to change the "OperatingLimit" and "MaxRuns" in Taverna as written here:
>
> http://dev.mygrid.org.uk/wiki/display/tav250/Taverna+Server+FAQ
>
> Is there an API or a config file to be modified?
There is a configuration file - see
http://dev.mygrid.org.uk/wiki/display/tav250/Administration+Guide
> What happens if I try to run a new workflow when the number of "operating" workflows reached the maximum allowed value?
Then it is queued.
> Is the workflow added in a queue and when some "operating" workflows finish, it is triggered or Taverna returns an Error?
It will run.
> Thanks.
>
> Best regads,
>
> Simone.
Alan
--
Simone Bnà, PhD
C++ Software Developer, CINECA
Via Magnanelli 6/3, 40033 Casalecchio di Reno, Italy
office: +39-0516171938
email: s.bna@scsitaly.com/s.bn@cineca.it
Re: OperatingLimit and MaxRuns in Taverna
Posted by Simone Bnà <s....@cineca.it>.
Dear Taverna staff,
I've been told that Taverna queues the workflows that are triggered after reaching the maximum number of "operating" workflows (aka OperatingLimit) but not the runLimit.
What I noticed is instead that Taverna complains and return the following error:
http error status code 503; server too busy; try later please
Are there some configuration parameters that need to be changed in order to activate the workflow queue?
Best regards,
Simone.
----- Original Message -----
From: "alaninmcr" <al...@googlemail.com>
To: users@taverna.incubator.apache.org
Sent: Friday, August 26, 2016 11:29:41 AM
Subject: Re: OperatingLimit and MaxRuns in Taverna
On 25/08/2016 20:48, Simone Bnà wrote:
> Dear Taverna team, users,
Hello
> I am wondering how to change the "OperatingLimit" and "MaxRuns" in Taverna as written here:
>
> http://dev.mygrid.org.uk/wiki/display/tav250/Taverna+Server+FAQ
>
> Is there an API or a config file to be modified?
There is a configuration file - see
http://dev.mygrid.org.uk/wiki/display/tav250/Administration+Guide
> What happens if I try to run a new workflow when the number of "operating" workflows reached the maximum allowed value?
Then it is queued.
> Is the workflow added in a queue and when some "operating" workflows finish, it is triggered or Taverna returns an Error?
It will run.
> Thanks.
>
> Best regads,
>
> Simone.
Alan
--
Simone Bnà, PhD
C++ Software Developer, CINECA
Via Magnanelli 6/3, 40033 Casalecchio di Reno, Italy
office: +39-0516171938
email: s.bna@scsitaly.com/s.bn@cineca.it
Re: OperatingLimit and MaxRuns in Taverna
Posted by alaninmcr <al...@googlemail.com>.
On 25/08/2016 20:48, Simone Bn� wrote:
> Dear Taverna team, users,
Hello
> I am wondering how to change the "OperatingLimit" and "MaxRuns" in Taverna as written here:
>
> http://dev.mygrid.org.uk/wiki/display/tav250/Taverna+Server+FAQ
>
> Is there an API or a config file to be modified?
There is a configuration file - see
http://dev.mygrid.org.uk/wiki/display/tav250/Administration+Guide
> What happens if I try to run a new workflow when the number of "operating" workflows reached the maximum allowed value?
Then it is queued.
> Is the workflow added in a queue and when some "operating" workflows finish, it is triggered or Taverna returns an Error?
It will run.
> Thanks.
>
> Best regads,
>
> Simone.
Alan