We are experiencing high cpu load after setting up a CentOS 6.6 (fully updated; kernel 2.6.32) with a stable 1.4.15 freeswitch on a vmware 5.1 esxi server. Is the nohz=off setting still applicable? Thanks a lot for any help. Much appreciated Kind regards Martin
Is it the same on 1.4.18?
On Apr 16, 2015, at 5:23 AM, Martin Tomczyk <martin.tomczyk@legion.de> wrote:
We are experiencing high cpu load after setting up a CentOS 6.6 (fully updated; kernel 2.6.32) with a stable 1.4.15 freeswitch on a vmware 5.1 esxi server. Is the nohz=off setting still applicable? Thanks a lot for any help. Much appreciated Kind regards Martin
Thanks for getting abck. My mistake. Sorry, yes it is v1.4.18. but I doubt that it is directly associated to freeswitch. At least for now since the cpu went up after a strange case of IP issue on OS level. So my question is more a general one. Thank you Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Michael Jerris Gesendet: Donnerstag, 16. April 2015 14:39 An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] nohz=off CentOS 6.6 needed? Is it the same on 1.4.18? On Apr 16, 2015, at 5:23 AM, Martin Tomczyk <martin.tomczyk@legion.de> wrote: We are experiencing high cpu load after setting up a CentOS 6.6 (fully updated; kernel 2.6.32) with a stable 1.4.15 freeswitch on a vmware 5.1 esxi server. Is the nohz=off setting still applicable? Thanks a lot for any help. Much appreciated Kind regards Martin
I recall that earlier versions of CentOS 6 had some kind of problem related to the clock, but I thought 6.6 solved that problem. Also, please check that FreeSWITCH is being started with the -np switch, or at least NOT started with the -rp switch. Hope this helps. Bote From: Martin Tomczyk Sent: Thursday, 16 April, 2015 08:58 Subject: Re: [Freeswitch-users] nohz=off CentOS 6.6 needed? Thanks for getting abck. My mistake. Sorry, yes it is v1.4.18. but I doubt that it is directly associated to freeswitch. At least for now since the cpu went up after a strange case of IP issue on OS level. So my question is more a general one. Thank you Von: Michael Jerris Gesendet: Donnerstag, 16. April 2015 14:39 Betreff: Re: [Freeswitch-users] nohz=off CentOS 6.6 needed? Is it the same on 1.4.18? On Apr 16, 2015, at 5:23 AM, Martin Tomczyk <martin.tomczyk@legion.de> wrote: We are experiencing high cpu load after setting up a CentOS 6.6 (fully updated; kernel 2.6.32) with a stable 1.4.15 freeswitch on a vmware 5.1 esxi server. Is the nohz=off setting still applicable? Thanks a lot for any help. Much appreciated Kind regards Martin
Thanks. Well maybe it has something to do with the daemon script that we started using additionaly: it has the daemon args -nc Attached the whole script. How does it differ from the regular running of /usr/local/freeswitch/bin and then ./freeswitch? #!/bin/bash # # /etc/rc.d/init.d/freeswitch # # The FreeSwitch Open Source Voice Platform # # chkconfig: 345 89 14 # description: Starts and stops the freeswitch server daemon # processname: freeswitch # config: /usr/local/freeswitch/conf/freeswitch.conf # pidfile: /usr/local/freeswitch/run/freeswitch.pid # # Source function library. . /etc/init.d/functions PROG_NAME=freeswitch PID_FILE=${PID_FILE-/var/run/freeswitch/freeswitch.pid} FS_USER=${FS_USER-freeswitch} FS_FILE=${FS_FILE-/usr/bin/freeswitch} FS_HOME=${FS_HOME-/var/run/freeswitch} LOCK_FILE=/var/lock/subsys/freeswitch FREESWITCH_ARGS="-nc" RETVAL=0 # Source usr/localions file if [ -f /etc/sysconfig/freeswitch ]; then . /etc/sysconfig/freeswitch fi # <define any local shell functions used by the code that follows> start() { echo -n "Starting $PROG_NAME: " if [ -e $LOCK_FILE ]; then if [ -e $PID_FILE ] && [ -e /proc/`cat $PID_FILE` ]; then echo echo -n $"$PROG_NAME is already running."; failure $"$PROG_NAME is already running."; echo return 1 fi fi cd $FS_HOME daemon --user $FS_USER --pidfile $PID_FILE "$FS_FILE $FREESWITCH_ARGS $FREESWITCH_PARAMS >/dev/null 2>&1" RETVAL=$? echo [ $RETVAL -eq 0 ] && touch $LOCK_FILE; echo return $RETVAL } stop() { echo -n "Shutting down $PROG_NAME: " if [ ! -e $LOCK_FILE ]; then echo echo -n $"cannot stop $PROG_NAME: $PROG_NAME is not running." failure $"cannot stop $PROG_NAME: $PROG_NAME is not running." echo return 1; fi cd $FS_HOME $FS_FILE -stop > /dev/null 2>&1 killproc $PROG_NAME RETVAL=$? echo [ $RETVAL -eq 0 ] && rm -f $LOCK_FILE; return $RETVAL } rhstatus() { status $PROG_NAME; } case "$1" in start) start ;; stop) stop ;; status) status $PROG_NAME RETVAL=$? ;; restart) stop start ;; reload) # <cause the service configuration to be reread, either with # kill -HUP or by restarting the daemons, in a manner similar # to restart above> ;; condrestart) [ -f $PID_FILE ] && restart || : ;; *) echo "Usage: $PROG_NAME {start|stop|status|reload|restart}" exit 1 ;; esac exit $RETVAL Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Bote Man Gesendet: Donnerstag, 16. April 2015 19:49 An: 'FreeSWITCH Users Help' Betreff: Re: [Freeswitch-users] nohz=off CentOS 6.6 needed? I recall that earlier versions of CentOS 6 had some kind of problem related to the clock, but I thought 6.6 solved that problem. Also, please check that FreeSWITCH is being started with the -np switch, or at least NOT started with the -rp switch. Hope this helps. Bote From: Martin Tomczyk Sent: Thursday, 16 April, 2015 08:58 Subject: Re: [Freeswitch-users] nohz=off CentOS 6.6 needed? Thanks for getting abck. My mistake. Sorry, yes it is v1.4.18. but I doubt that it is directly associated to freeswitch. At least for now since the cpu went up after a strange case of IP issue on OS level. So my question is more a general one. Thank you Von: Michael Jerris Gesendet: Donnerstag, 16. April 2015 14:39 Betreff: Re: [Freeswitch-users] nohz=off CentOS 6.6 needed? Is it the same on 1.4.18? On Apr 16, 2015, at 5:23 AM, Martin Tomczyk <martin.tomczyk@legion.de> wrote: We are experiencing high cpu load after setting up a CentOS 6.6 (fully updated; kernel 2.6.32) with a stable 1.4.15 freeswitch on a vmware 5.1 esxi server. Is the nohz=off setting still applicable? Thanks a lot for any help. Much appreciated Kind regards Martin
Bote, what's wrong with -rp? Jalsot On Thu, Apr 16, 2015 at 7:49 PM, Bote Man <bote_radio@botecomm.com> wrote:
I recall that earlier versions of CentOS 6 had some kind of problem related to the clock, but I thought 6.6 solved that problem.
Also, please check that FreeSWITCH is being started with the –np switch, or at least NOT started with the –rp switch.
Hope this helps.
Bote
*From:* Martin Tomczyk *Sent:* Thursday, 16 April, 2015 08:58 *Subject:* Re: [Freeswitch-users] nohz=off CentOS 6.6 needed?
Thanks for getting abck.
My mistake. Sorry, yes it is v1.4.18.
but I doubt that it is directly associated to freeswitch. At least for now since the cpu went up after a strange case of IP issue on OS level.
So my question is more a general one.
Thank you
*Von:* Michael Jerris *Gesendet:* Donnerstag, 16. April 2015 14:39 *Betreff:* Re: [Freeswitch-users] nohz=off CentOS 6.6 needed?
Is it the same on 1.4.18?
On Apr 16, 2015, at 5:23 AM, Martin Tomczyk <martin.tomczyk@legion.de> wrote:
We are experiencing high cpu load after setting up a CentOS 6.6 (fully updated; kernel 2.6.32) with a stable 1.4.15 freeswitch on a vmware 5.1 esxi server.
Is the nohz=off setting still applicable? Thanks a lot for any help. Much appreciated
Kind regards
Martin
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I thought that these are priority settings they you can set depending on your env too?! My daemon starts with –nc only. Is that wrong? Anyway. Yesterday I switched from the high loaded cpu machine to another one. During this time 5 calls (yes, five) caused a usage of all 8 cores with 2 ht cores consuming 100% of the esxi cpu power with round about 24GHz. But the calls were handled flawless and went totally normal. A service restart did not bring freeswitch up and it was stuck in the state: Service freeswitch dead but subsys locked Which was due to a stale pid file based on a crashed stop or start. But why this cpu spike happened is the big question. I will monitor it and give feedback if I find something. Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Tamas Jalsovszky Gesendet: Freitag, 17. April 2015 09:41 An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] nohz=off CentOS 6.6 needed? Bote, what's wrong with -rp? Jalsot On Thu, Apr 16, 2015 at 7:49 PM, Bote Man <bote_radio@botecomm.com> wrote: I recall that earlier versions of CentOS 6 had some kind of problem related to the clock, but I thought 6.6 solved that problem. Also, please check that FreeSWITCH is being started with the –np switch, or at least NOT started with the –rp switch. Hope this helps. Bote From: Martin Tomczyk Sent: Thursday, 16 April, 2015 08:58 Subject: Re: [Freeswitch-users] nohz=off CentOS 6.6 needed? Thanks for getting abck. My mistake. Sorry, yes it is v1.4.18. but I doubt that it is directly associated to freeswitch. At least for now since the cpu went up after a strange case of IP issue on OS level. So my question is more a general one. Thank you Von: Michael Jerris Gesendet: Donnerstag, 16. April 2015 14:39 Betreff: Re: [Freeswitch-users] nohz=off CentOS 6.6 needed? Is it the same on 1.4.18? On Apr 16, 2015, at 5:23 AM, Martin Tomczyk <martin.tomczyk@legion.de> wrote: We are experiencing high cpu load after setting up a CentOS 6.6 (fully updated; kernel 2.6.32) with a stable 1.4.15 freeswitch on a vmware 5.1 esxi server. Is the nohz=off setting still applicable? Thanks a lot for any help. Much appreciated Kind regards Martin _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (4)
-
Bote Man
-
Martin Tomczyk
-
Michael Jerris
-
Tamas Jalsovszky