nuvo / kube-tasks

A tool to perform simple Kubernetes related actions
Apache License 2.0
23 stars 30 forks source link

OMMkiller terminated backup process #5

Open emelianrus opened 4 years ago

emelianrus commented 4 years ago

I'm trying use cron job to copy files from kubernetes to S3 and in kubernetes and got pod error OMMKilled Looks like it slowly increase virtual memory and reaching pod limits.

Container limits set to: cpu 3. Memory: 5Gb amount of copy files: 3401311 changing buffer memory didn't help Am i doing something wrong? or its memory leak issue?

pkaramol commented 4 years ago

I am having the same issue. I increased the pod limits and requests and the problem was addressed. The issue is that the memory consumption by the backup pod keeps rising during the copy process. For a vanilla jenkins installation it reached ~2G. I think this is unusable for large jenkins installations (or large backups in general) cc @nuvo