# Paraview stops working after long time

**URL:** https://discourse.paraview.org/t/paraview-stops-working-after-long-time/10247
**Category:** ParaView Support
**Created:** [September 3, 2022, 8:44am UTC](https://discourse.paraview.org/t/paraview-stops-working-after-long-time/10247 "2022-09-03T08:44:40Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Captain\_Convergence](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/e19b73/32.png) [@Captain\_Convergence](https://discourse.paraview.org/u/Captain_Convergence)
#### Post date: [September 3, 2022, 8:44am UTC](https://discourse.paraview.org/t/paraview-stops-working-after-long-time/10247/1 "2022-09-03T08:44:41Z")

</div>

Dear Support,

Due to the nature of my solver, I am forced to compute the Q-crit in Paraview and I have to use only 1 CPU if I want to avoid having strange features in the fields due to CPU miscommunication. Therefore for my 3D animations, it is a very long process that can take up to 4-5 days. However I have launched my post process script and it works (I have the partial animation file) but it always finishes after 2 days with the following error:

error: exception occurred: SIGHUP

I think that it is due to an error linked with the duration of the process by the same single CPU. Is there any way to solve this issue?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [September 5, 2022, 2:49am UTC](https://discourse.paraview.org/t/paraview-stops-working-after-long-time/10247/2 "2022-09-05T02:49:56Z")

</div>

How and where do you run ParaView ?

> SIGHUP (“signal hang up”) is a signal sent to a process when its controlling terminal is closed

Something is closing the terminal you are running ParaView from ?

---

<div class="post-metadata">

### Author: ![Captain\_Convergence](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/e19b73/32.png) [@Captain\_Convergence](https://discourse.paraview.org/u/Captain_Convergence)
#### Post date: [September 6, 2022, 8:27am UTC](https://discourse.paraview.org/t/paraview-stops-working-after-long-time/10247/3 "2022-09-06T08:27:54Z")

</div>

Dear Mathieu,

Thank you for your reply. I am running the postprocess script remotely in a small cluster that we have in our department. I am connecting through SSH and then I use the command **nohup time pvbatch --force-offscreen-rendering myscript.py \> logScript &** to close the terminal and leave it running in the background. It starts generating the video that I can play at any time until the generated time but after 2 days of computations I have the SIGHUP error.

Kind regards

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [September 6, 2022, 11:27am UTC](https://discourse.paraview.org/t/paraview-stops-working-after-long-time/10247/4 "2022-09-06T11:27:24Z")

</div>

> [@Captain\_Convergence](#):
>
> after 2 days of computations I have the SIGHUP error.

Contact your IT, they may kill your process after 2 days,

---

<div class="post-metadata">

### Author: ![GeoMattB](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/53a042/32.png) [@GeoMattB](https://discourse.paraview.org/u/GeoMattB)
#### Post date: [September 9, 2022, 8:05am UTC](https://discourse.paraview.org/t/paraview-stops-working-after-long-time/10247/5 "2022-09-09T08:05:05Z")

</div>

I’ve always had problems keeping scripts running from closed terminals.  
Have you tried something else that works without a terminal like screen? It’s been rock solid for me in similar cases.

---

<div class="post-metadata">

### Author: ![Captain\_Convergence](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/e19b73/32.png) [@Captain\_Convergence](https://discourse.paraview.org/u/Captain_Convergence)
#### Post date: [September 9, 2022, 8:26am UTC](https://discourse.paraview.org/t/paraview-stops-working-after-long-time/10247/6 "2022-09-09T08:26:49Z")

</div>

> [@GeoMattB](#):
>
> ays had problems keeping scripts running from closed terminals.  
> Have you tried something else that works without a terminal like

At the end I solved the problem by using a computer from our office that is always on and under-used so I left a terminal open with SSH connections to the other cluster. Since the terminal is always open the process can run for several days. Not an optimal or elegant solution but it does the job…
