Skip to content

Timeout when calling FinalizeCacheEntryUpload (OOMKilled) #160

@nponsard

Description

@nponsard

Hello,

After getting the cache server to work correctly with Postgres and Minio, I got into another issue where the cache server pods get OOMKilled, this seems to happen when FinalizeCacheEntryUpload is called.

I get this in the action logs:

Sent 6873822700 of 6940931564 (99.0%), 26.5 MBs/sec
Sent 6940931564 of 6940931564 (100.0%), 26.7 MBs/sec
Attempt 1 of 5 failed with error: Request timeout: /twirp/github.actions.results.api.v1.CacheService/FinalizeCacheEntryUpload. Retrying request in 3000 ms...
Warning: Failed to save: Failed to FinalizeCacheEntryUpload: Unable to make request: ECONNRESET

The current memory limit set in the chart in 3Gi, this seems a bit excessive. I've seen in #135 you commented about using changing the NITRO_CLUSTER_WORKERS env variable, does this apply to a kubernetes environment too ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions