# after upgrade to 4.1, WMS running much worse

**URL:** <https://community.wowza.com/t/after-upgrade-to-4-1-wms-running-much-worse/260>\
**Category:** Wowza Streaming Engine\
**Created:** [March 3, 2015, 10:35pm UTC](https://community.wowza.com/t/after-upgrade-to-4-1-wms-running-much-worse/260 "2015-03-03T22:35:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [March 3, 2015, 10:35pm UTC](https://community.wowza.com/t/after-upgrade-to-4-1-wms-running-much-worse/260/1 "2015-03-03T22:35:20Z")

</div>

We recently upgraded to 4.1 from 3.6.2 and added on Transcoder.

Our streams are running a lot worse than they were under the older version, with poor video quality and lots of viewers unable to connect or experiencing high rates of buffering.

Clients sending streams are getting disconnected multiple times as well. It has consistently happened since the day we rolled the upgraded version out live.

The Wowza recommended consultant we hired says nothing is wrong with the setup.

We contacted support who said it might be an issue with “garbage collection” and sent a few lines of code, but didn’t explain where the code goes to try and fix the issue.

Here is what they sent:

```auto
If so, then the following commands could be added to implement ConcMarkSweep plus
threading:
-XX:+UseConcMarkSweepGC
-XX:NewRatio=1
-Xss512k
-XX:+AlwaysPreTouch
-XX:+CMSScavengeBeforeRemark
-XX:ParallelCMSThreads=4
-XX:ParallelGCThreads=4

```

Any suggestions on how to fix this?

---

<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:** [March 3, 2015, 4:15pm UTC](https://community.wowza.com/t/after-upgrade-to-4-1-wms-running-much-worse/260/2 "2015-03-03T16:15:02Z")

</div>

Hi coskel22,

This command pertains to tweaking your Java Virtual Machine. If you login to your Streaming Engine Manager, and go to Server \> Performance Tuning \> Java Settings, you would see the current mode set for your Garbage Collection (essentially how the memory used by Java is cleaned up). You can also view [an article](https://www.wowza.com/docs/how-to-do-performance-tuning) that explains this more fully.

Another method you might want to try to resolve Transoder issues in version 4.1.1 is to upgrade to [version 4.1.2](https://www.wowza.com/docs/software-updates). There were some bug fixes that was specifically for some Transcoding issues. Here is a line on the [Release Notes](https://www.wowza.com/docs/wowza-streaming-engine-4-1-2-release-notes) for this version:

> Fixed issue with parsing of H.264 and H.265 SEI packets when using Transcoder (didn’t account for zero-length NAL units)
> 
> Michelle

---

<div class="post-metadata">

**Author:** ![Kelly\_Rinne](https://avatars.discourse-cdn.com/v4/letter/k/51bf81/32.png) [@Kelly\_Rinne](https://community.wowza.com/u/Kelly_Rinne)\
**Post date:** [April 3, 2015, 8:04pm UTC](https://community.wowza.com/t/after-upgrade-to-4-1-wms-running-much-worse/260/3 "2015-04-03T20:04:54Z")

</div>

Tried to upgrade using the instructions here

> **[Update Wowza Streaming Engine](https://www.wowza.com/docs/how-to-update-your-wowza-streaming-engine-installation)**
>
> Instructions for updating a Wowza Streaming Engine installation to a newer version.

and received this error:

root@main # cd updates/

root@main # ls

./ …/ WowzaStreamingEngine-Update-4.1.2/

root@main # cd WowzaStreamingEngine-Update-4.1.2

root@main # ls

./ …/ files/ Instructions.txt lib/ linux/ osx/ README.txt windows/

root@main # cd linux/

root@main # sudo ./update.sh

sudo: ./update.sh: command not found

> Hi coskel22,
> 
> This command pertains to tweaking your Java Virtual Machine. If you login to your Streaming Engine Manager, and go to Server \> Performance Tuning \> Java Settings, you would see the current mode set for your Garbage Collection (essentially how the memory used by Java is cleaned up). You can also view [an article](https://www.wowza.com/docs/how-to-do-performance-tuning) that explains this more fully.
> 
> Another method you might want to try to resolve Transoder issues in version 4.1.1 is to upgrade to [version 4.1.2](https://www.wowza.com/docs/software-updates). There were some bug fixes that was specifically for some Transcoding issues. Here is a line on the [Release Notes](https://www.wowza.com/docs/wowza-streaming-engine-4-1-2-release-notes) for this version:
> 
> Michelle

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [April 20, 2015, 7:48am UTC](https://community.wowza.com/t/after-upgrade-to-4-1-wms-running-much-worse/260/4 "2015-04-20T07:48:46Z")

</div>

Hello there.

It looks like you may have skipped step 3 in the update guide for Linux OS.

You would need to execute this command:

```auto
chmod +x update.sh

```

Please refer to the [guide for more details](https://www.wowza.com/docs/how-to-update-your-wowza-streaming-engine-installation)

I hope this helps.

Kind regards,

Salvadore
