# CPU Resource: Timeout after a few Hours?

**URL:** <http://hpc-community.unige.ch/t/cpu-resource-timeout-after-a-few-hours/3470>\
**Category:** HPC Technical\
**Created:** [June 3, 2024, 4:07pm UTC](http://hpc-community.unige.ch/t/cpu-resource-timeout-after-a-few-hours/3470 "2024-06-03T16:07:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Imahn.Shekhzadeh1](http://hpc-community.unige.ch/letter_avatar_proxy/v4/letter/i/d9b06d/32.png) [@Imahn.Shekhzadeh1](http://hpc-community.unige.ch/u/Imahn.Shekhzadeh1)\
**Post date:** [June 3, 2024, 4:07pm UTC](http://hpc-community.unige.ch/t/cpu-resource-timeout-after-a-few-hours/3470/1 "2024-06-03T16:07:56Z")

</div>

Dear HPC Team,

I want to run a bash file on the HPC cluster for some longer time, and for this I request a CPU node like this:

```auto
salloc --partition=public-longrun-cpu --time=1-12:00:00 --nodes=1

```

However, after two hours, this happened:

```auto
(base) (baobab)-[shekhza2@cpu008 benchmark]$ ./pipeline.sh
client_loop: send disconnect: Broken pipe

```

This is not good, as my bash file now stopped executing. Can you please explain why this happens and how I can prevent this from happening?

Best,  
Imahn Shekhzadeh

---

<div class="post-metadata">

**Author:** ![Imahn.Shekhzadeh1](http://hpc-community.unige.ch/letter_avatar_proxy/v4/letter/i/d9b06d/32.png) [@Imahn.Shekhzadeh1](http://hpc-community.unige.ch/u/Imahn.Shekhzadeh1)\
**Post date:** [June 7, 2024, 11:41am UTC](http://hpc-community.unige.ch/t/cpu-resource-timeout-after-a-few-hours/3470/2 "2024-06-07T11:41:21Z")

</div>

solved by creating `tmux` session
