# Number of Applications affect to performance or stability?

**URL:** <https://community.wowza.com/t/number-of-applications-affect-to-performance-or-stability/50431>\
**Category:** Wowza Streaming Engine\
**Created:** [December 28, 2017, 6:21am UTC](https://community.wowza.com/t/number-of-applications-affect-to-performance-or-stability/50431 "2017-12-28T06:21:20Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rub\_Loz](https://avatars.discourse-cdn.com/v4/letter/r/22d042/32.png) [@Rub\_Loz](https://community.wowza.com/u/Rub_Loz)\
**Post date:** [December 28, 2017, 6:21am UTC](https://community.wowza.com/t/number-of-applications-affect-to-performance-or-stability/50431/1 "2017-12-28T06:21:20Z")

</div>

Hi, I have been using Wowza for 5 years, but recently I have a big problem with the stability.

Since I installed the last Wowza update (4.7.3.01) every 24 hours I need to restart it or crash.

I have Linux Centos 7.0, 32G RAM, java version 1.8.0\_91 and Wowza always work fine until now, I don´t know if number of applications can affect to stability or need of ram, if is that the 4.7.3 have problems or what.

This is the error that I can see in wowza error logs when the Wowza is not working fine.

ERRORservercomment2017-12-2218:22:30-----50287.652--------IdleWorkerUtil: run.work : java.lang.NullPointerException|at com.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBase.shutdown(LiveStreamPacketizerBase.java:271)|at com.wowza.wms.stream.MediaStreamMap.removeLiveStreamPacketizer(MediaStreamMap.java:1270)|at com.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBase.checkTimeout(LiveStreamPacketizerBase.java:325)|at com.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBase.onIdle(LiveStreamPacketizerBase.java:261)|at com.wowza.wms.util.IdleWorkerUtil.run(IdleWorkerUtil.java:111)|

_Sorry about my English_

---

<div class="post-metadata">

**Author:** ![Andy\_Engberson](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/andy_engberson/32/392_2.png) [@Andy\_Engberson](https://community.wowza.com/u/Andy_Engberson)\
**Post date:** [January 2, 2018, 7:08am UTC](https://community.wowza.com/t/number-of-applications-affect-to-performance-or-stability/50431/2 "2018-01-02T07:08:48Z")

</div>

Hello,

I see a ticket for this issue has been opened with support. It looks like the issue is currently being investigated further.

Regards,

Andy E

---

<div class="post-metadata">

**Author:** ![Brian\_Duerring](https://avatars.discourse-cdn.com/v4/letter/b/bc8723/32.png) [@Brian\_Duerring](https://community.wowza.com/u/Brian_Duerring)\
**Post date:** [January 15, 2018, 3:58pm UTC](https://community.wowza.com/t/number-of-applications-affect-to-performance-or-stability/50431/3 "2018-01-15T15:58:28Z")

</div>

We are experiencing this issue as well after moving to 4.7.3.01. The null pointer error is thrown after many error entries pertaining to missing keyframes for the Cupertino packetizer, as exemplified in the log entry below:

```auto
A key frame has not been received in this audio and video stream for: 7990.954 seconds, which is over the max chunk duration of: 30.0 seconds. Restarting packetizer for stream: xxxxxxxx

```

After many entries of the keyframe error, the null pointer is thrown as exemplified in the log entry below:

```auto
ERRORservercomment2018-01-1500:00:00-----98435.219--------IdleWorkerUtil: run.work : java.lang.NullPointerException|at com.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBase.shutdown(LiveStreamPacketizerBase.java:271)|at com.wowza.wms.stream.MediaStreamMap.removeLiveStreamPacketizer(MediaStreamMap.java:1270)|at com.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBase.checkTimeout(LiveStreamPacketizerBase.java:325)|at com.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBase.onIdle(LiveStreamPacketizerBase.java:261)|at com.wowza.wms.util.IdleWorkerUtil.run(IdleWorkerUtil.java:111)|

```

Shortly after the server begins to fail (REST API, cupertino packetizer for all streams, then WSE becomes unresponsive. Only restarting WSE resolves the issue temporarily. Both the CPU and memory spike before the server fails (screenshots below:

While we understand that a malformed stream that is missing keyframes can cause issues, it’s strange that these streams (which have been publishing for years), are now causing the server to fail.

Once support responds with their findings, I’ll update this entry.

---

<div class="post-metadata">

**Author:** ![Stuart\_Gunn](https://avatars.discourse-cdn.com/v4/letter/s/da6949/32.png) [@Stuart\_Gunn](https://community.wowza.com/u/Stuart_Gunn)\
**Post date:** [January 17, 2018, 11:57pm UTC](https://community.wowza.com/t/number-of-applications-affect-to-performance-or-stability/50431/4 "2018-01-17T23:57:44Z")

</div>

Probably not related to your stream issue but we run the same version of WSE on Windows, and it’s been quite stable with just one crash of the monitoring service since installation. We have 9 live streaming apps of which most are active 24/7.

---

<div class="post-metadata">

**Author:** ![Soren\_Steinmann\_GbR](https://avatars.discourse-cdn.com/v4/letter/s/a5b964/32.png) [@Soren\_Steinmann\_GbR](https://community.wowza.com/u/Soren_Steinmann_GbR)\
**Post date:** [February 1, 2018, 5:58pm UTC](https://community.wowza.com/t/number-of-applications-affect-to-performance-or-stability/50431/5 "2018-02-01T17:58:47Z")

</div>

Hi, we have the same issue. The stream run over Wirecast 7 and 8, and we try ‘Main Concept’ and ‘x264’ Encoder. The framerate and keyframes are normal… and so on. All work fine in the past.  
We see this problem on 4.7.3.0 and 4.7.3.01

---

<div class="post-metadata">

**Author:** ![Soren\_Steinmann\_GbR](https://avatars.discourse-cdn.com/v4/letter/s/a5b964/32.png) [@Soren\_Steinmann\_GbR](https://community.wowza.com/u/Soren_Steinmann_GbR)\
**Post date:** [February 1, 2018, 8:57pm UTC](https://community.wowza.com/t/number-of-applications-affect-to-performance-or-stability/50431/6 "2018-02-01T20:57:57Z")

</div>

A second WSE 4.7.3.0 (later 4.7.3.01) crashed serveral times in follow of this issue. This server stream 24x7 10 streams parallel. All are send by some hardware encoders. And over weeks the failiure appears again and again. Every time after some hours of streaming, but ever the same stream.  
It spam the logs and after some hours WSE \> Java crashed with out of memory (10 gig ram max for Java…the server have much more).  
After restart the app, the failure is gone. But it comes back after some hours or sometimes some days of streaming.

---

<div class="post-metadata">

**Author:** ![Soren\_Steinmann\_GbR](https://avatars.discourse-cdn.com/v4/letter/s/a5b964/32.png) [@Soren\_Steinmann\_GbR](https://community.wowza.com/u/Soren_Steinmann_GbR)\
**Post date:** [February 5, 2018, 3:59pm UTC](https://community.wowza.com/t/number-of-applications-affect-to-performance-or-stability/50431/7 "2018-02-05T15:59:01Z")

</div>

Do you have a solution for this issue?

---

<div class="post-metadata">

**Author:** ![Soren\_Steinmann\_GbR](https://avatars.discourse-cdn.com/v4/letter/s/a5b964/32.png) [@Soren\_Steinmann\_GbR](https://community.wowza.com/u/Soren_Steinmann_GbR)\
**Post date:** [February 7, 2018, 10:59am UTC](https://community.wowza.com/t/number-of-applications-affect-to-performance-or-stability/50431/8 "2018-02-07T10:59:55Z")

</div>

The problem seams to be corrected with WSE 4.7.4:  
‘Changed Apple HLS (Cupertino) chunk overflow logic so chunks are forcibly ended when they get too long, such as when keyframes stop being received’

---

<div class="post-metadata">

**Author:** ![Rub\_Loz](https://avatars.discourse-cdn.com/v4/letter/r/22d042/32.png) [@Rub\_Loz](https://community.wowza.com/u/Rub_Loz)\
**Post date:** [February 13, 2018, 2:23pm UTC](https://community.wowza.com/t/number-of-applications-affect-to-performance-or-stability/50431/9 "2018-02-13T14:23:35Z")

</div>

I have again the same problem,

A key frame has not been received in this audio and video stream for: 3086.636 seconds, which is over the max chunk duration of: 50.0 seconds. Restarting packetizer for stream

After a few hours with that warning the WSE crashes.

Tonight I´ll update from 4.7.3.01 to 4.7.4 I hope that it fixes the problem.

---

<div class="post-metadata">

**Author:** ![Alexnader\_Obuhov](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@Alexnader\_Obuhov](https://community.wowza.com/u/Alexnader_Obuhov)\
**Post date:** [February 15, 2018, 4:29pm UTC](https://community.wowza.com/t/number-of-applications-affect-to-performance-or-stability/50431/10 "2018-02-15T16:29:54Z")

</div>

We have the same problem on version 4.7.4

Huge amount of

ERRORservercomment2018-02-0800:00:00-----190157.542--------IdleWorkerUtil: run.work : java.lang.NullPointerException|at com.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBase.shutdown(LiveStreamPacketizerBase.java:271)|at com.wowza.wms.stream.MediaStreamMap.removeLiveStreamPacketizer(MediaStreamMap.java:1270)|at com.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBase.checkTimeout(LiveStreamPacketizerBase.java:325)|at com.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBase.onIdle(LiveStreamPacketizerBase.java:261)|at com.wowza.wms.util.IdleWorkerUtil.run(IdleWorkerUtil.java:111)|

in Error log, mixed with something like

WARNservercomment2018-02-0800:00:01-----190158.618--------MPEGDashWriterHandler.endChunk[live/_definst_/channel\_6]: Stream start time calculation is off by 12443ms from original value. Changing stream start date from “Mon Feb 05 19:11:23 MSK 2018” to “Mon Feb 05 19:11:35 MSK 2018”

then (after some hours of repeating those strings in log) WSE hangs and doesn’t answer. Only manual Restart solves this, but problem may return in any moment.

We had it on 4.7.3.01 at 2018/02/08 and on 4.7.4 at 2018/02/14

---

<div class="post-metadata">

**Author:** ![Tom\_Korn](https://avatars.discourse-cdn.com/v4/letter/t/9de0a6/32.png) [@Tom\_Korn](https://community.wowza.com/u/Tom_Korn)\
**Post date:** [October 25, 2018, 1:06pm UTC](https://community.wowza.com/t/number-of-applications-affect-to-performance-or-stability/50431/11 "2018-10-25T13:06:50Z")

</div>

We have exactly the same behavior. Using WSE 4.7.4 with java version “1.8.0\_60”

Are there any solutions till now??!

---

<div class="post-metadata">

**Author:** ![Cirsa\_Digital\_SAU\_In](https://avatars.discourse-cdn.com/v4/letter/c/3d9bf3/32.png) [@Cirsa\_Digital\_SAU\_In](https://community.wowza.com/u/Cirsa_Digital_SAU_In)\
**Post date:** [June 20, 2019, 11:00am UTC](https://community.wowza.com/t/number-of-applications-affect-to-performance-or-stability/50431/12 "2019-06-20T11:00:07Z")

</div>

Same problem here, and we’re running 4.7.7 latest version with 1.8.0\_77 Java version.

Any kind of fix ??

---

<div class="post-metadata">

**Author:** ![Jonata\_Oliveira](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@Jonata\_Oliveira](https://community.wowza.com/u/Jonata_Oliveira)\
**Post date:** [February 1, 2021, 4:56pm UTC](https://community.wowza.com/t/number-of-applications-affect-to-performance-or-stability/50431/13 "2021-02-01T16:56:02Z")

</div>

ello did anyone get a solution to this problem?

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [February 3, 2021, 11:47am UTC](https://community.wowza.com/t/number-of-applications-affect-to-performance-or-stability/50431/14 "2021-02-03T11:47:02Z")

</div>

Because this post is outdated and we’ve had numerous upgrades and Engine releases since then. you’d need to submit a support ticket. No debugging can be done in the forums without full review of your config and logs. Are you on the latest version of Engine or at least using Java9?

As far as the null error, that can be thrown for several reasons from a configuration error to the server needing to be tuned, so for for accurate troubleshooting, we need a support ticket. I can tell you that several customers were able to resolve this by updating the drivers for the NVIDIA cards, so we suggest that you try this first. Many users see performance improvements after updating.

**UPDATE:** Also be aware that we have switched from Main Concept to Beamr so you may see improvements if you upgrade to 4.8.14.

[https://www.wowza.com/docs/wowza-streaming-engine-4-8-14-release-notes](https://www.wowza.com/docs/wowza-streaming-engine-4-8-14-release-notes)
