axiomhq / cli

The power of Axiom on the command line.
https://axiom.co
MIT License
42 stars 11 forks source link

Axiom CLI never sleeps #90

Closed ted-gould closed 1 month ago

ted-gould commented 3 years ago

Have the axiom tool setup to ingest data and it is constantly using CPU. Even when processing no data.

lukasmalkmus commented 3 years ago

Got an example command you ran?

ted-gould commented 3 years ago

Yup, the script is here: https://github.com/ted-gould/cli/blob/main/snap/local/bin/journald-ingester

You'll have to build it yourself for now, but basic config: https://github.com/ted-gould/cli#install-using-snap

lukasmalkmus commented 3 years ago

Could you share some more of your findings? I ran it and observed no crazy abnormalities.

ted-gould commented 3 years ago

Mostly just pull up top

3674146 root 20 0 2411508 18344 7796 S 1.7 0.0 92:35.13 axiom It used 92 minutes of CPU time this weekend and according to the server sent 688 messages. It never goes over a few percentage points of CPU when sending lots of messages, but never goes to 0 either. On Sep 19 2021, at 3:40 pm, Lukas Malkmus @.***> wrote:

Could you share some more of your findings? I ran it and observed no crazy abnormalities. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub (https://github.com/axiomhq/cli/issues/90#issuecomment-922533969), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AARQUHKVHVJGWZUR7VMZLETUCZDCFANCNFSM5EIEQTEA). Triage notifications on the go with GitHub Mobile for iOS (https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675) or Android (https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub).