Wowza Community

why cpu goes 100% with 400 users?

I see CPU usage goes 100% with just 400 users on Windows 2003 machine that is capable of handling load of 1000 WM streams users.

Server Config:

Xeon 3.0 + 8 GB Ram + 300 GB Sata + 1 Gig NIC

Windows 2003 Enterprise x64

Wowza Media Server 3 Monthly Edition 3.1.1 build1479

java version “1.7.0_04” (JDK is installed)

Java™ SE Runtime Environment (build 1.7.0_04-b22)

Java HotSpot™ 64-Bit Server VM (build 23.0-b21, mixed mode)

We have followed all performance tunning steps as suggested in below article.

https://www.wowza.com/docs/general-tuning

----- setenv.bat -------

set _EXECJAVA=java

set JAVA_OPTS=-Xmx5000M

rem If running JDK, uncomment to run server environment (faster)

set JAVA_OPTS=%JAVA_OPTS% -server

rem Better garbage collection setting to avoid long pauses

set JAVA_OPTS=%JAVA_OPTS% -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+UseParNewGC -XX:NewSize=512m


------------ WowzaMediaServer-Service.conf ----------

If running JDK, uncomment to run server environment (faster)

wrapper.java.additional.9=-server

wrapper.java.additional.10=-XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+UseParNewGC -XX:NewSize=512m

Uncomment to force Java to use specific language settings

#wrapper.java.additional.10=-Duser.language=en

#wrapper.java.additional.11=-Duser.country=US


Please help!

S

Try this without “-XX:+CMSIncrementalMode”, just use this:

-XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:NewSize=512m

This follows recent changes to the Tuning Guide:

https://www.wowza.com/docs/how-to-do-performance-tuning

Richard

Do you have any modules doing HTTP or JDBC calls?

Richard

Hi

Can you send the Wowza logs from start-up it shows the Thread pools etc…

Example :

480

320

The rest of the VHost.xml should look like this using a quad core processor :

4

8

4

4

Jason

Richard,

Thanks for your quick response.

I tried suggested changes but no improvement. Any other tip/tweak?

Thanks,

S

No, it is simple Origin/Edge Setup where users are only connecting to Edge Server. No additional modules on it.

Jason,

Sorry but where can I find startup log?

Thanks,