Hi there,
We’re running a python worker inside k8s, and during our load test we found that our machine would spin up to 100%CPU and remain there unresponsive until we killed it. On further inspection, we noticed that the issue was always being caused by a get_multi() call. We isolated that call as follows and it will always crash after a couple minutes (sometimes a few seconds) of repeat calls:
collection_connection.get_multi(
keys=['doc001', 'doc002', ..... , 'doc079', 'doc080'],
GetMultiOptions(
timeout=timedelta(seconds=15)
)
)
We are using the python library version 4.0.3 (we needed v4+ for collection name length > 30 characters) and Couchbase Community version 7.0.2
We are confronted with C-level errors like “malloc” so I assume the CPU spike is due to corrupted memory, however we are running just a python process in AWS on a t3.small instance with no memory limits (should be up to 2GB of memory to use up which it doesn’t even come close to). I appreciate this may be a vague question considering you don’t know my exact setup, but does anyone have any idea if this is a known issue?
Thanks,
Michael