Results 1 to 6 of 6

Thread: high usage Core 1 (100%) at 1 gbps.)

  1. #1

    Default high usage Core 1 (100%) at 1 gbps.)

    Hi
    I can use a dual E5-2620 0 Intel Xenon CPU
    I have a 24 Theread and 12 Core.
    16 GB Ram
    4 Gbps Network Connection.

    Wowza is using a first core @100%
    I think My Vhost.xml Configuration is right for this two cpu and cores.



    My Vhost.xml

    <Root>
    <VHost>
    <HostPortList>
    <HostPort>
    <ProcessorCount>24</ProcessorCount>
    <IpAddress>**.**.**.**</IpAddress>
    <!-- Separate multiple ports with commas -->
    <!-- 80: HTTP, RTMPT -->
    <!-- 554: RTSP -->
    <Port>80,554,1935</Port>
    <SocketConfiguration>
    <ReuseAddress>true</ReuseAddress>
    <!-- suggested settings for video on demand applications -->
    <ReceiveBufferSize>24000</ReceiveBufferSize>
    <SendBufferSize>65000</SendBufferSize>
    <!-- suggest settings for low latency chat and video recording applications
    <ReceiveBufferSize>16000</ReceiveBufferSize>
    <SendBufferSize>16000</SendBufferSize>
    -->
    <KeepAlive>true</KeepAlive>
    <!-- <TrafficClass>0</TrafficClass> -->
    <!-- <OobInline>false</OobInline> -->
    <!-- <SoLingerTime>-1</SoLingerTime> -->
    <!-- <TcpNoDelay>false</TcpNoDelay> -->
    <AcceptorBackLog>100</AcceptorBackLog>
    </SocketConfiguration>
    <HTTPStreamerAdapterIDs>cupertinostreaming,smoothstreaming,sanjosestreaming</HTTPStreamerAdapterIDs>
    <HTTPProviders>
    <HTTPProvider>
    <BaseClass>com.wowza.wms.http.HTTPCrossdomain</BaseClass>
    <RequestFilters>*crossdomain.xml</RequestFilters>
    <AuthenticationMethod>none</AuthenticationMethod>
    </HTTPProvider>
    <HTTPProvider>
    <BaseClass>com.wowza.wms.http.HTTPClientAccessPolicy</BaseClass>
    <RequestFilters>*clientaccesspolicy.xml</RequestFilters>
    <AuthenticationMethod>none</AuthenticationMethod>
    </HTTPProvider>

    </HTTPProviders>
    </HostPort>

    <!-- 443 with SSL -->
    <!--
    <HostPort>
    <ProcessorCount>24</ProcessorCount>
    <IpAddress>*</IpAddress>
    <Port>443</Port>
    <SSLConfig>
    <KeyStorePath>${com.wowza.wms.context.VHostConfigHome}/conf/keystore.cert</KeyStorePath>
    <KeyStorePassword>[password]</KeyStorePassword>
    <KeyStoreType>JKS</KeyStoreType>
    <SSLProtocol>TLS</SSLProtocol>
    <Algorithm>SunX509</Algorithm>
    </SSLConfig>
    <SocketConfiguration>
    <ReuseAddress>true</ReuseAddress>
    <ReceiveBufferSize>24000</ReceiveBufferSize>
    <SendBufferSize>65000</SendBufferSize>
    <KeepAlive>true</KeepAlive>
    <AcceptorBackLog>100</AcceptorBackLog>
    </SocketConfiguration>
    <HTTPStreamerAdapterIDs>cupertinostreaming,smoothstreaming,sanjosestreaming</HTTPStreamerAdapterIDs>
    <HTTPProviders>
    <HTTPProvider>
    <BaseClass>com.wowza.wms.http.HTTPClientAccessPolicy</BaseClass>
    <RequestFilters>*clientaccesspolicy.xml</RequestFilters>
    <AuthenticationMethod>none</AuthenticationMethod>
    </HTTPProvider>
    <HTTPProvider>
    <BaseClass>com.wowza.wms.http.HTTPCrossdomain</BaseClass>
    <RequestFilters>*crossdomain.xml</RequestFilters>
    <AuthenticationMethod>none</AuthenticationMethod>
    </HTTPProvider>
    <HTTPProvider>
    <BaseClass>com.wowza.wms.http.HTTPServerVersion</BaseClass>
    <RequestFilters>*</RequestFilters>
    <AuthenticationMethod>none</AuthenticationMethod>
    </HTTPProvider>
    </HTTPProviders>
    </HostPort>
    -->

    <!-- Admin HostPort -->
    <HostPort>
    <ProcessorCount>1</ProcessorCount>
    <IpAddress>*</IpAddress>
    <Port>8086</Port>
    <SocketConfiguration>
    <ReuseAddress>true</ReuseAddress>
    <ReceiveBufferSize>16000</ReceiveBufferSize>
    <SendBufferSize>16000</SendBufferSize>
    <KeepAlive>true</KeepAlive>
    <AcceptorBackLog>100</AcceptorBackLog>
    </SocketConfiguration>
    <HTTPStreamerAdapterIDs></HTTPStreamerAdapterIDs>
    <HTTPProviders>
    <HTTPProvider>
    <BaseClass>com.wowza.wms.http.streammanager.HTTPStreamManager</BaseClass>
    <RequestFilters>streammanager*</RequestFilters>
    <AuthenticationMethod>admin-digest</AuthenticationMethod>
    </HTTPProvider>
    <HTTPProvider>
    <BaseClass>com.wowza.wms.http.HTTPServerInfoXML</BaseClass>
    <RequestFilters>serverinfo*</RequestFilters>
    <AuthenticationMethod>admin-digest</AuthenticationMethod>
    </HTTPProvider>
    <HTTPProvider>
    <BaseClass>com.wowza.wms.http.HTTPConnectionInfo</BaseClass>
    <RequestFilters>connectioninfo*</RequestFilters>
    <AuthenticationMethod>admin-digest</AuthenticationMethod>
    </HTTPProvider>
    <HTTPProvider>
    <BaseClass>com.wowza.wms.http.HTTPConnectionCountsXML</BaseClass>
    <RequestFilters>connectioncounts*</RequestFilters>
    <AuthenticationMethod>admin-digest</AuthenticationMethod>
    </HTTPProvider>
    <HTTPProvider>
    <BaseClass>com.wowza.wms.http.HTTPServerVersion</BaseClass>
    <RequestFilters>*</RequestFilters>
    <AuthenticationMethod>none</AuthenticationMethod>
    </HTTPProvider>
    </HTTPProviders>
    </HostPort>

    </HostPortList>

    <HTTPStreamerAdapters>
    <HTTPStreamerAdapter>
    <ID>smoothstreaming</ID>
    <Name>smoothstreaming</Name>
    <Properties>
    </Properties>
    </HTTPStreamerAdapter>
    <HTTPStreamerAdapter>
    <ID>cupertinostreaming</ID>
    <Name>cupertinostreaming</Name>
    <Properties>
    </Properties>
    </HTTPStreamerAdapter>
    <HTTPStreamerAdapter>
    <ID>sanjosestreaming</ID>
    <Name>sanjosestreaming</Name>
    <Properties>
    </Properties>
    </HTTPStreamerAdapter>
    </HTTPStreamerAdapters>

    <HandlerThreadPool>
    <PoolSize>720</PoolSize>
    </HandlerThreadPool>
    <TransportThreadPool>
    <PoolSize>480</PoolSize>
    </TransportThreadPool>
    <IdleWorkers>
    <WorkerCount>12</WorkerCount>
    <CheckFrequency>100</CheckFrequency>
    <MinimumWaitTime>5</MinimumWaitTime>
    </IdleWorkers>
    <NetConnections>
    <ProcessorCount>24</ProcessorCount>
    <IdleFrequency>250</IdleFrequency>
    <SocketConfiguration>
    <ReuseAddress>true</ReuseAddress>
    <ReceiveBufferSize>65000</ReceiveBufferSize>
    <SendBufferSize>24000</SendBufferSize>
    <KeepAlive>true</KeepAlive>
    <!-- <TrafficClass>0</TrafficClass> -->
    <!-- <OobInline>false</OobInline> -->
    <!-- <SoLingerTime>-1</SoLingerTime> -->
    <!-- <TcpNoDelay>false</TcpNoDelay> -->
    <AcceptorBackLog>100</AcceptorBackLog>
    </SocketConfiguration>
    </NetConnections>
    <HTTPTunnel>
    <KeepAliveTimeout>2000</KeepAliveTimeout>
    </HTTPTunnel>
    <Client>
    <ClientTimeout>90000</ClientTimeout>
    <IdleFrequency>800</IdleFrequency>
    </Client>
    <!-- RTP/Authentication/Methods defined in Authentication.xml. Default setup includes; none, basic, digest -->
    <RTP>
    <IdleFrequency>800</IdleFrequency>
    <DatagramConfiguration>
    <Incoming>
    <ReuseAddress>true</ReuseAddress>
    <ReceiveBufferSize>256000</ReceiveBufferSize>
    <SendBufferSize>65000</SendBufferSize>
    <!-- <MulticastBindToAddress>true</MulticastBindToAddress> -->
    <!-- <MulticastInterfaceAddress>192.168.1.22</MulticastInterfaceAddress> -->
    <!-- <TrafficClass>0</TrafficClass> -->
    <MulticastTimeout>50</MulticastTimeout>
    <DatagramMaximumPacketSize>4096</DatagramMaximumPacketSize>
    </Incoming>
    <Outgoing>
    <ReuseAddress>true</ReuseAddress>
    <ReceiveBufferSize>65000</ReceiveBufferSize>
    <SendBufferSize>65000</SendBufferSize>
    <!-- <MulticastBindToAddress>true</MulticastBindToAddress> -->
    <!-- <MulticastInterfaceAddress>192.168.1.22</MulticastInterfaceAddress> -->
    <!-- <TrafficClass>0</TrafficClass> -->
    <MulticastTimeout>50</MulticastTimeout>
    <DatagramMaximumPacketSize>4096</DatagramMaximumPacketSize>
    </Outgoing>
    </DatagramConfiguration>
    <UnicastIncoming>
    <ProcessorCount>12</ProcessorCount>
    </UnicastIncoming>
    <UnicastOutgoing>
    <ProcessorCount>12</ProcessorCount>
    </UnicastOutgoing>
    <MulticastIncoming>
    <ProcessorCount>12</ProcessorCount>
    </MulticastIncoming>
    <MulticastOutgoing>
    <ProcessorCount>12</ProcessorCount>
    </MulticastOutgoing>
    </RTP>
    <Application>
    <ApplicationTimeout>60000</ApplicationTimeout>
    <PingTimeout>12000</PingTimeout>
    <ValidationFrequency>20000</ValidationFrequency>
    <MaximumPendingWriteBytes>0</MaximumPendingWriteBytes>
    <MaximumSetBufferTime>60000</MaximumSetBufferTime>
    </Application>
    <StartStartupStreams>true</StartStartupStreams>
    <!-- Properties defined here will be added to the IVHost.getProperties() collection -->
    <Properties>
    </Properties>
    </VHost>
    </Root>
    Last edited by djcenk; 03-05-2014 at 05:08 PM.

  2. #2

    Default

    UP

  3. #3
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    This data sheet says it is 6 cores. Try tuning for 6 instead of 12.

    And the first HostPort /IpAdress is unusual:
    <IpAddress>**.**.**.**</IpAddress>
    Try changing back to:

    <IpAddress>*</IpAddress>
    I'm not sure if this will make a difference. How the CPU is used is more OS level.

    Richard

  4. #4
    Join Date
    Feb 2014
    Posts
    129

    Default

    But he has 2 of these CPU's

  5. #5
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    I see, you're right. You might experiment with different tuning anyway to see if the CPU usage is affected, but this is something that comes up occasionally and there is not a direct Wowza cause as far as I know.

    Richard

  6. #6

    Default

    Thank you.But when I shutdown a Wowza Cpu usage turn to normally.
    I can use java JDK 64 Bit version. May be java problem ?

Similar Threads

  1. Memory Usage increases to 100 % over time (Streaming Engine 4.1.0 on EC2 instance)
    By niemion in forum Wowza Streaming Engine in the Cloud
    Replies: 9
    Last Post: 06-20-2016, 02:50 PM
  2. Memory usage is nearly 100%!
    By nitsuj102284 in forum Performance and Tuning
    Replies: 9
    Last Post: 07-17-2014, 01:10 PM
  3. High bandwidth usage
    By Doron@Softweave in forum Wowza Streaming Engine functionality
    Replies: 5
    Last Post: 05-03-2014, 04:16 AM
  4. High CPU Usage every now and then
    By stardust2678 in forum General Forum
    Replies: 1
    Last Post: 07-09-2013, 05:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •