Skip to content

How to increase Aeron timeouts for debugging

Problem

You want to debug your Aeron application, and find that the process is hitting Aeron timeout errors.

Solution

Set the system property aeron.debug.timeout to a large value (for example 3600s, for 60 minutes), and Aeron will adjust internal timeouts as needed. Valid units are s, ms, us, or ns.

Discussion

There are many timeouts in Aeron that need to be reconfigured to allow extended pauses found during debugging sessions. This setting simplifies updating all the timeouts with a single value.

It's strongly suggested that your business logic be testable and debuggable outside of directly wired-to-Aeron environments. Debugging with Aeron should be required seldomly.

This setting should never be set in a production environment.

See Also