# shell async timeout

**URL:** <https://forum.ansible.com/t/shell-async-timeout/4423>\
**Category:** Get Help\
**Created:** [March 18, 2024, 10:06am UTC](https://forum.ansible.com/t/shell-async-timeout/4423 "2024-03-18T10:06:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JiaGuangZhi](https://avatars.discourse-cdn.com/v4/letter/j/96bed5/32.png) [@JiaGuangZhi](https://forum.ansible.com/u/JiaGuangZhi)\
**Post date:** [March 18, 2024, 10:06am UTC](https://forum.ansible.com/t/shell-async-timeout/4423/1 "2024-03-18T10:06:22Z")

</div>

I am using version 2.9.10 of Ansible. The target machine is HP-UX. When using script commands to execute shell modules asynchronously, the task timeout is displayed. I found that the target machine did not actually execute my script, and my command was similar to “sh xxxx. sh\>ansible. log”, without generating ansible. log. In the. ansible.async folder, you can see both the files xxxx.xx and xxxx.xx.tmp. The content of the xxxx.xx file is: “{started: 1, finished: 0, xxxx}”, and the content of the file ending in. tmp is empty. Have you ever encountered this problem? This target machine doesn’t have this problem every time, it occasionally occurs.

---

<div class="post-metadata">

**Author:** ![mrAibo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/mraibo/32/2635_2.png) [@mrAibo](https://forum.ansible.com/u/mrAibo)\
**Post date:** [March 20, 2024, 12:59pm UTC](https://forum.ansible.com/t/shell-async-timeout/4423/2 "2024-03-20T12:59:49Z")

</div>

Where is your Task?  
Write understandable question.
