[Asterisk-Users] Asterisk service crashes

Giridhar Reddy Bandi giridhar.bandi at gmail.com
Wed Apr 19 01:52:14 MST 2006


Hi  Billy

Try using safe_asterisk and see . safe_asterisk be useful if you fear
asterisk may crash.

--Giridhar Bandi

On 4/19/06, billy at kersting.com <billy at kersting.com> wrote:
>
>  List,
>
>
>
> The past few days the asterisk service on my server has crashed several
> times. I have had it running for months and have made no changes to it.
>
>
>
> When it crashes, I am unable to make calls or gain access to the CLI. The
> service has been stopped. If I try to start it again (service asterisk
> start), it will start and run for a few seconds then crash again. After a
> reboot, it will run successfully for several hours before doing it again.
>
>
>
> Here is a ps aux of the services while the server is crashed.  Does anyone
> see any service that would have a conflict with the asterisk service?
>
> FYI, the only cron I have running is a reboot scheduled once a week.
>
>
>
> USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
>
> root         1  0.0  0.0  3096  656 ?        S    17:39   0:00 init [3]
>
> root         2  0.0  0.0     0    0 ?        S    17:39   0:00
> [migration/0]
>
> root         3  0.0  0.0     0    0 ?        SN   17:39   0:00
> [ksoftirqd/0]
>
> root         4  0.0  0.0     0    0 ?        S    17:39   0:00
> [migration/1]
>
> root         5  0.0  0.0     0    0 ?        SN   17:39   0:00
> [ksoftirqd/1]
>
> root         6  0.0  0.0     0    0 ?        S    17:39   0:00
> [migration/2]
>
> root         7  0.0  0.0     0    0 ?        SN   17:39   0:00
> [ksoftirqd/2]
>
> root         8  0.0  0.0     0    0 ?        S    17:39   0:00
> [migration/3]
>
> root         9  0.0  0.0     0    0 ?        SN   17:39   0:00
> [ksoftirqd/3]
>
> root        10  0.0  0.0     0    0 ?        S<   17:39   0:00 [events/0]
>
> root        11  0.0  0.0     0    0 ?        S<   17:39   0:00 [events/1]
>
> root        12  0.0  0.0     0    0 ?        S<   17:39   0:00 [events/2]
>
> root        13  0.0  0.0     0    0 ?        S<   17:39   0:00 [events/3]
>
> root        14  0.0  0.0     0    0 ?        S<   17:39   0:00 [khelper]
>
> root        15  0.0  0.0     0    0 ?        S<   17:39   0:00 [kacpid]
>
> root        47  0.0  0.0     0    0 ?        S<   17:39   0:00 [kblockd/0]
>
> root        48  0.0  0.0     0    0 ?        S<   17:39   0:00 [kblockd/1]
>
> root        49  0.0  0.0     0    0 ?        S<   17:39   0:00 [kblockd/2]
>
> root        50  0.0  0.0     0    0 ?        S<   17:39   0:00 [kblockd/3]
>
> root        60  0.0  0.0     0    0 ?        S    17:39   0:00 [pdflush]
>
> root        61  0.0  0.0     0    0 ?        S    17:39   0:00 [pdflush]
>
> root        63  0.0  0.0     0    0 ?        S<   17:39   0:00 [aio/0]
>
> root        64  0.0  0.0     0    0 ?        S<   17:39   0:00 [aio/1]
>
> root        65  0.0  0.0     0    0 ?        S<   17:39   0:00 [aio/2]
>
> root        66  0.0  0.0     0    0 ?        S<   17:39   0:00 [aio/3]
>
> root        51  0.0  0.0     0    0 ?        S    17:39   0:00 [khubd]
>
> root        62  0.0  0.0     0    0 ?        S    17:39   0:00 [kswapd0]
>
> root       139  0.0  0.0     0    0 ?        S    17:39   0:00 [kseriod]
>
> root       204  0.0  0.0     0    0 ?        S    17:39   0:00 [scsi_eh_0]
>
> root       205  0.0  0.0     0    0 ?        S    17:39   0:00 [aacraid]
>
> root       217  0.0  0.0     0    0 ?        S<   17:39   0:00 [kmirrord]
>
> root       218  0.0  0.0     0    0 ?        S<   17:39   0:00 [kmir_mon]
>
> root       226  0.0  0.0     0    0 ?        S    17:39   0:00 [kjournald]
>
> root      1092  0.0  0.0  2312  556 ?        S<s  17:39   0:00 udevd
>
> root      1125  0.0  0.0     0    0 ?        S    17:39   0:00
> [shpchpd_event]
>
> root      1377  0.0  0.0     0    0 ?        S<   17:39   0:00 [kauditd]
>
> root      1424  0.0  0.0     0    0 ?        S    17:39   0:00 [kjournald]
>
> root      1962  0.0  0.0  2612  668 ?        Ss   17:40   0:00 syslogd -m
> 0
>
> root      1966  0.0  0.0  3532  532 ?        Ss   17:40   0:00 klogd -x
>
> root      1976  0.0  0.0  2128  540 ?        Ss   17:40   0:00 irqbalance
>
> rpc       1993  0.0  0.0  3432  644 ?        Ss   17:40   0:00 portmap
>
> root      2012  0.0  0.0  1800  912 ?        Ss   17:40   0:00 rpc.statd
>
> root      2038  0.0  0.0  5156 1140 ?        Ss   17:40   0:00 rpc.idmapd
>
> root      2115  0.0  0.0  2092  648 ?        Ss   17:40   0:00
> /usr/sbin/acpid
>
> root      2124  0.0  0.1  8264 2188 ?        Ss   17:40   0:00 cupsd
>
> root      2165  0.0  0.0  5120 1724 ?        Ss   17:40   0:00
> /usr/sbin/sshd
>
> root      2188  0.0  0.0  3152  896 ?        Ss   17:40   0:00 xinetd
> -stayalive
>
> root      2295  0.0  0.1  9300 3084 ?        Ss   17:40   0:00 sendmail:
> accepti
>
> smmsp     2303  0.0  0.1  7252 2668 ?        Ss   17:40   0:00 sendmail:
> Queue r
>
> root      2316  0.0  0.0  2984  620 ?        Ss   17:40   0:00 gpm -m
> /dev/input
>
> root      2329  0.0  0.0  5412 1176 ?        Ss   17:40   0:00 crond
>
> xfs       2355  0.0  0.0  3392 1540 ?        Ss   17:40   0:00 xfs
> -droppriv -da
>
> root      2373  0.0  0.0  3700  788 ?        Ss   17:40   0:00
> /usr/sbin/atd
>
> dbus      2382  0.0  0.0  3660 1300 ?        Ss   17:40   0:00
> dbus-daemon-1 --s
>
> root      2391  0.0  0.2  8456 5620 ?        Ss   17:40   0:00 hald
>
> root      2471  0.0  0.2 16544 6000 ?        Ss   17:40   0:00
> /usr/sbin/httpd -
>
> root      2483  0.0  0.0  4700 1068 ?        S    17:40   0:00
> /usr/sbin/vsftpd
>
> root      2555  0.0  0.0  4544 1304 ?        S    17:40   0:00 /bin/sh
> /usr/bin/
>
> asterisk  2575  0.0  0.2 16544 6124 ?        S    17:40   0:00
> /usr/sbin/httpd -
>
> asterisk  2578  0.0  0.2 16544 6128 ?        S    17:40   0:00
> /usr/sbin/httpd -
>
> asterisk  2579  0.0  0.2 16544 6128 ?        S    17:40   0:00
> /usr/sbin/httpd -
>
> asterisk  2581  0.0  0.2 16544 6128 ?        S    17:40   0:00
> /usr/sbin/httpd -
>
> asterisk  2583  0.0  0.2 16544 6128 ?        S    17:40   0:00
> /usr/sbin/httpd -
>
> asterisk  2585  0.0  0.2 16544 6128 ?        S    17:40   0:00
> /usr/sbin/httpd -
>
> asterisk  2586  0.0  0.2 16544 6128 ?        S    17:40   0:00
> /usr/sbin/httpd -
>
> asterisk  2588  0.0  0.2 16544 6128 ?        S    17:40   0:00
> /usr/sbin/httpd -
>
> mysql     2600  0.0  0.9 125808 19424 ?      Sl   17:40   0:00
> /usr/libexec/mysq
>
> root      2697  0.0  0.0  1856  508 tty1     Ss+  17:40   0:00
> /sbin/mingetty tt
>
> root      2698  0.0  0.0  2600  508 tty2     Ss+  17:40   0:00
> /sbin/mingetty tt
>
> root      2699  0.0  0.0  1856  508 tty3     Ss+  17:40   0:00
> /sbin/mingetty tt
>
> root      2700  0.0  0.0  3184  508 tty4     Ss+  17:40   0:00
> /sbin/mingetty tt
>
> root      2701  0.0  0.0  2352  516 tty5     Ss+  17:40   0:00
> /sbin/mingetty tt
>
> root      2702  0.0  0.0  2488  508 tty6     Ss+  17:40   0:00
> /sbin/mingetty tt
>
> root      3754  0.0  0.1  6984 2244 ?        Ss   17:56   0:00 sshd:
> bpiper [pri
>
> bpiper    3768  0.0  0.1  6984 2320 ?        S    17:56   0:00 sshd:
> bpiper at pts/
>
> bpiper    3769  0.0  0.0  4560 1456 pts/1    Ss   17:56   0:00 -bash
>
> root      3795  0.0  0.0  5696 1240 pts/1    S    17:56   0:00 su
>
> root      3796  0.0  0.0  4608 1464 pts/1    S+   17:56   0:00 bash
>
> root     12046  0.0  0.1  7440 2248 ?        Ss   21:30   0:00 sshd:
> bpiper [pri
>
> bpiper   12048  0.0  0.1  7440 2316 ?        S    21:31   0:00 sshd:
> bpiper at pts/
>
> bpiper   12049  0.0  0.0  5976 1456 pts/0    Ss   21:31   0:00 -bash
>
> root     12075  0.0  0.0  4664 1236 pts/0    S    21:31   0:00 su
>
> root     12076  0.0  0.0  5392 1460 pts/0    S    21:31   0:00 bash
>
> root     12095  0.0  0.0  2976  824 pts/0    R+   21:31   0:00 ps aux
>
> [root at asterisk bpiper]# asterisk -r
>
> Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl
> exist?)
>
> [root at asterisk bpiper]#
>
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060419/f130608e/attachment.htm


More information about the asterisk-users mailing list