Server Hang

General support questions including new installations
Post Reply
kolucoms6
Posts: 63
Joined: 2008/09/20 15:05:51

Server Hang

Post by kolucoms6 » 2009/03/26 21:56:51

I have Cent OS 5.1

I also have http://phpsysinfo.sourceforge.net/

I have asterisk running .

Now when I look at System Information ,

I see that "Physical Memory" keep increasing and at one point it reaches 96%. Then my sever get hang and then I have to restart it.

I have 4 GB RAM.

Processors 2
Model Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz
CPU Speed 2.53 GHz
Cache Size 3.00 MB
System Bogomips 10135.71

Kernel Version 2.6.18-53.el5 (SMP)
Distro Name CentOS release 5 (Final)
Load Averages 0.27 0.35 0.31


What could be the reason ?

kolucoms6
Posts: 63
Joined: 2008/09/20 15:05:51

Re: Server Hang

Post by kolucoms6 » 2009/03/27 01:33:53

ps ax shows :




PID TTY STAT TIME COMMAND
1 ? Ss 0:00 init [3]
2 ? S 0:00 [migration/0]
3 ? SN 0:00 [ksoftirqd/0]
4 ? S 0:00 [watchdog/0]
5 ? S 0:00 [migration/1]
6 ? SN 0:00 [ksoftirqd/1]
7 ? S 0:00 [watchdog/1]
8 ? S< 0:00 [events/0]
9 ? S< 0:00 [events/1]
10 ? S< 0:00 [khelper]
11 ? S< 0:00 [kthread]
15 ? R< 0:00 [kblockd/0]
16 ? S< 0:00 [kblockd/1]
17 ? S< 0:00 [kacpid]
109 ? S< 0:00 [cqueue/0]
110 ? S< 0:00 [cqueue/1]
113 ? S< 0:00 [khubd]
115 ? S< 0:00 [kseriod]
182 ? S 0:00 [pdflush]
183 ? S 0:00 [pdflush]
184 ? S< 0:00 [kswapd0]
185 ? S< 0:00 [aio/0]
186 ? S< 0:00 [aio/1]
338 ? S< 0:00 [kpsmoused]
370 ? S< 0:00 [ata/0]
371 ? S< 0:00 [ata/1]
372 ? S< 0:00 [ata_aux]
376 ? S< 0:00 [scsi_eh_0]
377 ? S< 0:00 [scsi_eh_1]
378 ? D< 0:00 [kjournald]
405 ? S< 0:00 [kauditd]
439 ? S<s 0:00 /sbin/udevd -d
1374 ? S< 0:00 [kmpathd/0]
1375 ? S< 0:00 [kmpathd/1]
1405 ? S< 0:00 [kjournald]
1967 ? Ss 0:00 syslogd -m 0
1970 ? Ss 0:00 klogd -x
2021 ? Ss 0:00 portmap
2046 ? Ss 0:00 rpc.statd
2062 ? Ss 0:00 dbus-daemon --system
2103 ? Ss 0:00 /usr/sbin/acpid
2130 ? Ss 0:00 /usr/sbin/sshd
2219 ? S 0:00 /bin/sh /usr/bin/mysqld_safe --defaults-file=/etc/my.
2255 ? Sl 0:01 /usr/libexec/mysqld --defaults-file=/etc/my.cnf --bas
2294 ? Ss 0:00 sendmail: accepting connections
2302 ? Ss 0:00 sendmail: Queue runner@01:00:00 for /var/spool/client
2320 ? Ss 0:00 /usr/sbin/httpd
2335 ? Ss 0:00 crond
2364 ? Ss 0:00 /usr/sbin/atd
2379 ? Ss 0:00 hald
2380 ? S 0:00 hald-runner
2387 ? S 0:00 /usr/sbin/httpd
2388 ? S 0:00 /usr/sbin/httpd
2389 ? S 0:00 /usr/sbin/httpd
2390 ? S 0:00 /usr/sbin/httpd
2391 ? S 0:00 /usr/sbin/httpd
2392 ? S 0:00 hald-addon-acpi: listening on acpid socket /var/run/a
2393 ? S 0:00 /usr/sbin/httpd
2394 ? S 0:00 /usr/sbin/httpd
2396 ? S 0:00 /usr/sbin/httpd
2397 ? S 0:00 /usr/libexec/hald-addon-cpufreq
2402 ? S 0:00 hald-addon-keyboard: listening on /dev/input/event0
2630 ? Ss 0:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
2746 ? Ss 0:00 /usr/bin/SCREEN -L -d -m -S asterisk /usr/sbin/asteri
2747 pts/0 Ssl+ 0:01 /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgc
2801 ? Ss 0:00 /usr/bin/SCREEN -d -m -S ASTupdate /usr/share/astguic
2803 pts/1 Ss+ 0:01 /usr/bin/perl /usr/share/astguiclient/AST_update.pl
2804 ? Ss 0:00 /usr/bin/SCREEN -d -m -S ASTsend /usr/share/astguicli
2805 pts/2 Ss+ 0:00 /usr/bin/perl /usr/share/astguiclient/AST_manager_sen
2807 ? Ss 0:00 /usr/bin/SCREEN -d -m -S ASTlisten /usr/share/astguic
2808 pts/3 Ss+ 0:00 /usr/bin/perl /usr/share/astguiclient/AST_manager_lis
2810 ? Ss 0:00 /usr/bin/SCREEN -d -m -S ASTVDauto /usr/share/astguic
2811 pts/4 Ss+ 0:00 /usr/bin/perl /usr/share/astguiclient/AST_VDauto_dial
2813 ? Ss 0:00 /usr/bin/SCREEN -d -m -S ASTVDremote /usr/share/astgu
2815 pts/5 Ss+ 0:00 /usr/bin/perl /usr/share/astguiclient/AST_VDremote_ag
2816 ? Ss 0:00 /usr/bin/SCREEN -d -m -S ASTVDadapt /usr/share/astgui
2818 pts/6 Ss+ 0:00 /usr/bin/perl /usr/share/astguiclient/AST_VDadapt.pl
2819 ? Ss 0:00 /usr/bin/SCREEN -d -m -S ASTfastlog /usr/share/astgui
2820 pts/7 Ss+ 0:00 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl
2828 ? S 0:00 ip_relay 40569 127.0.0.1 4569 9999999
2829 ? S 0:00 ip_relay 41569 127.0.0.1 4569 9999999
2836 pts/7 S+ 0:00 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl
2837 pts/7 S+ 0:00 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl
2838 pts/7 S+ 0:00 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl
2839 pts/7 S+ 0:00 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl
2840 pts/7 S+ 0:00 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl
2869 ? S 0:00 /usr/sbin/smartd -q never
2875 ? Ss 0:00 /usr/bin/perl /usr/libexec/webmin/miniserv.pl /etc/we
2880 tty1 Ss+ 0:00 /sbin/mingetty tty1
2883 tty2 Ss+ 0:00 /sbin/mingetty tty2
2884 tty3 Ss+ 0:00 /sbin/mingetty tty3
2885 tty4 Ss+ 0:00 /sbin/mingetty tty4
2886 tty5 Ss+ 0:00 /sbin/mingetty tty5
2887 tty6 Ss+ 0:00 /sbin/mingetty tty6
3040 ? S 0:00 crond
3047 ? Ss 0:00 /usr/bin/perl /usr/share/astguiclient/AST_CRON_audio_
3072 ? S 0:00 /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t
3191 ? S 0:00 crond
3199 ? Ss 0:00 /usr/bin/perl /usr/share/astguiclient/AST_CRON_audio_
3212 ? S 0:00 /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t
3699 ? S 0:00 crond
3705 ? Ss 0:00 /usr/bin/perl /usr/share/astguiclient/AST_CRON_audio_
3718 ? S 0:00 /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t
4090 ? S 0:00 crond
4096 ? Ss 0:00 /usr/bin/perl /usr/share/astguiclient/AST_CRON_audio_
4112 ? S 0:00 /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t
5027 ? S 0:00 crond
5030 ? Ss 0:00 /usr/bin/perl /usr/share/astguiclient/AST_CRON_audio_
5049 ? S 0:00 /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t
5572 ? S 0:00 crond
5578 ? Ss 0:00 /usr/bin/perl /usr/share/astguiclient/AST_CRON_audio_
5592 ? S 0:00 /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t
6982 ? S 0:00 crond
6988 ? Ss 0:00 /usr/bin/perl /usr/share/astguiclient/AST_CRON_audio_
7012 ? S 0:00 /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t
7782 ? S 0:00 crond
7787 ? Ss 0:00 /usr/bin/perl /usr/share/astguiclient/AST_CRON_audio_
7810 ? S 0:00 /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t
9586 ? S 0:00 crond
9594 ? Ss 0:00 /usr/bin/perl /usr/share/astguiclient/AST_CRON_audio_
9623 ? S 0:00 /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t
10562 ? S 0:00 crond
10564 ? S 0:00 crond
10568 ? Ss 0:00 /usr/bin/perl /usr/share/astguiclient/AST_CRON_audio_
10569 ? Ss 0:00 /usr/bin/perl /usr/share/astguiclient/AST_manager_kil
10597 ? S 0:00 /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t
10988 ? Ss 0:00 sshd: root@pts/8
11045 pts/8 Ss 0:00 -bash
11355 pts/8 R+ 0:00 ps ax

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Server Hang

Post by pschaff » 2009/03/27 11:48:58

[quote]
kolucoms6 wrote:
...
Kernel Version 2.6.18-53.el5 (SMP)
Distro Name CentOS release 5 (Final)
Load Averages 0.27 0.35 0.31


What could be the reason ?[/quote]
The ancient kernel you are running? No updates since 5.1? The newer kernels in 5.3 will have substantial changes in memory handling, but don't wait to upgrade!

kolucoms6
Posts: 63
Joined: 2008/09/20 15:05:51

Re: Server Hang

Post by kolucoms6 » 2009/03/27 15:20:55

I used VicidialNOW CD which comes with integrated CentOS and Asterisk.

1) If I upgrade kernel , wont it break the functionality of any files ?
2) If it wotn break, then how to upgrade ?

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Server Hang

Post by gerald_clark » 2009/03/27 16:58:11

You should be asking all these questions at your vicidialNOW supplier.
We have no way of knowing what may or may not have been changed
when this custom asterisk package.

kolucoms6
Posts: 63
Joined: 2008/09/20 15:05:51

Re: Server Hang

Post by kolucoms6 » 2009/03/28 00:22:58

http://www.sharkspace.com/helpcenter/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=141&nav=0,22


Here is what i tried :

[root@vicidialnow ~]# yum upgrade kernel-smp
Loading "installonlyn" plugin
Setting up Upgrade Process
Setting up repositories
extras 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 90 kB 00:01
################################################## 298/298
primary.xml.gz 100% |=========================| 374 kB 00:06
################################################## 805/805
primary.xml.gz 100% |=========================| 853 kB 01:55
################################################## 2458/2458
primary.xml.gz 100% |=========================| 157 B 00:00
Could not find update match for kernel-smp
No Packages marked for Update/Obsoletion
[root@vicidialnow ~]#


uname -a Returns me :

Linux vicidialnow.example.com 2.6.18-53.el5 #1 SMP Mon Nov 12 02:22:48 EST 2007 i686 i686 i386 GNU/Linux

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: Server Hang

Post by AlanBartlett » 2009/03/28 15:37:45

I'll re-iterate what [b]Gerald[/b] has already stated --

[quote]
You should be asking all these questions at your vicidialNOW supplier.
We have no way of knowing what may or may not have been changed
when this custom asterisk package.
[/quote]
The important part is the first sentence.

There is no such thing as a [i]kernel-smp[/i] in [i]CentOS-5[/i]. The command line [b]yum update kernel\*[/b] [i]may[/i] achieve the desired result -- however as you are [i]not[/i] running true [i]CentOS-5[/i], only something supplied by [i]vicidialNOW[/i] that is based on [i]CentOS-5[/i], you should ask your supplier for support.

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Server Hang

Post by toracat » 2009/03/28 16:24:50

@kolucoms6,

You really have to contact vicidialNOW as advised already 3 times (including the one in reply to your post on the CentOS mailing list). Looking for somewhere else will not lead to the solution. As Alan stated, kernel-smp is not in CentOS-5 (it is in CentOS-4). The info you read was just not appropriate in your case.

kolucoms6
Posts: 63
Joined: 2008/09/20 15:05:51

Re: Server Hang

Post by kolucoms6 » 2009/03/28 20:06:34

Added in Cron solved my problem :

#### Flush cache after every 20 minutes
29,59 * * * 1,2,3,4,5,6,7 sync; echo 3 > /proc/sys/vm/drop_caches


Thanks to all of you for taking out time and helping me.

Post Reply