Skip to content
Merged
9 changes: 8 additions & 1 deletion historyserver/config/historyserver-azureblob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ spec:
- --ray-root-dir=log
ports:
- containerPort: 8080
# Cache is soft-bounded at 8 GiB; 12 GiB leaves decode headroom.
# The 2 GiB request keeps examples schedulable; size production requests to residency.
args:
- --session-cache-max-bytes=8589934592

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JiangJiaWei1103 can we consider renaming this flag to --session-cache-max-memory and have it accept a string like 8GiB?

resources:
limits:
requests:
cpu: "500m"
memory: "2Gi"
limits:
memory: "12Gi"
9 changes: 8 additions & 1 deletion historyserver/config/historyserver-gcs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ spec:
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080
# Cache is soft-bounded at 8 GiB; 12 GiB leaves decode headroom.
# The 2 GiB request keeps examples schedulable; size production requests to residency.
args:
- --session-cache-max-bytes=8589934592
resources:
limits:
requests:
cpu: "500m"
memory: "2Gi"
limits:
memory: "12Gi"
9 changes: 8 additions & 1 deletion historyserver/config/historyserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@ spec:
# - --use-auth-token-mode=true
ports:
- containerPort: 8080
# Cache is soft-bounded at 8 GiB; 12 GiB leaves decode headroom.
# The 2 GiB request keeps examples schedulable; size production requests to residency.
args:
- --session-cache-max-bytes=8589934592
resources:
limits:
requests:
Comment thread
Future-Outlier marked this conversation as resolved.
cpu: "500m"
memory: "2Gi"
limits:
memory: "12Gi"
2 changes: 1 addition & 1 deletion historyserver/pkg/eventserver/eventserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func (h *EventHandler) storeEvent(clusterSessionKey string, eventMap map[string]
}
eventType := types.EventType(eventTypeStr)

logrus.Infof("current eventType: %v", eventType)
logrus.Debugf("current eventType: %v", eventType)
switch eventType {
case types.TASK_DEFINITION_EVENT:
return h.handleTaskDefinitionEvent(eventMap, clusterSessionKey, false)
Expand Down
Loading