Skip to main content
Version: Organisations 1.2.8

Runtime limits and service sizing

For administrators who need a Studio deployment to allow longer steps, more connector calls or more memory than the Studio defaults, and who want the change to survive every update. Runtime limits and service sizes are set in Organisations, per deployment or in a configuration template, and Studio reads them from there.

Before you start: the change needs the Owner or Operator tier or the DeploymentOperator Role. Open Fleet, click a deployment and choose its Runtime limits tab; sizes are on its Configuration tab (Deployment detail). Studio 2.2.12 and later apply both. A deployment on Studio 2.2.7 can save values now and has them written by the update to 2.2.12 (Studio 2.2.7 deployments).

Where the values come from​

Organisations is the one place these values are kept. For each parameter a deployment runs one of these, in this order:

  1. The value set on the deployment, on the Runtime limits tab or in Edit service sizing.
  2. The value a configuration template sets, where an Update schedule applies that template to the deployment. That value holds, and replaces a different value set on the deployment at the schedule's next run.
  3. The Studio default of the release the deployment runs.

A value you set in Organisations is kept by every Studio update. A value changed by hand in AWS (in a configuration secret, a task definition or a stack parameter) is replaced by the next Organisations job that writes it. The job's check lists each value it replaces before it writes, and the job and Audit record them ("Value set outside Organisations replaced"). Between jobs, Organisations reads the deployment about once an hour and the Runtime limits tab shows a value found in AWS as "Found in AWS on <date>: <value>. The next Organisations job that writes it puts <value> back." To keep a value, set it in Organisations. The full rules, including what a template does, are in Where values come from.

Read the Runtime limits tab​

The tab ("Limits Studio applies to every chat and Flow run on this deployment.") counts the parameters you can set for the deployment and how many are set here, come from a template or were recorded when Organisations was updated. Each row shows Parameter, Studio default, This deployment, Allowed, Source and, where the readers differ, Restarts. Restarts lists the services that restart when the value changes. It reads Applies live when no service has to restart, which is how the workspace settings below behave from Studio 2.2.28.

  • Common holds the parameters teams change most often, such as Step time limit, Chat turn limit, Connector tool calls per run, Coder working time and Graph builds at once.
  • Advanced holds the rest, grouped by Studio service: "Parameters most deployments never change. Each one keeps to its tested range." Each group's heading shows how many of its parameters are set here.
  • Search all parameters matches name or key across both. Show only values set on this deployment hides the rest.
  • Source reads Studio default, "Set on this deployment · <name>, <date>", "From template <template>, version <n>", "Copied from <template>, version <n>, at launch" or "Saved, written by the next Studio update".

The tab shows the ranges and defaults of the release the deployment runs: "Ranges and defaults from Studio <version>, the release this deployment runs." Every value stays inside its tested range; the dialog refuses one outside it with "Use a value from <min> to <max> <unit>."

Change runtime limits​

  1. Click Change runtime limits. Add a parameter by searching its name or key, then enter a New value for each. A row's Now column shows the value in force. Each row offers "Use the Studio default (<value>)", or, where a template provides one, "Use the template value (<value>)".
  2. Read the impact. Under Applying restarts <services>, which services restart, whether runs, coder analyses, kernel commands, connector calls or graph builds in progress stop and can be started again, "Studio stays open, with no update screen.", what is running now and the next scheduled Flow run. When only settings that apply live change (see Coder workspaces), the note reads "Applies within a minute, with no restart": "The new values apply within a minute. Nothing restarts, so coder analyses, chats and Flow runs in progress carry on."
  3. Under When to apply, choose Apply now ("Starts a Runtime limits job. It takes about N minutes and opens in Jobs.") or Save for the next update ("Saves the values now. The next Studio update on this deployment writes them, with no extra restart.").
  • Apply now needs the deployment running. On a paused deployment it reads "Apply now needs the deployment running, because applying restarts services. Resume it first, or choose Save for the next update." While another job holds the deployment it reads "Apply now waits until the <job> finishes."
  • The job is a Runtime limits job. It checks the values, writes them, restarts the services and verifies that each service reports the value (Jobs, progress and failures). It rolls back if a service does not start.
  • If a change was saved since you opened the dialog, it reads "Runtime limits changed since you opened this. Review and apply again."
  • Your edits survive a session that expires: "Your changes from before you signed in again are back. Review them against the current values, then apply."

Where a template sets the value​

On a deployment where an Update schedule applies a configuration template that sets a parameter, a change here that differs from the template is flagged before it applies. The flag names the template, its version and its value, says when its schedule next runs and that the template's value then replaces yours, and advises changing the template instead, so its value holds on every deployment the template covers. The flag warns and does not block. On a deployment launched from a template with no Update schedule applying it, the dialog shows a note instead, because nothing will put the template's value back. See Where values come from.

When a release narrows a range​

When a Studio update would narrow a range a value you set no longer fits, the update waits for you and asks what to do, in Jobs. No value is ever lowered for you.

Effort​

Effort settings decide how hard each model thinks on a call. They are runtime limits, found on the Runtime limits tab under Advanced by searching "effort", and in configuration templates.

SettingAllowedDefault
Coordinator model effort (COORDINATOR_EFFORT)Low to MaxExtra high
Worker model effort (WORKER_EFFORT)Low to MaxExtra high
Governor effort (the Governor and Flow conditions) (GOVERNOR_EFFORT)Low to MaxHigh
Chat title effort (CHAT_TITLE_EFFORT)Low to HighLow

The levels are Low, Medium, High, Extra high and Max. Titles run with thinking off, so Chat title effort accepts up to High. Under a row set to Max or Extra high, the dialog says "If the model does not accept <level> for a call, Studio runs that call once at the next level down." Changing an effort setting restarts the services that read it. What each setting covers, and which models accept which levels, is on Supported models.

Streaming speed​

Streaming-speed settings decide when Studio shows the "Amazon Bedrock is rate-limiting requests" banner. Find them by searching "streaming".

SettingAllowedDefault
Rate-limiting banner threshold (BEDROCK_THROTTLE_TPS_THRESHOLD)1 to 500 tokens per second30
Rate-limiting banner duration (BEDROCK_THROTTLE_BANNER_TTL_SECONDS)5 to 3,600 seconds60
Streaming speed window (BEDROCK_THROTTLE_WINDOW_SECONDS)5 to 300 seconds15
Minimum streaming time before speed is measured (BEDROCK_THROTTLE_MIN_ACTIVE_SECONDS)1 to 60 seconds2

The minimum streaming time cannot be longer than the window. Each setting restarts the agent runtime. What the banner means is on Banners you may see and Supported models.

Graph builds at once​

Graph builds at once is how many Intelligence Graph builds may run at the same time on the deployment. The default is 5 and the range is 1 to 20. Each running build uses knowledge base memory, so when builds run out of memory, lower this value or give the knowledge base service more memory in Edit service sizing. When the memory looks small for the value, the dialogs show an advisory; they never block or change the value.

  • A deployment with no value set follows the release default. When it moves to a Studio release with multi-slot graph builds, a deployment that had no value set moves from 1 to 5 builds at once.
  • On a release without multi-slot graph builds the value is fixed: "Fixed at 1 in Studio <version>: knowledge-base builds one graph at a time."

Approval modes allowed​

Approval modes allowed sets how far chats and Flows on the deployment can go in not asking: "How far chats and Flows on this deployment may go with approvals: ask only, also keep Flow approval rules, or also use Don't ask. If you lower it, saved settings above it are kept but not applied." It is a runtime limit, found on the Runtime limits tab and in configuration templates, and it applies from Studio 2.2.16. Changing it restarts the services that read it. In the Allowed column it reads "Ask only, Flow rules or Don't ask", and its value reads as one of the choices below.

ChoiceWhat it allows
Ask; no Flow rulesChats and Flows ask, and a person can choose Allow similar in this run. No Flow approval rules, no Don't ask, and no Allow it when nobody answers. In Studio, Don't ask and Allow it are off, and a Flow's Approval rules read "Your administrator does not allow approval rules on this deployment."
Ask; Flows may keep approval rulesAdds Always allow in this Flow and Flow approval rules. Don't ask and Allow it stay off.
Don't ask allowedAdds Don't ask on chats and Flows, and Allow it when nobody answers. This is the Studio default.

Where a choice is off, Studio shows the reason beside it: "Your administrator does not allow Don’t ask on this deployment." for Don't ask, and "Your administrator does not allow runs to go ahead when nobody answers on this deployment." for Allow it. A value Studio does not recognise is read as Ask; no Flow rules.

When you lower it, settings that people saved above the new level are kept but not applied, and Studio tells them "Your administrator has limited approvals on this deployment, so runs ask as usual." The actions your organisation always asks about or never allows hold at every level (Approval policy).

Coder workspaces​

Studio runs each analysis in its own coder workspace when Coder in its own workspace is on, which it is by default from Studio 2.2.27. The workspace settings are runtime limits: Coder in its own workspace, Workspaces kept ready, Coder workspaces at once, Idle time before a workspace closes, Early workspace hold, Ready workspaces started together, Addresses kept free for updates, Processors kept free for updates, Coder workspace wait, Wait before ready workspaces start, Workspace failures before a pause and Workspace pause after failures. Each is on the Runtime limits tab under the code interpreter's group in Advanced.

  • Workspaces kept ready takes a number or auto. Auto keeps one ready for each person who can sign in, so a deployment follows its people. With auto set, at most Coder workspaces at once less 15 are kept ready, so people's own analyses always have room.
  • Early workspace hold (10 minutes by default, 1 to 60): when a chat or Flow run that can use the coder starts, a workspace starts for it at once. If no analysis uses it within this time, it joins the workspaces kept ready or closes.
  • Settings that apply live. From Studio 2.2.28 these settings take effect without a restart. Changing them no longer ends the coder analyses in progress. The dialog says so, the Restarts column reads Applies live, and the job verifies the new value from the code interpreter's next report, usually within a minute. A change that also touches a limit that needs a restart restarts only the services that need it. An update still restarts every service. On Studio 2.2.27 and earlier, a change restarts the code interpreter as before.
  • Room for the workspaces. Every workspace is a Fargate task in the deployment's account. Organisations compares Coder workspaces at once with the account's Fargate quota and with the free addresses in the subnets the workspaces run in, counted per subnet. A change that turns the workspace on, or raises what the quota or the addresses must hold, shows Not enough room for every coder workspace in the dialog before you apply: the numbers, what Studio does meanwhile, what to do, and a link, Open the Fargate quota in Service Quotas. "This does not stop the change. It goes ahead, and its job records this warning." If the room could not be read, the dialog says "Room for coder workspaces could not be checked. This does not stop the change."
  • Never a block. No job is refused for coder workspace capacity: not an install, an update or a change. A job that finds the room short completes with a warning on its check step, "Completed with a warning: not enough room for every coder workspace". Until there is room, Studio keeps fewer workspaces ready, and an analysis runs in the standard workspace when none can start. Raise the account's Fargate quota or lower Coder workspaces at once. The deployment's Analytics tab shows what is held back (Deployment detail).
  • The running workspaces count as the deployment's own Fargate use, not other use, in the service sizing quota check. When the services fit the quota only once the workspaces are left out, the job goes ahead and says: "Coder workspaces running now use N vCPU. During the update Studio keeps fewer ready, and workspaces in use free their room when their analyses end."

Limits added by Studio release​

The tab always shows the limits of the release a deployment runs. These are the ones added in Studio 2.2.28 to 2.2.32, by the label the tab shows, with default and range. A limit the release does not know does not appear.

GroupLimit (default; range)
Kernel runs with large inputs (2.2.28)Files copied at once (16; 1 to 64). Kernel keep-warm interval (240 seconds; 0 turns it off, up to 840). Coder history parts before a snapshot (200; 20 to 5,000). Kernel tool check reuse (3,600 seconds; 0 checks at the start of every chat, up to 86,400). Coder wrap-up point (80 per cent; 50 to 95). Program run progress interval (30 seconds; 10 to 300). PDF pages per read (20; 1 to 100). PDF size per read (8 MiB; 1 to 18 MiB). Image size per read (3.75 MB; 256 KiB to 3.75 MB).
Workspaces (2.2.28)Early workspace hold (10 minutes; 1 to 60).
Reading (2.2.28, 2.2.32)Longest document one step reads (300,000 characters; 100,000 to 1,500,000). Files in an analysis's reading record (500; 50 to 5,000).
Graphs (2.2.30)Graph publish request limit (120 seconds; 30 to 1,200): how long the request that starts a new Intelligence Graph version may take. The version itself builds in the background.
Messages and progress (2.2.32)Message reading limit (3 seconds; 1 to 30): how long the agent may take to read a message sent while work runs, such as a stop. Progress line kept in memory (1,500 characters; 300 to 20,000). Coordinator heartbeat ceiling (30 minutes; 1 to 120): when a long run has nothing new to report, progress check-ins space out, doubling each time, up to this gap.
Short chat requests (2.2.32)Web searches for a short request (6; 1 to 50). Pages opened for a short request (8; 1 to 100). Time target for a short request (5 minutes; 1 to 60). Chat document length (4 pages; 1 to 50). Output builds for a short request (2; 1 to 10). Step time limit for a short request (30 minutes; 10 to 120). Coder runs for a short request (4; 1 to 20). Coder runs for a deep analysis (12; 1 to 50). Wrap-up share of a chat step (17 per cent; 5 to 50): the most of a chat step's time limit kept at the end for handing over.
Folio (2.2.32)Folio index reads at once (16; 1 to 32): how many index reads each part of a Folio listing sends at once. A listing can send up to twice this number.
Uploads (2.2.32)Largest file per upload (100 MiB; 10 MiB to 5 GiB). Largest upload in total (4 GiB; 100 MiB to 20 GiB). Files in an uploaded zip (2,000; 100 to 50,000). Unpacked size of an uploaded zip (500 MiB; 50 MiB to 10 GiB). Free disk space an upload must leave (2 GiB; 512 MiB to 16 GiB). Data protection memory for files (2 GiB; 512 MiB to 16 GiB).
Usage and schedules (2.2.32)Analysis usage update after tokens (2,000,000; 100,000 to 50,000,000) and Analysis usage update interval (300 seconds; 30 to 3,600): updates are for display only. Scheduled Flows in the same minute (3; 1 to 100): how many may start in the same minute before the pre-run check suggests spreading them out.

Three rules keep related limits consistent, and the dialog refuses a value that breaks one: Largest upload in total cannot be less than Largest file per upload; Step time limit for a short request cannot be longer than Step time limit; and Coder runs for a short request cannot be more than Coder runs for a deep analysis. Nothing is removed and no range narrows when a deployment moves to these releases, so a value you set stays valid.

Service sizing​

Service sizing on the Configuration tab sets CPU and memory for each Studio service: "CPU and memory for each Studio service. A service you do not set uses the deployment size, or the size a configuration template sets where an Update schedule applies one." The table lists each service with Deployment size gives, This deployment, Source and During an update ("Starts new tasks before stopping old ones", "Stops, then starts" or "A one-off task for graph transfers").

  1. Click Edit service sizing. Choose vCPU and memory for a service, from valid combinations only. Choosing a vCPU value shows the memory sizes it allows ("With <cpu> vCPU, memory runs from <min> to <max> GB in <step> GB steps. Choose a memory size."). A service you leave alone follows the deployment size.
  2. Read Peak during the update: "<peak> vCPU of your account's quota of <quota>", read from the account's AWS Fargate vCPU quota, with any other Fargate use in the account and region. Eight services start new tasks before they stop old ones, so the peak during an update is the steady use plus those eight services once: 132 vCPU at the standard size.
  3. Choose Apply now or Save for the next update, as for runtime limits. Applying runs a Service sizing job; "Studio users see the update screen while it runs."
  • A size that does not fit the quota is refused before anything changes: "This will not fit the account's Fargate quota", with the peak needed, the quota and Request a quota increase or Check again. This is about the Studio services themselves. Coder workspace capacity never refuses a change (Coder workspaces).
  • Each service has a floor and a ceiling; the largest task is 16 vCPU, and heavier services (the agent runtime, knowledge base and graph transfer) start from 4 vCPU and 16 GB.
  • The dialog's Monthly cost change line reads "Estimate unavailable: AWS prices could not be read." Work the cost out from AWS list prices for your region; the peak and quota check is unaffected.
  • A service size a template sets is flagged before you apply a different one, as for runtime limits, and the choice Use the template size removes your own size.
  • Neo4j shows its memory settings with its size ("JVM heap <heap>, page cache <pagecache>"), and has no size here when it runs outside the deployment.

Studio 2.2.7 deployments​

Studio 2.2.7 does not read runtime limits or service sizes, apart from the effort and streaming-speed settings, which it reads. With Organisations 1.2.2 installed, a deployment on 2.2.7 still lets you save values:

  • The tab reads "Studio <version> does not read runtime limits yet" and shows the ranges of the next release: "Ranges and defaults from Studio <version>, the next Studio release."
  • Save for the next update is the only option. The update to Studio 2.2.12 writes the values and checks each against its range.
  • That update replaces a value set by hand in AWS. Save every value and size you rely on first, or set it in the configuration template the deployment's Update schedule applies. See Before you update to Studio 2.2.12.

What you should see​

  • A Runtime limits job or Service sizing job in Jobs, ending Succeeded, with a row in Audit for each value and its source.
  • The This deployment column and Source showing the new value and "Set on this deployment · <name>, <date>".
  • A value saved for the next update reading "Saved, written by the next Studio update".

Notes​

  • A job that fails before its changes apply leaves the values unchanged and says which step stopped. Redo it, or Abandon it.
  • A change on a deployment with a template that applies is flagged, and the template's value returns at the schedule's next run.
  • Removing a deployment removes its runtime limits and sizes with it (Deleting a deployment).