# .lock files in my "/var/lib/awx" directory

**URL:** <https://forum.ansible.com/t/lock-files-in-my-var-lib-awx-directory/27162>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [March 30, 2018, 1:38pm UTC](https://forum.ansible.com/t/lock-files-in-my-var-lib-awx-directory/27162 "2018-03-30T13:38:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bapi](https://avatars.discourse-cdn.com/v4/letter/b/6f9a4e/32.png) [@Bapi](https://forum.ansible.com/u/Bapi)\
**Post date:** [March 30, 2018, 1:38pm UTC](https://forum.ansible.com/t/lock-files-in-my-var-lib-awx-directory/27162/1 "2018-03-30T13:38:42Z")

</div>

Hello,

may i know why i have files ending with .lock in my /var/lib/awx directory?

for ex–ansible-project\_name.lock

Thanks

---

<div class="post-metadata">

**Author:** ![AlanCoding](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/alancoding/32/301_2.png) [@AlanCoding](https://forum.ansible.com/u/AlanCoding)\
**Post date:** [April 2, 2018, 11:24am UTC](https://forum.ansible.com/t/lock-files-in-my-var-lib-awx-directory/27162/2 "2018-04-02T11:24:07Z")

</div>

These files are used to prevent multiple project updates from updating the same source tree at the same time. If you want to dive into specifics of what’s being done, the code for this is in awx/main/tasks.py.
