SaaS Workers Limitations

📘

Note

Self-Managed environments, Worker resource limits are configurable. For more information, see Worker YAML Configuration.

Workers in SaaS JFrog environments have the following limitations:

  • Maximum execution time: 20 seconds
  • Maximum CPU time: 1 second
  • Maximum consumed memory: 64 MB
  • Maximum script size: 100,000 characters
  • Maximum execution rate:
  • Up to 1,200 executions per second
  • Up to 120 executions per second sustained for 1 minute

Failure handling

If a Worker execution exceeds any of the resource limits above, the execution fails. Failed executions follow this backoff mechanism:

  • Failed Worker executions trigger an exponential backoff with a maximum delay of 17 minutes
  • A Worker is blocked after 10 failed executions within 10 minutes
  • The backoff exponent and failure counters are reset every 24 hours
  • Failures caused by queue wait time do not trigger backoff
  • Test runs from the Worker edit page do not trigger backoff

When a Worker is in backoff or has another warning, the Workers list shows a warning icon next to the Worker name. Hover over the icon to see the reason. You can dismiss a warning. If a Worker has more than one warning, you can open a dialog to view all of them. Executions that were stopped because of backoff appear in Workers Troubleshooting.



Did this page help you?