# wowza freezes

**URL:** <https://community.wowza.com/t/wowza-freezes/37740>\
**Category:** Wowza Streaming Engine\
**Created:** [March 1, 2014, 9:24pm UTC](https://community.wowza.com/t/wowza-freezes/37740 "2014-03-01T21:24:13Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul\_Santos](https://avatars.discourse-cdn.com/v4/letter/p/7ab992/32.png) [@Paul\_Santos](https://community.wowza.com/u/Paul_Santos)\
**Post date:** [March 1, 2014, 9:24pm UTC](https://community.wowza.com/t/wowza-freezes/37740/1 "2014-03-01T21:24:13Z")

</div>

one of our servers recently started to have some kind of wowza freeze, it is not because there are many users on it, I cannot find any correlation that it goes down if there are a high number of viewers. It is happening sometimes 2 -3 times a day.

server: e5-2620 (24 cores)

RAM 64 giga

64 bit

centos

Wowza Media Server 3.6.3 build8031

below link has the wowzamediaserver\_error.log, it will show the process going on and then at 21:56:11 when I restarted wowza.

[http://hosting-marketers.com/wowzamediaserver\_error.log](http://hosting-marketers.com/wowzamediaserver_error.log)

let me know if you can understand what is happening.

Thank you

---

<div class="post-metadata">

**Author:** ![Paul\_Santos](https://avatars.discourse-cdn.com/v4/letter/p/7ab992/32.png) [@Paul\_Santos](https://community.wowza.com/u/Paul_Santos)\
**Post date:** [March 2, 2014, 5:28am UTC](https://community.wowza.com/t/wowza-freezes/37740/2 "2014-03-02T05:28:40Z")

</div>

just now it happen again:

root@magenta [~]# cd /usr/local/WowzaMediaServer/logs

root@magenta # tail -f wowzamediaserver\_error.

log

java.lang.OutOfMemoryError: GC overhead limit exceeded

ERROR server comment 2014-03-02 06:14:51 - - - 1

7784.423 - - - - - - - - i

nvoke(onConnect): java.lang.OutOfMemoryError: GC overhead limit exceeded: unknow

n

WARN server comment 2014-03-02 06:14:56 - - - 1

7789.635 - - - - - - - - U

nexpected exception.: java.lang.OutOfMemoryError: GC overhead limit exceeded|

java.lang.OutOfMemoryError: GC overhead limit exceeded

WARN server comment 2014-03-02 06:17:06 - - - 1

7919.447 - - - - - - - - U

nexpected exception.: java.lang.OutOfMemoryError: GC overhead limit exceeded|

java.lang.OutOfMemoryError: GC overhead limit exceeded

WARN server comment 2014-03-02 06:17:07 - - - 1

7920.542 - - - - - - - - U

nexpected exception.: java.lang.OutOfMemoryError: GC overhead limit exceeded|

java.lang.OutOfMemoryError: GC overhead limit exceeded

WARN server comment 2014-03-02 06:18:15 - - - 1

7988.054 - - - - - - - - U

nexpected exception.: java.lang.OutOfMemoryError: GC overhead limit exceeded|

java.lang.OutOfMemoryError: GC overhead limit exceeded

---

<div class="post-metadata">

**Author:** ![Paul\_Santos](https://avatars.discourse-cdn.com/v4/letter/p/7ab992/32.png) [@Paul\_Santos](https://community.wowza.com/u/Paul_Santos)\
**Post date:** [March 2, 2014, 6:30am UTC](https://community.wowza.com/t/wowza-freezes/37740/3 "2014-03-02T06:30:06Z")

</div>

we done that of course, but I noticed now that on /bin/setenv.sh instead of JAVA\_OPTS="-Xmx8000M" I have:

JAVA\_OPTS="-server -Xmx8000M"

? is it our mistake or this way is also correct?

---

<div class="post-metadata">

**Author:** ![Paul\_Santos](https://avatars.discourse-cdn.com/v4/letter/p/7ab992/32.png) [@Paul\_Santos](https://community.wowza.com/u/Paul_Santos)\
**Post date:** [March 5, 2014, 11:39am UTC](https://community.wowza.com/t/wowza-freezes/37740/4 "2014-03-05T11:39:28Z")

</div>

I think I found the problem. I rechecked the tuning and I found that on [install-dir]/vhosts/default/conf/VHost.xml where I suppose to have:

RTP/DatagramConfiguration/UnicastIncoming/ProcessorCount: [total-core-count] (maximum of 12)

RTP/DatagramConfiguration/UnicastOutgoing/ProcessorCount: 2x[total-core-count] (maximum of 24)

RTP/DatagramConfiguration/MulticastIncoming/ProcessorCount: [total-core-count] (maximum of 12)

RTP/DatagramConfiguration/MulticastOutgoing/ProcessorCount: [total-core-count] (maximum of 12)

instead of 12 I had 24. since this was corrected the server is stable.

Thanks

---

<div class="post-metadata">

**Author:** ![Paul\_Santos](https://avatars.discourse-cdn.com/v4/letter/p/7ab992/32.png) [@Paul\_Santos](https://community.wowza.com/u/Paul_Santos)\
**Post date:** [April 26, 2014, 8:46pm UTC](https://community.wowza.com/t/wowza-freezes/37740/5 "2014-04-26T20:46:29Z")

</div>

it started again, I pasted the part of the wowzamediaserver\_error.log which refers to this event:

[http://pastebin.com/Sr6fKSxd](http://pastebin.com/Sr6fKSxd)

the server has 64 giga of ram, perhaps I should increase the JAVA\_OPTS ram allocation?

another point, some of the errors there refer to services that have have been terminated and the app is no more inside the /conf directory anymore.

---

<div class="post-metadata">

**Author:** ![Paul\_Santos](https://avatars.discourse-cdn.com/v4/letter/p/7ab992/32.png) [@Paul\_Santos](https://community.wowza.com/u/Paul_Santos)\
**Post date:** [May 2, 2014, 1:46pm UTC](https://community.wowza.com/t/wowza-freezes/37740/6 "2014-05-02T13:46:35Z")

</div>

OK, done, email send to support@wowza.com

Thanks

---

<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:** [March 2, 2014, 8:10am UTC](https://community.wowza.com/t/wowza-freezes/37740/7 "2014-03-02T08:10:36Z")

</div>

Have you worked through the [Performance Tuning Guide](https://www.wowza.com/docs/how-to-do-performance-tuning)?

Salvadore

---

<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:** [March 2, 2014, 10:19am UTC](https://community.wowza.com/t/wowza-freezes/37740/8 "2014-03-02T10:19:35Z")

</div>

It looks like you are using the wrong class path for ModuleRTMPAuthenticate, for Wowza 3.5 and up the class path should be:

```auto
<Module>
	<Name>ModuleRTMPAuthenticate</Name>
	<Description>ModuleRTMPAuthenticate</Description>
	<Class>com.wowza.wms.security.ModuleRTMPAuthenticate</Class>
</Module>

```

This is probably not the issue, but will clean up the logs and fix the error as well as enabling the module.

Also, if you are not using Smooth Streaming you should disable it any other LiveStreamPacketizers you are not using.

Do you have any custom modules enabled in the application?

What is the load like on the server?

What type of streaming are you doing and what is the source?

Once you have made the recommended changes, please restart Wowza in stand-alone mode [install-dir]/bin/startup.bat and post the start up messages from the console so we can take a look.

Salvadore

---

<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:** [March 5, 2014, 1:42pm UTC](https://community.wowza.com/t/wowza-freezes/37740/9 "2014-03-05T13:42:52Z")

</div>

Thanks for the update, glad to hear you have it sorted out.

Salvadore

---

<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 28, 2014, 8:28am UTC](https://community.wowza.com/t/wowza-freezes/37740/10 "2014-04-28T08:28:28Z")

</div>

I think it may be best if you open a ticket. If at all possible you should restart the server, delete the old logs and when the issue arises again zip up the /logs and /conf folders send to support@wowza.com.

If this is not possible, please open a ticket by zipping your /logs and /conf folders and send them to support@wowza.com. Also include a link to this thread as reference. Provide as much detail about your setup as possible, as well as any custom modules you may have implemented.

Salvadore
