# Long runtime moving posts / timeout errors

**URL:** <https://meta.discourse.org/t/long-runtime-moving-posts-timeout-errors/351345>\
**Category:** Support\
**Created:** [February 9, 2025, 4:09pm UTC](https://meta.discourse.org/t/long-runtime-moving-posts-timeout-errors/351345 "2025-02-09T16:09:09Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Thorsten](https://avatars.discourse-cdn.com/v4/letter/t/d2c977/32.png) [@Thorsten](https://meta.discourse.org/u/Thorsten)\
**Post date:** [February 9, 2025, 4:09pm UTC](https://meta.discourse.org/t/long-runtime-moving-posts-timeout-errors/351345/1 "2025-02-09T16:09:09Z")

</div>

We are running a self-hosted Discourse forum ([tff-forum.de](https://tff-forum.de)) with more than 4 million posts and a lot of large threads.

Since the last update to version 3.4.0.beta3 we are experiencing long runtimes of 15 to 20 seconds when moving posts from one thread to another.

In some cases the function terminates with an error and the log shows the following message:

`Unicorn worker received USR2 signal indicating it is about to timeout, dumping backtrace for main thread`

Before the update we had only problems moving posts between very large threads. Now the function terminates sometimes when the threads only contain a few posts.

Do you have any advice what we can check to find the cause for this problem? Is it possible that we have an issue with the database (missing index/statistics)?

Thank you in advance for your support.

---

_[View the full topic](https://meta.discourse.org/t/long-runtime-moving-posts-timeout-errors/351345)._
