[root@Harrow ~]# uptime
15:33:48 up 12 min, 1 user, load average: 3.05, 5.37, 2.96
__________________________
[root@Harrow ~]# free
total used free shared buffers cached
Mem: 385444 380276 5168 0 536 20604
-/+ buffers/cache: 359136 26308
Swap: 786424 533380 253044
__________________________
[root@Harrow ~]# ps ax
PID TTY STAT TIME COMMAND
1 ? Ss 0:01 init [3]
2 ? S< 0:00 [migration/0]
3 ? SN 0:00 [ksoftirqd/0]
4 ? S< 0:00 [watchdog/0]
5 ? S< 0:00 [events/0]
6 ? S< 0:00 [khelper]
7 ? S< 0:00 [kthread]
10 ? S< 0:00 [kblockd/0]
11 ? S< 0:00 [kacpid]
75 ? S< 0:00 [cqueue/0]
78 ? S< 0:00 [khubd]
80 ? S< 0:00 [kseriod]
142 ? S 0:00 [pdflush]
143 ? S 0:00 [pdflush]
144 ? S< 0:02 [kswapd0]
145 ? S< 0:00 [aio/0]
301 ? S< 0:00 [kpsmoused]
326 ? S< 0:00 [ksnapd]
329 ? S< 0:00 [kjournald]
356 ? S< 0:00 [kauditd]
390 ? S<s 0:00 /sbin/udevd -d
733 ? S< 0:00 [kgameportd]
1177 ? S< 0:00 [kmpathd/0]
1199 ? S< 0:00 [kjournald]
1752 ? S<sl 0:00 auditd
1754 ? S<sl 0:00 /sbin/audispd
1786 ? Ss 0:00 syslogd -m 0
1789 ? Ss 0:00 klogd -x
1823 ? Ss 0:00 portmap
1848 ? Ss 0:00 rpc.statd
1881 ? Ss 0:00 rpc.idmapd
1908 ? Ss 0:00 dbus-daemon --system
2063 ? Ss 0:00 /usr/sbin/acpid
2115 ? Ss 0:00 /usr/sbin/sshd
2131 ? Ss 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
2149 ? SLs 0:00 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g
2166 ? Ss 0:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
2201 ? S 0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/var/lib/mysql/my
2258 ? Sl 0:00 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld
2406 ? Ss 0:00 /usr/lib/cyrus-imapd/cyrus
2429 ? S 0:00 idled
2432 ? S 0:00 imapd
2433 ? S 0:00 imapd -s
2434 ? S 0:00 pop3d
2435 ? S 0:00 pop3d -s
2436 ? S 0:00 lmtpd
2437 ? S 0:00 imapd
2440 ? S 0:00 imapd -s
2441 ? S 0:00 pop3d
2442 ? S 0:00 pop3d -s
2445 ? S 0:00 imapd
2446 ? S 0:00 pop3d
2447 ? S 0:00 imapd
2448 ? S 0:00 pop3d
2482 ? Ss 0:00 /usr/libexec/postfix/maste
2485 ? S 0:00 pickup -l -t fifo -u
2486 ? S 0:00 qmgr -l -t fifo -u
2500 ? S 0:00 imapd
2501 ? S 0:00 imapd
2502 ? S 0:00 imapd
2503 ? S 0:00 pop3d
2504 ? S 0:00 imapd
2505 ? S 0:00 imapd
2506 ? S 0:00 imapd
2507 ? S 0:00 pop3d
2508 ? Ss 0:00 /usr/sbin/httpd
2542 ? S 0:00 /bin/sh /usr/sbin/safe_asterisk -U asterisk -G asterisk
2551 ? Sl 3:15 /usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c
2570 ? Ss 0:00 crond
2586 ? S 0:00 /usr/sbin/httpd
2587 ? S 0:00 /usr/sbin/httpd
2588 ? S 0:00 /usr/sbin/httpd
2589 ? S 0:00 /usr/sbin/httpd
2590 ? S 0:00 /usr/sbin/httpd
2591 ? S 0:00 /usr/sbin/httpd
2592 ? S 0:00 /usr/sbin/httpd
2593 ? S 0:00 /usr/sbin/httpd
2594 ? Ss 0:00 /usr/sbin/atd
2609 ? Ss 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam
2611 ? S 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam
2612 ? S 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam
2613 ? S 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam
2614 ? S 0:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam
2628 ? Ss 0:01 hald
2629 ? S 0:00 hald-runner
2639 ? S 0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
2640 ? S 0:00 hald-addon-keyboard: listening on /dev/input/event0
2719 ? S 0:00 -bash -c cd /var/www/html/panel && /var/www/html/panel/safe_o
2720 ? S 0:00 sh /var/www/html/panel/safe_o
2722 ? S 0:01 /usr/bin/perl /var/www/html/panel/op_ser
3183 ? Ss 0:00 /usr/bin/perl /usr/libexec/webmin/minise
3186 tty1 Ss+ 0:00 /sbin/mingetty tty1
3187 tty2 Ss+ 0:00 /sbin/mingetty tty2
3188 tty3 Ss+ 0:00 /sbin/mingetty tty3
3189 tty4 Ss+ 0:00 /sbin/mingetty tty4
3190 tty5 Ss+ 0:00 /sbin/mingetty tty5
3191 tty6 Ss+ 0:00 /sbin/mingetty tty6
3266 ? Ss 0:00 sshd: root@pts/0
3269 pts/0 Ss 0:00 -bash
3304 pts/0 R+ 0:00 ps ax
_________________________
[root@Harrow ~]# cat /etc/inittab | grep initdefault
# 0 - halt (Do NOT set initdefault to this)
# 6 - reboot (Do NOT set initdefault to this)
id:3:initdefault:
[root@Harrow ~]#
__________________________
During this short time I get a screen dump :
Apr 22 15:31:44 Harrow kernel: asterisk invoked oom-killer: gfp_mask=0x201d2, order=0, oomkilladj=0
Apr 22 15:31:44 Harrow kernel: [<c0458895>] out_of_memory+0x72/0x1a5
Apr 22 15:31:44 Harrow kernel: [<c0459d6a>] __alloc_pages+0x216/0x297
Apr 22 15:31:44 Harrow kernel: [<c0455a0d>] page_cache_read+0x3f/0x98
Apr 22 15:31:44 Harrow kernel: [<c0457ec4>] filemap_nopage+0x1ce/0x312
Apr 22 15:31:44 Harrow kernel: [<c0460c8e>] __handle_mm_fault+0x178/0x
Apr 22 15:31:44 Harrow kernel: [<c0609997>] rwsem_down_read_failed+0x1
Apr 22 15:31:44 Harrow kernel: [<c041f9a7>] __activate_task+0x1c/0x29
Apr 22 15:31:44 Harrow kernel: [<c060acb3>] do_page_fault+0x20a/0x4b8
Apr 22 15:31:44 Harrow kernel: [<c060aaa9>] do_page_fault+0x0/0x4b8
Apr 22 15:31:44 Harrow kernel: [<c0405a71>] error_code+0x39/0x40
Apr 22 15:31:44 Harrow kernel: =======================
Apr 22 15:31:44 Harrow kernel: Mem-info:
Apr 22 15:31:46 Harrow kernel: DMA per-cpu:
Apr 22 15:31:47 Harrow kernel: cpu 0 hot: high 0, batch 1 used:0
Apr 22 15:31:47 Harrow kernel: cpu 0 cold: high 0, batch 1 used:0
Apr 22 15:31:47 Harrow kernel: DMA32 per-cpu: empty
Apr 22 15:31:47 Harrow kernel: Normal per-cpu:
Apr 22 15:31:47 Harrow kernel: cpu 0 hot: high 186, batch 31 used:44
Apr 22 15:31:47 Harrow kernel: cpu 0 cold: high 62, batch 15 used:14
Apr 22 15:31:47 Harrow kernel: HighMem per-cpu: empty
Apr 22 15:31:47 Harrow kernel: Free pages: 3916kB (0kB HighMem)
Apr 22 15:31:47 Harrow kernel: Active:34714 inactive:56615 dirty:0 writeback:0 unstable:0 free:979 slab:1877 mapped-file:946 mapped-anon:90108 pagetables:951
Apr 22 15:31:47 Harrow kernel: DMA free:1572kB min:104kB low:128kB high:156kB active:5372kB inactive:5196kB present:16384kB pages_scanned:48959 all_unreclaim$
Apr 22 15:31:47 Harrow kernel: lowmem_reserve[]: 0 0 367 367
Apr 22 15:31:47 Harrow kernel: DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Apr 22 15:31:47 Harrow kernel: lowmem_reserve[]: 0 0 367 367
Apr 22 15:31:47 Harrow kernel: Normal free:2344kB min:2400kB low:3000kB high:3600kB active:133484kB inactive:221264kB present:376768kB pages_scanned:612016 a$
Apr 22 15:31:47 Harrow kernel: lowmem_reserve[]: 0 0 0 0
Apr 22 15:31:47 Harrow kernel: HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Apr 22 15:31:47 Harrow kernel: lowmem_reserve[]: 0 0 0 0
Apr 22 15:31:47 Harrow kernel: DMA: 1*4kB 0*8kB 0*16kB 1*32kB 0*64kB 0*128kB 0*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 1572kB
Apr 22 15:31:47 Harrow kernel: DMA32: empty
Apr 22 15:31:47 Harrow kernel: Normal: 0*4kB 1*8kB 0*16kB 3*32kB 1*64kB 1*128kB 0*256kB 0*512kB 0*1024kB 1*2048kB 0*4096kB = 2344kB
Apr 22 15:31:47 Harrow kernel: HighMem: empty
Apr 22 15:31:47 Harrow kernel: 1450 pagecache pages
Apr 22 15:31:47 Harrow kernel: Swap cache: add 199073, delete 198848, find 225/508, race 0+0
Apr 22 15:31:47 Harrow kernel: Free swap = 0kB
Apr 22 15:31:47 Harrow kernel: Total swap = 786424kB
Apr 22 15:31:47 Harrow kernel: Free swap: 0kB
Apr 22 15:31:47 Harrow kernel: 98288 pages of RAM
Apr 22 15:31:47 Harrow kernel: 0 pages of HIGHMEM
Apr 22 15:31:47 Harrow kernel: 1943 reserved pages
Apr 22 15:31:47 Harrow kernel: 9992 pages shared
Apr 22 15:31:47 Harrow kernel: 225 pages swap cached
Apr 22 15:31:47 Harrow kernel: 0 pages dirty
Apr 22 15:31:47 Harrow kernel: 0 pages writeback
Apr 22 15:31:47 Harrow kernel: 946 pages mapped
Apr 22 15:31:47 Harrow kernel: 1877 pages slab
Apr 22 15:31:47 Harrow kernel: 951 pages pagetables
Apr 22 15:31:47 Harrow kernel: Out of memory: Killed process 2551 (asterisk).
Main Topics
Browse All Topics





by: grbladesPosted on 2009-07-22 at 01:14:11ID: 24912403
You sholdnt get messages about being out of memory because there should be at least virtual memory to be used.
Run the following commands and post the output:-
uptime
free
ps ax
cat /etc/inittab | grep initdefault