So over the weekend I was knee-deep in C-code and when this thread popped up in my stream again right now I read

"People working in teams that use sprintf's: the point of having sprintf's is ..."

and then it lost coherence and I had to start over. https://twitter.com/xahteiwi/status/1303665730412597249
But since you all are here: What is you opinion on https://github.com/brendangregg/wss

I have integrated the fixes and Pull Requests, and they work, but I am still getting

MAP 7ffd90d00000-7ffd90d21000
ERROR: bad PFN read from page map.
Error setting map 7ffd90d00000-7ffd90d21000. Exiting.
This is the last eror in multiple occurences of that message and this one is for

kris@server:~/Source/wss$ sudo grep 7ffd90d00000 /proc/50418/maps
7ffd90d00000-7ffd90d21000 rw-p 00000000 00:00 0 [stack]
But I get many of them, also
MAP 7f59db5e8000-7f59db5f1000
ERROR: bad PFN read from page map
Error setting map 7f59db5e8000-7f59db5f1000. Exiting
$ sudo grep 7f59db5e8000- /proc/50418/maps
7f59db5e8000-7f59db5f1000 /usr/lib/x86_64-linux-gnu/libssl.so.1.1
So what goes on and why?
What I am actually trying to do is to determine the long term working set size of a running very large MySQL instance to be able to size VMs better.

Like 100GB MySQL for 60s -> get an idea for a VM size to choose.
You can follow @isotopp.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled: