# Live record sometimes stuck in "Waiting for stream" state

**URL:** <https://community.wowza.com/t/live-record-sometimes-stuck-in-waiting-for-stream-state/37184>\
**Category:** Wowza Streaming Engine\
**Created:** [October 9, 2015, 12:11pm UTC](https://community.wowza.com/t/live-record-sometimes-stuck-in-waiting-for-stream-state/37184 "2015-10-09T12:11:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bryan\_Nystrom](https://avatars.discourse-cdn.com/v4/letter/b/73ab20/32.png) [@Bryan\_Nystrom](https://community.wowza.com/u/Bryan_Nystrom)\
**Post date:** [October 9, 2015, 12:11pm UTC](https://community.wowza.com/t/live-record-sometimes-stuck-in-waiting-for-stream-state/37184/1 "2015-10-09T12:11:01Z")

</div>

(Wowza 4.2, EC2 medium instance)

I’m working with a site that records live streams. Recently we have noticed that there are times when we are unable to record certain streams unless we do a full restart of Wowza (restarting the Wowza app fixes the issue. No need to reboot the Linux instance).

Here you see 3 live streams on the system. The “problem” stream in this instance is the **“local6b”** one.

![](http://s3.uploads.im/d/R8nLA.png)

We can verify that the stream is actually working by going into the wowza test player (or attaching via a jwplayer)

![](http://s6.uploads.im/d/udYih.png)

We select the red record button and tell Wowza to record [basic settings: MP4, Start on key frame _makes no difference_, no segmentation, version option _makes no difference_]

Upon hitting the record button the stream comes back as “Waiting for stream” even though the stream is still playing, and no recording ever happens.

![](http://s6.uploads.im/d/TtRaY.png)

After restarting Wowza (restarting the live App has no effect and remains broken) the same stream, which was not stopped on the encoder side, is now able to record.

![](http://s3.uploads.im/d/E0UWT.png)

What would cause a stream to be able to live stream just fine, be listed as “Active”, but go into a waiting state when asked to record (while in the “Waiting” state for record, the live stream is still working from a live player). We also think we might be seeing a coloration between this happening and a very high spike in CPU usage (as reported by both the enginemanger and linux “top”) but we are not certain of that.

---

<div class="post-metadata">

**Author:** ![Michelle\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/michelle_b/32/394_2.png) [@Michelle\_B](https://community.wowza.com/u/Michelle_B)\
**Post date:** [October 15, 2015, 11:33am UTC](https://community.wowza.com/t/live-record-sometimes-stuck-in-waiting-for-stream-state/37184/2 "2015-10-15T11:33:28Z")

</div>

Hi,

Your log files should provide us additional information on what could be causing this. Do try to replicate this same behavior, and then send a support request to us with a zip copy of your conf/ and logs/ files, and include a link to this post for reference.

Michelle

---

<div class="post-metadata">

**Author:** ![Bryan\_Nystrom](https://avatars.discourse-cdn.com/v4/letter/b/73ab20/32.png) [@Bryan\_Nystrom](https://community.wowza.com/u/Bryan_Nystrom)\
**Post date:** [November 18, 2015, 2:43pm UTC](https://community.wowza.com/t/live-record-sometimes-stuck-in-waiting-for-stream-state/37184/3 "2015-11-18T14:43:33Z")

</div>

With our 4.2 setup, we are still seeing this issue. I’ve sent the requested data to support. Let me know if you need anything else or see anything outstanding in what I sent you.

(Update: currently having issues sending in the requested data to your system)

(Update2: the email should now be in your hands.)

Thanks

Bryan

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [November 20, 2015, 2:05pm UTC](https://community.wowza.com/t/live-record-sometimes-stuck-in-waiting-for-stream-state/37184/4 "2015-11-20T14:05:58Z")

</div>

Hi,

This will now be handled in the Support ticket that’s been created (148706).

Regards,

Jason

---

<div class="post-metadata">

**Author:** ![Chris\_Jukes](https://avatars.discourse-cdn.com/v4/letter/c/d6d6ee/32.png) [@Chris\_Jukes](https://community.wowza.com/u/Chris_Jukes)\
**Post date:** [June 16, 2017, 3:09pm UTC](https://community.wowza.com/t/live-record-sometimes-stuck-in-waiting-for-stream-state/37184/5 "2017-06-16T15:09:19Z")

</div>

Hello,  
I have the same problem with wowza 4.5 and it is wery critical.

So wowza is workig good, but some times it does not start recording (there is not file in content folder) with status “Waiting for stream” for new incoming stream however an old one is recording.

Only after restarting of wowza server the recording option works good.

Could you help me please!!!

---

<div class="post-metadata">

**Author:** ![Khanh\_Vi](https://avatars.discourse-cdn.com/v4/letter/k/bb73d2/32.png) [@Khanh\_Vi](https://community.wowza.com/u/Khanh_Vi)\
**Post date:** [June 20, 2017, 5:30am UTC](https://community.wowza.com/t/live-record-sometimes-stuck-in-waiting-for-stream-state/37184/6 "2017-06-20T05:30:47Z")

</div>

We experience the same issues here until we restart the service
