Wowza Community

High java load average

My java load is over 400!

I setup according to this

http://www.wowza.com/forums/showthread.php?t=179 1. Editing [install-dir]/conf/VHost.xml and change ThreadPool/PoolSize to 100.

  1. Edit [install-dir]/bin/wms.sh and add the line ulimit -n 20000 just above the line that starts with $_EXECJAVA.

  2. Edit [install-dir]/bin/startup.sh and add the line ulimit -n 20000 just above the line that starts with $_EXECJAVA.

  3. Reboot and restart the Wowza Pro server.

You need to be sure to do the other suggestions as well. Be sure you are using the -server flag and the correct garbage collection parameters. Also, the thread pool tuning doesn’t sound right. What are the specs of your machine (number of cores, memory, 32-bit or 64-bit, …).

Charlie

Wowza is just going to use a lot more CPU then lighttpd. We are not going to be able to push nearly that amount of traffic with that much CPU. There is a lot more work that needs to be done to deliver the video using RTMP.

Charlie

That is not a lot of CPU. How many concurrent connects are you trying to handle with this server? What is the outgoing total bitrate?

Charlie

Well, the server is cheap though, but It works well with lighttpd

AMD SEMPRON

2GB RAM

[root@new ~]# cat /proc/cpuinfo

processor : 0

vendor_id : AuthenticAMD

cpu family : 15

model : 44

model name : AMD Sempron™ Processor 3100+

stepping : 2

cpu MHz : 1804.151

cache size : 256 KB

fdiv_bug : no

hlt_bug : no

f00f_bug : no

coma_bug : no

fpu : yes

fpu_exception : yes

cpuid level : 1

wp : yes

flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow up pni lahf_lm ts fid vid ttp tm stc

bogomips : 3610.97

btw, what is

-server flag and the correct garbage collection parameters

If I use lighttpd, I can push 300M/s of traffic.

concurrent connects, I guess it’s over 1500