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
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
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 mailto:chiahuey@switchware.com.my 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
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@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 <mailto:chiahuey@switchware.com.my> *To:* serusers@lists.iptel.org <mailto: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
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
I never had any problem with ser, but with postgres. Sometimes, (if you forget to VACUUM postgres or if the index of the tables is corrupt) postgres will consume a lot of CPU.
klaus
Chia Huey Lim wrote:
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
Thanks Klaus. It's really postgres that's causing problem, after VACUUM and reindexing the tables, CPU usage is now normal even during binding.
Regards, Chia
-----Original Message----- From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at] Sent: Wednesday, October 05, 2005 3:21 PM To: Chia Huey Lim Cc: serusers@lists.iptel.org Subject: Re: [Serusers] SER and cpu usage
I never had any problem with ser, but with postgres. Sometimes, (if you forget to VACUUM postgres or if the index of the tables is corrupt) postgres will consume a lot of CPU.
klaus
Chia Huey Lim wrote:
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