Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overseer consume extra memory usage after upgrade #91

Open
buzzlightyear2k opened this issue Jul 17, 2024 · 3 comments
Open

Overseer consume extra memory usage after upgrade #91

buzzlightyear2k opened this issue Jul 17, 2024 · 3 comments

Comments

@buzzlightyear2k
Copy link

buzzlightyear2k commented Jul 17, 2024

Im running the app which use Overseer to perform self-upgrade. My app is running as a systemd service in Ubuntu. After update my app suddenly consume extra memory usage.When i restart the service the memory usage backs to normal. Does anyone encounter the same problem ?

  • Before upgrade:
vcagent.service - Cloud Observability Agent
     Loaded: loaded (/etc/systemd/system/vcagent.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2024-07-17 14:19:57 +07; 17s ago
   Main PID: 23294 (vcagent)
      Tasks: 37 (limit: 18691)
     Memory: 308.7M (max: 800.0M)
     CGroup: /system.slice/vcagent.service
             ├─23294 /usr/local/bin/vcagent
             ├─23340 /usr/local/bin/vcagent
             ├─23348 /proc/23340/fd/3 --web.listen-address 127.0.0.1:9100
             └─23356 /proc/23340/fd/8 --config /etc/vcagent/otelcol-config.yaml
  • After upgrade:
vcagent.service - Cloud Observability Agent
     Loaded: loaded (/etc/systemd/system/vcagent.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2024-07-17 14:19:57 +07; 28min ago
   Main PID: 23294 (vcagent)
      Tasks: 36 (limit: 18691)
     Memory: 588.3M (max: 800.0M)
     CGroup: /system.slice/vcagent.service
             ├─23294 /usr/local/bin/vcagent
             ├─25981 /usr/local/bin/vcagent
             ├─25988 /proc/25981/fd/3 --web.listen-address 127.0.0.1:9100
             └─25997 /proc/25981/fd/8 --config /etc/vcagent/otelcol-config.yaml


Update

I figure out the cache memory is the problem. Does Overseer cache data somewhere while perform upgrade ?

@buzzlightyear2k
Copy link
Author

@jpillora

@jpillora
Copy link
Owner

jpillora commented Jul 17, 2024 via email

@buzzlightyear2k
Copy link
Author

buzzlightyear2k commented Jul 17, 2024

Is the old process exiting?

On Wed, 17 Jul 2024 at 5:27 PM Trong Nguyen @.> wrote: @jpillora https://github.com/jpillora — Reply to this email directly, view it on GitHub <#91 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE2X4ZDZ4DHNQ4TXHE4GI3ZMYMFJAVCNFSM6AAAAABLAAQH22VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZSGYYTMNRYGI . You are receiving this because you were mentioned.Message ID: @.>

I just checking only main process is exist after upgrade, all others process are deleted @jpillora

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants