Forum: Building VoltDB Applications

Post: Couldn't get connection maximum connection count (5/5)

Couldn't get connection maximum connection count (5/5)
dl_zhenglp
May 14, 2012
when i use VoltDB V2.6,I found this issue:
Couldn't get connection because we are at maximum connection count (5/5) and there are none available.

Can you help me?
zheng
Hi, The maximum connection
aweisberg
May 14, 2012
Hi,

The maximum connection count is set based on the max number of file descriptors allowed per process. We use JNA to retrieve it. If you run `ulimit -a` what do you get? If that is set to something reasonable then there be a bug using JNA to fetch that value. What is the output of `uname -a`?

-Ariel
Feed back
dl_zhenglp
May 21, 2012
I'm sorry delay feedback:

voltdb@voltdbserver2:~$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 25938
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 25938
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited