# High disk read of joplin-server

**URL:** <https://discourse.joplinapp.org/t/high-disk-read-of-joplin-server/40267>\
**Category:** Support\
**Created:** [19 September 2024 10:41 UTC](https://discourse.joplinapp.org/t/high-disk-read-of-joplin-server/40267 "2024-09-19T10:41:55Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jade12](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@jade12](https://discourse.joplinapp.org/u/jade12)\
**Post date:** [19 September 2024 20:26 UTC](https://discourse.joplinapp.org/t/high-disk-read-of-joplin-server/40267/3 "2024-09-19T20:26:34Z")

</div>

~~I investigated further. It seems to be a general problem of docker. I'm closing it for now.~~  
Continuing invetigation.

I observed that task #11 is constantly failing:

```auto
joplin-server | 08:31:16 0|app | 2024-09-20 08:31:08: [error] TaskService: Failed running task #11 (Process shared items) KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is proba
bly full. Are you missing a .transacting(trx) call?
joplin-server | 08:31:16 0|app | at Object.queryBuilder (/home/joplin/packages/server/node_modules/knex/lib/knex-builder/make-knex.js:112:26)
joplin-server | 08:31:16 0|app | at createQueryBuilder (/home/joplin/packages/server/node_modules/knex/lib/knex-builder/make-knex.js:320:26)
joplin-server | 08:31:16 0|app | at TaskStateModel.knex [as db_] (/home/joplin/packages/server/node_modules/knex/lib/knex-builder/make-knex.js:101:12)
joplin-server | 08:31:16 0|app | at TaskStateModel.<anonymous> (/home/joplin/packages/server/src/models/TaskStateModel.ts:16:15)
joplin-server | 08:31:16 0|app | at Generator.next (<anonymous>)
joplin-server | 08:31:16 0|app | at /home/joplin/packages/server/dist/models/TaskStateModel.js:8:71 {
joplin-server | 08:31:16 0|app | sql: undefined,
joplin-server | 08:31:16 0|app | bindings: undefined,
joplin-server | 08:31:16 0|app | originalStack: 'KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?\n' +
joplin-server | 08:31:16 0|app | ' at Client_SQLite3.acquireConnection (/home/joplin/packages/server/node_modules/knex/lib/client.js:332:26)\n' +
joplin-server | 08:31:16 0|app | ' at runNextTicks (node:internal/process/task_queues:60:5)\n' +
joplin-server | 08:31:16 0|app | ' at processTimers (node:internal/timers:509:9)\n' +
joplin-server | 08:31:16 0|app | ' at Runner.ensureConnection (/home/joplin/packages/server/node_modules/knex/lib/execution/runner.js:305:28)\n' +
joplin-server | 08:31:16 0|app | ' at Runner.run (/home/joplin/packages/server/node_modules/knex/lib/execution/runner.js:30:19)'
joplin-server | 08:31:16 0|app | }

```

Meanwhlie, the failing task seems to be the same one, because new tasks cannot be scheduled:

```auto
joplin-server | 08:38:07 0|app | 2024-09-20 08:38:07: [warn] TaskService: Tried to start #11 (Process shared items) but it was already running
joplin-server | 08:38:18 0|app | 2024-09-20 08:38:18: [warn] TaskService: Tried to start #11 (Process shared items) but it was already running
joplin-server | 08:38:28 0|app | 2024-09-20 08:38:28: [warn] TaskService: Tried to start #11 (Process shared items) but it was already running
joplin-server | 08:38:38 0|app | 2024-09-20 08:38:38: [warn] TaskService: Tried to start #11 (Process shared items) but it was already running
joplin-server | 08:38:48 0|app | 2024-09-20 08:38:48: [warn] TaskService: Tried to start #11 (Process shared items) but it was already running
joplin-server | 08:38:58 0|app | 2024-09-20 08:38:58: [warn] TaskService: Tried to start #11 (Process shared items) but it was already running

```

---

_[View the full topic](https://discourse.joplinapp.org/t/high-disk-read-of-joplin-server/40267)._
