High CPU usage by AttackMapServer.py #1241
-
Today I recognized a very high CPU usage by the AttackMapServer.py which was not the case a week ago. There was an update of the geoip_attack_map repository a few days ago. Could this update, which changed important code parts, be the reason for the high CPU usage or is it just an issue on my side? Thanks for your feedback! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 15 replies
-
Can you give more info on your setup, hardware, average events per day, connected clients, etc.? It should be noted however that the AttackMapServer works differently now. Except for MapBox all code is served locally, with aiohttp, aioredis and asyncio to ensure better performance. Also I activated gzip and brotli support in NGINX and deferred the loading of JS code which will result in lots of parallel connections on page load. Should you spot errors in the code, the setup or while debugging please share. |
Beta Was this translation helpful? Give feedback.
-
Can you tell me what the fix was for this? I've got the same issue, had to disable AttackMapServer in the tpot config due to sustained 90%+ CPU. I installed T-Pot 2.3 two weeks ago, and it was working great for the first few days. Thanks |
Beta Was this translation helpful? Give feedback.
-
Gotcha! Thanks, I will try that
…On Sun, Jan 15, 2023 at 1:17 PM Marco Ochse ***@***.***> wrote:
The new image should have downloaded already, if not just follow the steps
outlined above. The new image solves the issue.
—
Reply to this email directly, view it on GitHub
<#1241 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFPYFARME42ZLAVV2HENCDTWSRSP3ANCNFSM6AAAAAATVR2ASM>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
--
Bob Wachunas
Breakaway Funk <http://breakawayfunk.com/>
707-536-1182
|
Beta Was this translation helpful? Give feedback.
-
Looks good now!
Thanks
…On Sun, Jan 15, 2023 at 1:17 PM Marco Ochse ***@***.***> wrote:
The new image should have downloaded already, if not just follow the steps
outlined above. The new image solves the issue.
—
Reply to this email directly, view it on GitHub
<#1241 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFPYFARME42ZLAVV2HENCDTWSRSP3ANCNFSM6AAAAAATVR2ASM>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
--
Bob Wachunas
Breakaway Funk <http://breakawayfunk.com/>
707-536-1182
|
Beta Was this translation helpful? Give feedback.
-
Deployed 1.1.0 yesterday. Let me know what you think. |
Beta Was this translation helpful? Give feedback.
Can you give more info on your setup, hardware, average events per day, connected clients, etc.?
It should be noted however that the AttackMapServer works differently now. Except for MapBox all code is served locally, with aiohttp, aioredis and asyncio to ensure better performance. Also I activated gzip and brotli support in NGINX and deferred the loading of JS code which will result in lots of parallel connections on page load.
Should you spot errors in the code, the setup or while debugging please share.