# Is it possible to delete files with open streams on Linux?

**URL:** <https://community.wowza.com/t/is-it-possible-to-delete-files-with-open-streams-on-linux/37605>\
**Category:** Wowza Streaming Engine\
**Created:** [November 15, 2011, 3:05pm UTC](https://community.wowza.com/t/is-it-possible-to-delete-files-with-open-streams-on-linux/37605 "2011-11-15T15:05:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scott\_Heath](https://avatars.discourse-cdn.com/v4/letter/s/f08c70/32.png) [@Scott\_Heath](https://community.wowza.com/u/Scott_Heath)\
**Post date:** [November 15, 2011, 3:05pm UTC](https://community.wowza.com/t/is-it-possible-to-delete-files-with-open-streams-on-linux/37605/1 "2011-11-15T15:05:03Z")

</div>

I am unable to delete files on my Windows Wowza server if they are currently being streamed. I believe this is because Windows locks any files that are in use. If I switch this Wowza server to a Linux machine, will I able to easily delete files with open streams? I wanted to ask the community before dropping the cash on a new server.

Thanks!

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 16, 2011, 12:18am UTC](https://community.wowza.com/t/is-it-possible-to-delete-files-with-open-streams-on-linux/37605/2 "2011-11-16T00:18:20Z")

</div>

This seems to be a java implementation problem on windows, we have had other complaints. Try java 7, see if that helps.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 16, 2011, 3:38pm UTC](https://community.wowza.com/t/is-it-possible-to-delete-files-with-open-streams-on-linux/37605/3 "2011-11-16T15:38:48Z")

</div>

This is an operating system issue. I’m not prepared to give any such assurance. You should test.

Richard

---

<div class="post-metadata">

**Author:** ![Scott\_Heath](https://avatars.discourse-cdn.com/v4/letter/s/f08c70/32.png) [@Scott\_Heath](https://community.wowza.com/u/Scott_Heath)\
**Post date:** [November 16, 2011, 10:26am UTC](https://community.wowza.com/t/is-it-possible-to-delete-files-with-open-streams-on-linux/37605/4 "2011-11-16T10:26:52Z")

</div>

Interesting. I set this server up with a Wowza provider, so I’m not sure if I can manage a Java upgrade. My preference is to run on Linux anyway, since all of our apps are hosted on Linux servers. I just wanted to make doubly sure that I would be able to delete on Linux before I pay the costs of setting up another instance. From all of my research, it sounds like modifying and deleting files with open streams won’t be a problem with Wowza on Linux.
