Attempting to upgrade from vector 0.27.0-distroless-libc to new versions #21978
Replies: 3 comments 3 replies
-
I would recommend smaller incremental changes. You can follow the upgrade guides (here). |
Beta Was this translation helpful? Give feedback.
-
A change I've made was killing the processing of _unmatched logs by setting https://vector.dev/docs/reference/configuration/transforms/route/#reroute_unmatched to false. I haven't seen a huge reduction in the average but I do see less variance in the memory use. |
Beta Was this translation helpful? Give feedback.
-
@jszwedko long time Friend 👋🏼 (it was great working with you and spencer years ago) we can try all the versions mentioned, but all versions we try higher than 0.27 have memory increase. Do you have pointers on why at startup it uses so much memory ? We use |
Beta Was this translation helpful? Give feedback.
-
A note for the community
Problem
I am attempting to go from vector 0.27.0-distroless-libc to 0.42.0-distroless-libc. Taking an incremental approach from 0.27.0-distroless-libc to 0.33.0-distroless-libc to 0.38.0-distroless-libc to 0.42.0-distroless-libc we notice memory increases along the way.
On version 0.27.0-distroless-libc we saw an average use of 60-80 MiB On version 0.33.0-distroless-libc we saw an average use of 105 MiB
On both versions 0.38.0-distroless-libc and 0.42.0-distroless-libc we saw an average use of 115-125 MiB. Is it expected for memory usage to increase in this manner? Are there any VRL changes that come to mind between these changes that you think I’d have to make?
Version
0.27.0-distroless-libc, 0.33.0-distroless-libc, 0.38.0-distroless-libc, 0.42.0-distroless-libc
Example Data
On version 0.27.0-distroless-libc we saw an average use of 60-80 MiB On version 0.33.0-distroless-libc we saw an average use of 105 MiB
Additional Context
Vector is running on Kubernetes
Here's what vector top shows on 0.42.0-distroless-libc
Beta Was this translation helpful? Give feedback.
All reactions