Skip to content

Restrict CPU/Memory limits in docker deployment #943

@yuanzhou

Description

@yuanzhou

Previously, creating or updating entities would trigger lots of reindex calls back to entity-api (also depending on the provenance graph). And several times such operations caused the entire VM to hang or become extremely unresponsive. Neither SSH access nor serial console worked. A forceful VM restart became the only solution.

To ensure no single container can monopolize the VM and cause hangs, we should set the CPU and memory limits.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Keep

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions