as_main_single_async_get: …/nptl/pthread_mutex_lock.c:115: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0’ failed.
Thread 13 “as_main_single_” received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0x7fffc9ffe700 (LWP 9890)] 0x0000555555580be3 in as_queue_get (queue=0x555555cdd3b8, queue=0x555555cdd3b8, queue=0x555555cdd3b8, index=) at modules/common/target/Linux-x86_64/include/aerospike/as_queue.h:158 158 modules/common/target/Linux-x86_64/include/aerospike/as_queue.h: No such file or directory. (gdb) bt
#0 0x0000555555580be3 in as_queue_get (queue=0x555555cdd3b8, queue=0x555555cdd3b8, queue=0x555555cdd3b8, index=) at modules/common/target/Linux-x86_64/include/aerospike/as_queue.h:158
#1 as_queue_pop (ptr=0x7fffc9ffcab0, queue=0x555555cdd3b8) at modules/common/target/Linux-x86_64/include/aerospike/as_queue.h:171
#2 as_conn_pool_pop_head (sock=0x7fffc9ffcab0, pool=0x555555cdd390) at src/include/aerospike/as_conn_pool.h:76
#3 as_node_get_connection (err=err@entry=0x7fffc9ffda70, node=node@entry=0x555555ccfbd0, socket_timeout=330, deadline_ms=1713350659, sock=sock@entry=0x7fffc9ffcb80) at src/main/aerospike/as_node.c:519
#4 0x000055555556fffe in as_command_execute (cmd=cmd@entry=0x7fffc9ffcd30, err=err@entry=0x7fffc9ffda70) at src/main/aerospike/as_command.c:527
#5 0x00005555555663d2 in as_batch_execute_keys (btk=btk@entry=0x7fffc9ffd510, err=err@entry=0x7fffc9ffda70, parent=parent@entry=0x0) at src/main/aerospike/aerospike_batch.c:740
#6 0x0000555555569866 in as_batch_keys_execute (as=, err=0x7fffc9ffda70, policy=, batch=, read_attr=read_attr@entry=3, bins=bins@entry=0x0, n_bins=, n_bins@entry=0, callback=, callback_xdr=, callback_xdr@entry=0x0, udata=) at src/main/aerospike/aerospike_batch.c:1004
#7 0x000055555556ac7e in aerospike_batch_get (as=, err=, policy=, batch=, callback=, udata=) at src/main/aerospike/aerospike_batch.c:1940 #8 0x000055555556160a in play_batch_once_sync () at as_main_single_async_get.c:315 #9 0x000055555556299a in run_all_waves (arg=0x5) at as_main_single_async_get.c:579 #10 0x00007ffff7bbd6db in start_thread (arg=0x7fffc9ffe700) at pthread_create.c:463 #11 0x00007ffff6beca3f in clone () at …/sysdeps/unix/sysv/linux/x86_64/clone.S:95 (gdb)
Before I added these lines, the code was good
g_as_config.conn_pools_per_node = 400;
g_as_config.min_conns_per_node = 400;
g_as_config.max_conns_per_node = 400;