> Hi There,
> 
>  I have a fresh install of 4.2.1 on CentOS 5.5 from the RPM repository. 
> I'm running centos 5.5 i386 inside a OpenVZ container from a VPS hosting 
> company. 
> From the point of sipxecs starts the two java processes consumes about 1.2gb 
> of memory and about 65% of the physical server's total CPU resources (2 x 4 
> core xenon). 
> the two sipxsupervisor also contribute to the extremely high load
> when i run 'service sipxecs stop' all but one java processes stop - this 
> process continues to consume a high amount of server resources
> I've attached a raw copy of top below
> I see some relation to http://track.sipfoundry.org/browse/XX-8282
> 
> I'd like to help get to the bottom of this but I need guidance on what logs 
> you may need to get there. I've included top, sipxsupervisor, freeswitch are 
> attached below.
> 
> 
> 
> top - 13:28:44 up  1:58,  0 users,  load average: 0.16, 0.09, 0.03
> Tasks:  55 total,   1 running,  53 sleeping,   0 stopped,   1 zombie
> Cpu(s):  0.4%us,  0.8%sy,  0.0%ni, 98.8%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
> Mem:   2097152k total,  1941468k used,   155684k free,        0k buffers
> Swap:        0k total,        0k used,        0k free,        0k cached
> 
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND          
>                                                            
> 16075 sipxchan  15   0 69952 5048 4092 S  1.7  0.2   0:05.62 sipxpark         
>                                                           
> 15592 sipxchan  15   0 69588 5252 4020 S  1.0  0.3   0:04.58 sipxpresence     
>                                                           
> 16222 sipxchan  15   0 28344  14m 4332 S  0.7  0.7   0:04.64 freeswitch       
>                                                            
> 16118 sipxchan  15   0 25376  11m 2548 S  0.3  0.5   0:01.97 sipxconfig-agen  
>                                                            
> 16209 sipxchan  19   0  682m 103m 9352 S  0.3  5.1   0:10.70 java             
>                                                           
> 16248 sipxchan  15   0 26496  12m 2904 S  0.3  0.6   0:02.17 ruby             
>                                                           
>     1 root      15   0  2148  660  568 S  0.0  0.0   0:01.90 init             
>                                                            
> 14168 sipxchan  15   0  143m 8976 6224 S  0.0  0.4   0:00.74 sipxsupervisor   
>                                                            
> 14170 root      21   0 10812  716  208 S  0.0  0.0   0:00.00 sipxsupervisor   
>                                                            
> 15857 sipxchan  15   0 38104 4808 4004 S  0.0  0.2   0:00.58 sipxrls          
>                                                            
> 15945 sipxchan  18   0  656m  24m 7772 S  0.0  1.2   0:01.28 java             
>                                                           
> 16054 sipxchan  21   0     0    0    0 Z  0.0  0.0   0:00.02 sipxopenfire.sh 
> <defunct>                                                   
> 16096 sipxchan  18   0 30896 3868 3184 S  0.0  0.2   0:00.32 sipstatus        
>                                                            
> 16121 sipxchan  15   0 15500 4092 3488 S  0.0  0.2   0:00.04 sipxacd          
>                                                            
> 16217 root      18  -4  2236  556  344 S  0.0  0.0   0:00.00 udevd            
>                                                           
> 17430 postgres  15   0 20980 3660 2648 S  0.0  0.2   0:00.00 postmaster       
>                                                           
> 17433 postgres  17   0 20980 3200 2284 S  0.0  0.2   0:00.00 postmaster       
>                                                           
> 17450 sipxchan  18   0 40240 5588 4280 S  0.0  0.3   0:00.51 sipxsaa          
>                                                            
> 17498 sipxchan  15   0 43808 4756 3760 S  0.0  0.2   0:00.82 sipregistrar     
>                                                           
> 17520 sipxchan  18   0 12340  10m 1836 S  0.0  0.5   0:00.21 mrtg             
>                                                           
> 17548 root      15   0  9756 3332 1952 S  0.0  0.2   0:00.06 httpd            
>                                                            
> 17561 root      15   0  1804  608  512 S  0.0  0.0   0:00.02 syslogd          
>                                                           
> 17575 postgres  15   0 21564 4496 3232 S  0.0  0.2   0:00.01 postmaster       
>                                                           
> 17576 postgres  15   0 20972 4188 3104 S  0.0  0.2   0:00.01 postmaster       
>                                                           
> 17585 postgres  15   0 20972 4088 3032 S  0.0  0.2   0:00.00 postmaster       
>                                                           
> 17638 sipxchan  15   0  9756 2596 1168 S  0.0  0.1   0:00.00 httpd            
>                                                            
> 17639 sipxchan  15   0  9756 2596 1168 S  0.0  0.1   0:00.00 httpd            
>                                                            
> 17640 sipxchan  15   0  9756 2596 1168 S  0.0  0.1   0:00.00 httpd            
>                                                            
> 17641 sipxchan  15   0  9756 2596 1168 S  0.0  0.1   0:00.00 httpd            
>                                                            
> 17642 sipxchan  15   0  9756 2596 1168 S  0.0  0.1   0:00.00 httpd            
>                                                            
> 17732 root      15   0 25780 6532 4032 S  0.0  0.3   0:00.34 snmpd            
>                                                           
> 17744 root      18   0  7172 1064  664 S  0.0  0.1   0:00.05 sshd             
>                                                           
> 17756 root      18   0  2824  852  684 S  0.0  0.0   0:00.00 xinetd           
>                                                           
> 17767 root      20   0  5276  512  240 S  0.0  0.0   0:00.00 vsftpd           
>                                                           
> 17801 root      23   0  3700 1300 1128 S  0.0  0.1   0:00.00 mysqld_safe      
>                                                            
> 17851 mysql     15   0  134m  18m 4640 S  0.0  0.9   0:02.19 mysqld           
>                                                           
> 17917 postgres  15   0 20300 3348 2844 S  0.0  0.2   0:00.14 postmaster       
>                                                           
> 17919 postgres  15   0 10080  812  304 S  0.0  0.0   0:00.27 postmaster       
>                                                            
> 17921 postgres  15   0 20300 1812 1288 S  0.0  0.1   0:01.66 postmaster       
>                                                           
> 17922 postgres  15   0 11080  820  300 S  0.0  0.0   0:00.03 postmaster       
>                                                            
> 17923 postgres  15   0 10260 1032  420 S  0.0  0.0   0:00.00 postmaster       
>                                                            
> 17944 root      15   0  9288 1896  816 S  0.0  0.1   0:00.19 sendmail         
>                                                            
> 17945 root      15   0  9312 2652 1488 S  0.0  0.1   0:00.27 sendmail         
>                                                            
> 17952 smmsp     25   0  8240 1500  632 S  0.0  0.1   0:00.00 sendmail         
>                                                            
> 17953 smmsp     15   0  8240 1444  532 S  0.0  0.1   0:00.23 sendmail         
>                                                            
> 17992 root      15   0  4484 1108  568 S  0.0  0.1   0:00.02 crond            
>                                                            
>                        
> 
> 
> tail sipxsupervisor.log
> "2010-07-20T09:23:19.734453Z":1230:KERNEL:INFO:sys:HttpServer-3:B6FFFB90:Supervisor:"OsConnectionSocket::~"
> "2010-07-20T09:23:19.734452Z":1229:XMLRPC:INFO:sys:AlarmRequestTask-121:AF0CCB90:Supervisor:"XmlRpcRequest::execute
>  XML-RPC received valid response = \n<?xml version=\"1.0\" 
> encoding=\"UTF-8\"?>\n<methodResponse><!-- Alarm.raiseAlarm 
> -->\n<params>\n<param>\n<value><boolean>1</boolean></value>\n</param>\n</params>\n</methodResponse>"
> "2010-07-20T09:23:19.767337Z":1231:SUPERVISOR:ERR:sys:SipxProcess-50:B34CCB90:Supervisor:"SipxProcess[SipXrest]::commandOutput
>  'Version Error occurred during initialization of VM'"
> "2010-07-20T09:23:19.767367Z":1232:SUPERVISOR:ERR:sys:SipxProcess-50:B34CCB90:Supervisor:"SipxProcess[SipXrest]::commandOutput
>  'Could not reserve enough space for object heap'"
> "2010-07-20T09:23:19.767385Z":1233:SUPERVISOR:ERR:sys:SipxProcess-50:B34CCB90:Supervisor:"SipxProcess[SipXrest]::commandOutput
>  'Could not create the Java virtual machine. not compatible'"
> "2010-07-20T09:23:19.769265Z":1234:SUPERVISOR:ERR:sys:SipxProcess-50:B34CCB90:Supervisor:"SipxProcess[SipXrest]::commandOutput
>  'Cannot locate the Java VM on your machine or wrong version of Java 
> installed. Please either install Java'"
> "2010-07-20T09:23:19.769287Z":1235:SUPERVISOR:ERR:sys:SipxProcess-50:B34CCB90:Supervisor:"SipxProcess[SipXrest]::commandOutput
>  ' or set the SIPX_JAVA_HOME environment variable to where you've installed 
> it.'"
> "2010-07-20T09:23:19.776618Z":1236:SUPERVISOR:ERR:sys:SipxProcess-50:B34CCB90:Supervisor:"SipxProcess[SipXrest]::commandOutput
>  '/usr/bin/sipxrest.sh: line 83: -classpath: command not found'"
> "2010-07-20T09:23:19.779249Z":1237:SUPERVISOR:ERR:sys:SipxProcess-50:B34CCB90:Supervisor:"SipxProcess[SipXrest]::commandOutput
>  '/usr/bin/sipxrest.sh: line 92: exec: -D: invalid option'"
> "2010-07-20T09:23:19.779336Z":1238:SUPERVISOR:ERR:sys:SipxProcess-50:B34CCB90:Supervisor:"SipxProcess[SipXrest]::commandOutput
>  'exec: usage: exec [-cl] [-a name] file [redirection ...]'"
> 
> tail freeswitch.log
> 2010-07-20 13:22:10.948589 [NOTICE] switch_core.c:981 Created ip list 
> loopback.auto default (deny)
> 2010-07-20 13:22:10.948595 [NOTICE] switch_utils.c:195 Adding 127.0.0.0/8 
> (allow) [] to list loopback.auto
> 2010-07-20 13:22:10.948602 [NOTICE] switch_core.c:987 Created ip list 
> localnet.auto default (deny)
> 2010-07-20 13:22:10.948608 [NOTICE] switch_core.c:990 Adding 
> 204.45.15.79/255.255.255.255 (allow) to list localnet.auto
> 2010-07-20 13:22:10.948610 [NOTICE] mod_xml_rpc.c:970 Starting HTTP Port 
> 8080, DocRoot [/etc/sipxpbx/freeswitch/conf/htdocs]
> 2010-07-20 13:22:10.948640 [NOTICE] switch_utils.c:195 Adding 192.168.42.0/24 
> (deny) [] to list lan
> 2010-07-20 13:22:10.948649 [NOTICE] switch_core.c:1086 Adding 192.168.42.0/24 
> (deny) to list lan
> 2010-07-20 13:22:10.948656 [NOTICE] switch_utils.c:195 Adding 
> 192.168.42.42/32 (allow) [] to list lan
> 2010-07-20 13:22:10.948662 [NOTICE] switch_core.c:1086 Adding 
> 192.168.42.42/32 (allow) to list lan
> 
> 
> 
> Please advice!
> 
> Kind regards,
>  Mikael 
> 
_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to