Skip to content

Commit

Permalink
Reduce task.info.max-age to 5m
Browse files Browse the repository at this point in the history
Default 15m sometiems causes some significant OOM issues on workers.
  • Loading branch information
sopel39 committed Jan 17, 2025
1 parent b012f75 commit b531bd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public class TaskManagerConfig
private int pagePartitioningBufferPoolSize = 8;

private Duration clientTimeout = new Duration(2, TimeUnit.MINUTES);
private Duration infoMaxAge = new Duration(15, TimeUnit.MINUTES);
private Duration infoMaxAge = new Duration(5, TimeUnit.MINUTES);

private Duration statusRefreshMaxWait = new Duration(1, TimeUnit.SECONDS);
private Duration infoUpdateInterval = new Duration(3, TimeUnit.SECONDS);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void testDefaults()
.setMinDrivers(Runtime.getRuntime().availableProcessors() * 2 * 2)
.setMinDriversPerTask(3)
.setMaxDriversPerTask(Integer.MAX_VALUE)
.setInfoMaxAge(new Duration(15, TimeUnit.MINUTES))
.setInfoMaxAge(new Duration(5, TimeUnit.MINUTES))
.setClientTimeout(new Duration(2, TimeUnit.MINUTES))
.setMaxIndexMemoryUsage(DataSize.of(64, Unit.MEGABYTE))
.setShareIndexLoading(false)
Expand Down

0 comments on commit b531bd0

Please sign in to comment.