https://github.com/osquery/osquery logo
#general
Title
# general
d

Daisukixci

06/24/2020, 3:24 PM
đź‘‹ one of our user have an issue with performance spike and a recurrent log
Copy code
Jun 22 12:35:33 xxxxxxx osqueryd[198]: osqueryd worker (82507) stopping: Memory limits exceeded: 222240768
I may have determined that this is linked to his bash history (
SELECT * from users JOIN shell_history using (uid);
) because when we move it somewhere else and create a new one, the log doesn’t appear again. His history is 4.5MB, I don’t know if it’s too big (guess not but saying it just in case). Any thing we try to do to find the root cause without deleting his all history ?
t

theopolis

07/14/2020, 1:14 AM
Hi @Daisukixci, I looked into this and I think I have a solution for the memory impact of
shell_history
. https://github.com/osquery/osquery/pull/6541
d

Daisukixci

07/15/2020, 8:16 AM
Hi, Thanks, gonna test it and provide feedback.
Hi it improves the situation a lot. No more memory exceed errors
4 Views