sqltracefile = ${logdir}/sqltrace.sql
# number of sql connections to make to server
- num_sql_socks = 5
+ #
+ # Setting this to LESS than the number of threads means
+ # that some threads may starve, and you will see errors
+ # like "No connections available and at max connection limit"
+ #
+ # Setting this to MORE than the number of threads means
+ # that there are more connections than necessary.
+ #
+ num_sql_socks = ${thread[pool].max_servers}
# number of seconds to dely retrying on a failed database
# connection (per_socket)