EFTEC / Cyberarms

It is a library
https://www.eftec.cl
MIT License
55 stars 44 forks source link

Constant CPU usage from service #9

Closed kuklei closed 6 months ago

kuklei commented 5 years ago

I see a constant 25% CPU usage on the service. Once I stop it, then it of course drop. Is this normal?

Also I noticed that even the configuration window of the application (the main application) when opened keeps my CPU >40%. high CPU IDSS service high CPU IDSS Application

Anything I need to do?

Attached also my system config. IDDS is 2.2.0 DxDiag.txt

maxemilian commented 5 years ago

Hi Kleidi

Please check you database size (cyberarms.idds.dbf) and the agents running. Disable network agents which are not needed because no ports are open (check for TLS/SSL, FTP, SMTP).

As network traffic is monitored, our product is likely to produce high CPU on systems with high network I/O

Max

Maxemilian Hilbrand (Software & Systeme)

CH: +41 71 511 722 0 AT (mobile): +43 660 703 92 54 mailto:maxemilian.hilbrand@isicore.com maxemilian.hilbrand@isicore.com

isicore AG • Unterlettenstrasse 14 • CH-9443 Widnau Gerichtsstandort CH-9450 Altstätten, UID CHE-110.354.078 Verwaltungsratspräsident: Maxemilian Hilbrand

http://www.isicore.com/ www.isicore.com I mailto:info@isicore.com info@isicore.com

Von: Kleidi Kumbaro notifications@github.com Gesendet: Freitag, 20. September 2019 13:07 An: EFTEC/Cyberarms Cyberarms@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Betreff: [EFTEC/Cyberarms] Constant CPU usage from service (#9)

I see a constant 25% CPU usage on the service. Once I stop it, then it of course drop. Is this normal?

Also I noticed that even the configuration window of the application (the main application) when opened keeps my CPU >40%. https://user-images.githubusercontent.com/48261728/65322547-73c7b500-dba7-11e9-881f-a75a78b1deff.png https://user-images.githubusercontent.com/48261728/65322548-73c7b500-dba7-11e9-8886-6ce13ec55a51.png

Anything I need to do?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/EFTEC/Cyberarms/issues/9?email_source=notifications&email_token=ABEA5QGFWOHYRK4QVITTLPDQKSVEDA5CNFSM4IYVY5GKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HMUZM7A , or mute the thread https://github.com/notifications/unsubscribe-auth/ABEA5QH2YRBR4PGWI7RBEKLQKSVEDANCNFSM4IYVY5GA . https://github.com/notifications/beacon/ABEA5QFFUWTZHHGK6KR3HBLQKSVEDA5CNFSM4IYVY5GKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HMUZM7A.gif

kuklei commented 4 years ago

Thanks Max for the reply. Agents activated were SQL, TLS, Windows base (not sure what this does), RRAS and Kerberos. After deleteting the DBF service with all the agents activated as before I see no CPU usage. Looks like indeed the DB size is the culprit. Any remedy to this?

Anyway, I was only seeing logs from TLS so I will keep only TLS and SQL as both RDP and SQL ports are open and I need to monitor those.

Thanks

dyakhnov commented 3 years ago

Same issue here ;-(

I have also noticed that CPU is high (>50%) if Admin panel is open on Start tab.

maxemilian commented 3 years ago

Hi Dmitry

Can you please check the database size in your Cyberarms directory?

Max

Maxemilian Hilbrand (Software & Systeme)

CH: +41 71 511 722 0 AT (mobile): +43 660 703 92 54 mailto:maxemilian.hilbrand@isicore.com maxemilian.hilbrand@isicore.com

isicore AG • Unterlettenstrasse 14 • CH-9443 Widnau Gerichtsstandort CH-9450 Altstätten, UID CHE-110.354.078 Verwaltungsratspräsident: Maxemilian Hilbrand

isicore GmbH • AT-6820 Frastanz

Gerichtsstandort AT-6800 Feldkirch, UID ATU74847339

Geschäftsführung: Nora Kuhn

http://www.isicore.com/ www.isicore.com I mailto:info@isicore.com info@isicore.com

Von: Dmitry Yakhnov notifications@github.com Gesendet: Donnerstag, 11. März 2021 05:14 An: EFTEC/Cyberarms Cyberarms@noreply.github.com Cc: Maxemilian Hilbrand maxemilian.hilbrand@isicore.de; Comment comment@noreply.github.com Betreff: Re: [EFTEC/Cyberarms] Constant CPU usage from service (#9)

Same issue here ;-(

I have also noticed that CPU is high (>50%) if Admin panel is open on Start tab.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/EFTEC/Cyberarms/issues/9#issuecomment-796433841 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEA5QEBWNKD5M3EEXQLFXDTDA7PRANCNFSM4IYVY5GA . https://github.com/notifications/beacon/ABEA5QAIDCMEH6HF4JZLHR3TDA7PRA5CNFSM4IYVY5GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF54J3MI.gif

dyakhnov commented 3 years ago

cyberarms.idds.dbf is 49MB with ~680K unsuccessful login attempts (most coming from Windows Base Security Agent and TLS/SSL Security Agent)

kuklei commented 3 years ago

@dyakhnov Delete the DBF file and reset the agents and you should be good to go