[Red5devs] 99.9% CPU

Walter Tak walter at waltertak.com
Fri Jun 27 09:41:26 PDT 2008


Do you have any processing code in appDisconnect / roomLeave etc ?

If so ; the execution of that code might be processed when you'd disconnect 
1000 clients/connections suddenly.

If you'd insert a row in a db or call an external url on a disconnect then 
your server will have a hard time processing those in a few seconds ; hence 
you see near 100% cpuload for some time.

Walter

----- Original Message ----- 
From: "hutx" <hutx at yahoo.com>
To: <red5devs at osflash.org>
Sent: Friday, June 27, 2008 6:31 PM
Subject: [Red5devs] 99.9% CPU


>
> I developed an Application. It behaves strange.
>
> I use a client to run the stress test on the
> application. The CPU will go up to 99.9% after
> sometime. If I stop the stress test, the CPU is still
> 99.9%. If I began the stress test again, the Red5 and
> application still work. Moreover, the CPU will go down
> a little. If I stop the stress test, the CPU will go
> up 99.9% again.
>
> What cause this strange behavior?
> Thanks a lot.
>
>
>
>
>
> _______________________________________________
> Red5devs mailing list
> Red5devs at osflash.org
> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.524 / Virus Database: 270.4.1/1521 - Release Date: 6/26/2008 
> 11:20 AM
>
> 


-- 
I am using the free version of SPAMfighter for private users.
It has removed 352 spam emails to date.
Paying users do not have this message in their emails.
Get the free SPAMfighter here: http://www.spamfighter.com/len





More information about the Red5devs mailing list