# Super slow performance on process instance restart

**URL:** <https://forum.camunda.io/t/super-slow-performance-on-process-instance-restart/54122>\
**Category:** Camunda 7 Topics\
**Tags:** process-engine\
**Created:** [August 7, 2024, 11:28pm UTC](https://forum.camunda.io/t/super-slow-performance-on-process-instance-restart/54122 "2024-08-07T23:28:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neeniih](https://forum.camunda.io/user_avatar/forum.camunda.io/neeniih/32/29861_2.png) [@Neeniih](https://forum.camunda.io/u/Neeniih)\
**Post date:** [August 7, 2024, 11:28pm UTC](https://forum.camunda.io/t/super-slow-performance-on-process-instance-restart/54122/1 "2024-08-07T23:28:29Z")

</div>

Hello!

I’m using Camunda 7.21.2-ee and was experimenting with the [restart](https://docs.camunda.org/manual/7.21/webapps/cockpit/bpmn/process-instance-restart/) functionality.

The idea is great for some unintended end on the previous instance, however I cannot count on it as a tool because it simply takes too long to execute.

Talking numbers, 1 instance restart takes at least 20 minutes. Some takes hours.

Why does it happen and how can I optimize it?

Here is some additional info, in case it helps:

- Database: PostgreSQL
- Application server: Apache Tomcat

---

<div class="post-metadata">

**Author:** ![mimaom](https://forum.camunda.io/letter_avatar_proxy/v4/letter/m/58956e/32.png) [@mimaom](https://forum.camunda.io/u/mimaom)\
**Post date:** [August 8, 2024, 9:18am UTC](https://forum.camunda.io/t/super-slow-performance-on-process-instance-restart/54122/2 "2024-08-08T09:18:05Z")

</div>

Hi @Neeniih

I just tried a restart on Camunda 7.20.2-EE and that started within 30 seconds.  
I assume you chekced “Asynchronous” when you confirmed the restart?

Do you see that batch job under batches in Camunda Cockpit?  
Could there be other batch jobs running that would prevent the restart to be picked up?

BR  
Michael

---

<div class="post-metadata">

**Author:** ![system](https://forum.camunda.io/uploads/default/original/3X/5/8/58d50142eacca605d35cb1ef9e6b86ae85f49436.png) [@system](https://forum.camunda.io/u/system)\
**Post date:** [November 6, 2024, 9:18am UTC](https://forum.camunda.io/t/super-slow-performance-on-process-instance-restart/54122/3 "2024-11-06T09:18:47Z")

</div>

Closed on November 6, 2024, 9:18am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
