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.

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@teigre.com]
Sent: Wednesday, October 05, 2005 1:54 PM
To: Chia Huey Lim; serusers@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

To: serusers@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@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers