When I connect a new client, while attaching an existing connection, I get the following errors along with a long lag, varying from 30s to 3 or 4 minutes depending on the network (probably related to the amount of channels or the size of the logs).
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at runNextTicks (internal/process/task_queues.js:58:5)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(Use node --trace-warnings ... to show where the warning was created)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
(node:3420) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at runNextTicks (internal/process/task_queues.js:58:5)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 6)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 9)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at runNextTicks (internal/process/task_queues.js:58:5)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 12)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at runNextTicks (internal/process/task_queues.js:58:5)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 15)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at runNextTicks (internal/process/task_queues.js:58:5)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 18)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at runNextTicks (internal/process/task_queues.js:58:5)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 21)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at runNextTicks (internal/process/task_queues.js:58:5)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 24)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at runNextTicks (internal/process/task_queues.js:58:5)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 27)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at runNextTicks (internal/process/task_queues.js:58:5)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 30)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at runNextTicks (internal/process/task_queues.js:58:5)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 33)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 36)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at runNextTicks (internal/process/task_queues.js:58:5)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 39)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at runNextTicks (internal/process/task_queues.js:58:5)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 42)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at runNextTicks (internal/process/task_queues.js:58:5)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 45)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at runNextTicks (internal/process/task_queues.js:58:5)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 48)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at runNextTicks (internal/process/task_queues.js:58:5)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 51)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 54)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at runNextTicks (internal/process/task_queues.js:58:5)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 57)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at runNextTicks (internal/process/task_queues.js:58:5)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 60)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at runNextTicks (internal/process/task_queues.js:58:5)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 63)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at runNextTicks (internal/process/task_queues.js:58:5)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 66)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 69)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at runNextTicks (internal/process/task_queues.js:58:5)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 72)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at runNextTicks (internal/process/task_queues.js:58:5)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 75)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at runNextTicks (internal/process/task_queues.js:58:5)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 78)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at runNextTicks (internal/process/task_queues.js:58:5)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 81)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at runNextTicks (internal/process/task_queues.js:58:5)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 84)
(node:3420) UnhandledPromiseRejectionWarning: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
(node:3420) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 87)
2021-01-05T15:54:44.600Z [worker] l_error KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Client_SQLite3.acquireConnection (/home/myhome/kiwibnc/node_modules/knex/lib/client.js:349:26)
at async ConnectionState.save (/home/myhome/kiwibnc/src/worker/connectionstate.js:217:9)
at async ConnectionState.tempSet (/home/myhome/kiwibnc/src/worker/connectionstate.js:356:9)
at async processConQueue (/home/myhome/kiwibnc/src/worker/clientcommands.js:409:9)
at async Object.commands.CAP (/home/myhome/kiwibnc/src/worker/clientcommands.js:221:9)
at async Object.run (/home/myhome/kiwibnc/src/worker/clientcommands.js:40:9)
at async ConnectionIncoming.messageFromClient (/home/myhome/kiwibnc/src/worker/connectionincoming.js:355:28)
at async Array. (/home/myhome/kiwibnc/src/worker/worker.js:199:13)
at async IpcQueue.emit (/home/myhome/kiwibnc/src/libs/eventemitter.js:83:13)
at async IpcQueue.triggerPayload (/home/myhome/kiwibnc/src/libs/ipcqueue.js:172:17)
When I connect a new client, while attaching an existing connection, I get the following errors along with a long lag, varying from 30s to 3 or 4 minutes depending on the network (probably related to the amount of channels or the size of the logs).