[Serusers] SER and cpu usage

Klaus Darilion klaus.mailinglists at pernau.at
Wed Oct 5 09:53:45 CEST 2005


Chia Huey Lim wrote:
> Ya… using top, I can see whenever SER is binding users, each child takes 
> around 11% to 13% of the CPU usage, which left only 0.x% is idle in 
> total (even with dual cpu on the machine)… and it takes at least few 
> seconds to 30 seconds to bind the users.
> 
> When there is no binding, even if UAs rushing in to register, the CPU 
> usage is around 0.1% to 1.0% in total only. The CPU usage will suddenly 
> shoot up whenever there is binding.
> 
>  
> 
> I tried to use db mode 0 instead, then everything is alright, binding is 
> fast and CPU usage does not shoot up.
> 
> However, I failed to trace the connection problem between SER and 
> postgresql. Can’t find information from the SER console.

ngrep -d any port 5432
... should show you the postgres connection

klaus

> 
> Is there any way to trace and test it?
> 
> I am using currently using ser-0.9.3, postgresql 8.0 which is located at 
> the other server (both servers at the same LAN, same subnet).
> 
>  
> 
> Regards,
> 
> Chia
> 
>  
> 
>  
> 
> ------------------------------------------------------------------------
> 
> *From:* Greger V. Teigre [mailto:greger at teigre.com]
> *Sent:* Wednesday, October 05, 2005 1:54 PM
> *To:* Chia Huey Lim; serusers at lists.iptel.org
> *Subject:* Re: [Serusers] SER and cpu usage
> 
>  
> 
> Use top to monitor real resource usage while getting registrations.  
> Some Linux systems' ps command will show each child with the summed cpu 
> usage of ALL children.
> 
> g-)
> 
>     ----- Original Message -----
> 
>     *From:* Chia Huey Lim <mailto:chiahuey at switchware.com.my>
> 
>     *To:* serusers at lists.iptel.org <mailto:serusers at lists.iptel.org>
> 
>     *Sent:* Wednesday, October 05, 2005 06:10 AM
> 
>     *Subject:* [Serusers] SER and cpu usage
> 
>      
> 
>     Hi,
> 
>      
> 
>     I am using ser 0.9.3 and postgresql with db mode 2…
> 
>     There is a very serious problem when SER is binding users. Each SER
>     PID takes around 11% to 13% of CPU, which add up to be 99.x%
> 
>     And at that time, no one can REGISTER, no one can INVITE etc…
> 
>     Anyone experience that before?
> 
>      
> 
>     Regards,
> 
>     Chia
> 
>      
> 
>     ------------------------------------------------------------------------
> 
>     _______________________________________________
>     Serusers mailing list
>     serusers at lists.iptel.org
>     http://lists.iptel.org/mailman/listinfo/serusers
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list