Hi Billy <br><br>Try using safe_asterisk and see . safe_asterisk be useful if you fear asterisk may crash.<br><br>--Giridhar Bandi<br><br><div><span class="gmail_quote">On 4/19/06, <b class="gmail_sendername"><a href="mailto:billy@kersting.com">
billy@kersting.com</a></b> <<a href="mailto:billy@kersting.com">billy@kersting.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;">
<div>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">List,</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">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. </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">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.</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">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?</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">FYI, the only cron I have running is a reboot scheduled once
a week.</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">USER PID %CPU %MEM
VSZ RSS TTY STAT START TIME
COMMAND</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
1 0.0 0.0 3096 656
? S
17:39 0:00 init [3]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
2 0.0 0.0 0 0
? S
17:39 0:00 [migration/0]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
3 0.0 0.0 0 0
? SN 17:39
0:00 [ksoftirqd/0]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
4 0.0 0.0 0 0
? S
17:39 0:00 [migration/1]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
5 0.0 0.0 0 0
? SN 17:39
0:00 [ksoftirqd/1]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
6 0.0 0.0 0 0
? S
17:39 0:00 [migration/2]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
7 0.0 0.0 0 0
? SN 17:39
0:00 [ksoftirqd/2]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
8 0.0 0.0 0 0
? S
17:39 0:00 [migration/3]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
9 0.0 0.0 0 0
? SN 17:39
0:00 [ksoftirqd/3]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
10 0.0 0.0 0 0
? S< 17:39
0:00 [events/0]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
11 0.0 0.0 0 0
? S< 17:39
0:00 [events/1]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
12 0.0 0.0 0 0
? S< 17:39
0:00 [events/2]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
13 0.0 0.0 0 0
? S< 17:39
0:00 [events/3]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
14 0.0 0.0 0 0
? S< 17:39
0:00 [khelper]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
15 0.0 0.0 0 0
? S< 17:39
0:00 [kacpid]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
47 0.0 0.0 0 0
? S< 17:39
0:00 [kblockd/0]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
48 0.0 0.0 0 0
? S< 17:39
0:00 [kblockd/1]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
49 0.0 0.0 0 0
? S< 17:39
0:00 [kblockd/2]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
50 0.0 0.0 0 0
? S< 17:39
0:00 [kblockd/3]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
60 0.0 0.0 0 0
? S 17:39
0:00 [pdflush]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
61 0.0 0.0 0 0
? S
17:39 0:00 [pdflush]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
63 0.0 0.0 0 0
? S< 17:39
0:00 [aio/0]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
64 0.0 0.0 0 0
? S< 17:39
0:00 [aio/1]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
65 0.0 0.0 0 0
? S< 17:39
0:00 [aio/2]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
66 0.0 0.0 0 0
? S< 17:39
0:00 [aio/3]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
51 0.0 0.0
0 0 ?
S 17:39 0:00 [khubd]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root
62 0.0 0.0 0 0
? S
17:39 0:00 [kswapd0]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 139
0.0 0.0 0 0
? S
17:39 0:00 [kseriod]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 204
0.0 0.0 0 0
? S
17:39 0:00 [scsi_eh_0]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 205
0.0 0.0 0 0
? S
17:39 0:00 [aacraid]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 217
0.0 0.0 0 0
? S< 17:39
0:00 [kmirrord]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 218
0.0 0.0 0 0
? S< 17:39
0:00 [kmir_mon]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 226
0.0 0.0 0 0
? S
17:39 0:00 [kjournald]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 1092
0.0 0.0 2312 556 ?
S<s 17:39 0:00 udevd</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 1125
0.0 0.0 0 0
? S
17:39 0:00 [shpchpd_event]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 1377
0.0 0.0 0 0 ?
S< 17:39 0:00
[kauditd]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 1424
0.0 0.0 0 0
? S
17:39 0:00 [kjournald]</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 1962
0.0 0.0 2612 668 ?
Ss 17:40 0:00 syslogd -m 0</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 1966
0.0 0.0 3532 532 ?
Ss 17:40 0:00 klogd -x</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 1976
0.0 0.0 2128 540 ?
Ss 17:40 0:00 irqbalance</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">rpc 1993
0.0 0.0 3432 644 ?
Ss 17:40 0:00 portmap</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 2012
0.0 0.0 1800 912 ?
Ss 17:40 0:00 rpc.statd</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 2038
0.0 0.0 5156 1140 ?
Ss 17:40 0:00 rpc.idmapd</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 2115
0.0 0.0 2092 648 ?
Ss 17:40 0:00 /usr/sbin/acpid</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 2124
0.0 0.1 8264 2188 ?
Ss 17:40 0:00 cupsd</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 2165
0.0 0.0 5120 1724 ?
Ss 17:40 0:00 /usr/sbin/sshd</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 2188
0.0 0.0 3152 896 ?
Ss 17:40 0:00 xinetd -stayalive</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 2295
0.0 0.1 9300 3084 ?
Ss 17:40 0:00 sendmail: accepti</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">smmsp 2303 0.0
0.1 7252 2668 ? Ss
17:40 0:00 sendmail: Queue r</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 2316
0.0 0.0 2984 620 ?
Ss 17:40 0:00 gpm -m /dev/input</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 2329
0.0 0.0 5412 1176 ?
Ss 17:40 0:00 crond</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">xfs 2355
0.0 0.0 3392 1540 ?
Ss 17:40 0:00 xfs -droppriv -da</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 2373
0.0 0.0 3700 788 ?
Ss 17:40 0:00 /usr/sbin/atd</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">dbus 2382
0.0 0.0 3660 1300 ?
Ss 17:40 0:00 dbus-daemon-1 --s</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 2391
0.0 0.2 8456 5620 ?
Ss 17:40 0:00 hald</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 2471
0.0 0.2 16544 6000 ?
Ss 17:40 0:00 /usr/sbin/httpd -</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 2483
0.0 0.0 4700 1068 ?
S 17:40 0:00 /usr/sbin/vsftpd</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 2555
0.0 0.0 4544 1304 ?
S 17:40 0:00 /bin/sh /usr/bin/</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">asterisk 2575 0.0 0.2 16544 6124
? S
17:40 0:00 /usr/sbin/httpd -</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">asterisk 2578 0.0 0.2 16544 6128
? S
17:40 0:00 /usr/sbin/httpd -</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">asterisk 2579 0.0 0.2 16544 6128
? S
17:40 0:00 /usr/sbin/httpd -</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">asterisk 2581 0.0 0.2 16544 6128
? S
17:40 0:00 /usr/sbin/httpd -</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">asterisk 2583 0.0 0.2 16544 6128
? S
17:40 0:00 /usr/sbin/httpd -</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">asterisk 2585 0.0 0.2 16544 6128
? S
17:40 0:00 /usr/sbin/httpd -</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">asterisk 2586 0.0 0.2 16544 6128
? S
17:40 0:00 /usr/sbin/httpd -</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">asterisk 2588 0.0 0.2 16544 6128
? S
17:40 0:00 /usr/sbin/httpd -</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">mysql 2600 0.0
0.9 125808 19424 ? Sl
17:40 0:00 /usr/libexec/mysq</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 2697
0.0 0.0 1856 508 tty1 Ss+
17:40 0:00 /sbin/mingetty tt</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 2698
0.0 0.0 2600 508 tty2 Ss+
17:40 0:00 /sbin/mingetty tt</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 2699
0.0 0.0 1856 508 tty3 Ss+
17:40 0:00 /sbin/mingetty tt</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 2700
0.0 0.0 3184 508 tty4 Ss+
17:40 0:00 /sbin/mingetty tt</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 2701
0.0 0.0 2352 516 tty5 Ss+
17:40 0:00 /sbin/mingetty tt</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 2702
0.0 0.0 2488 508 tty6 Ss+
17:40 0:00 /sbin/mingetty tt</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 3754
0.0 0.1 6984 2244 ?
Ss 17:56 0:00 sshd: bpiper [pri</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">bpiper 3768 0.0
0.1 6984 2320 ?
S 17:56 0:00 sshd: bpiper@pts/</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">bpiper 3769 0.0
0.0 4560 1456 pts/1 Ss 17:56
0:00 -bash</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 3795
0.0 0.0 5696 1240 pts/1 S
17:56 0:00 su</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 3796
0.0 0.0 4608 1464 pts/1 S+
17:56 0:00 bash</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 12046 0.0
0.1 7440 2248 ? Ss
21:30 0:00 sshd: bpiper [pri</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">bpiper 12048 0.0 0.1
7440 2316 ? S
21:31 0:00 sshd: bpiper@pts/</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">bpiper 12049 0.0 0.0
5976 1456 pts/0 Ss 21:31 0:00 -bash</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 12075 0.0
0.0 4664 1236 pts/0 S
21:31 0:00 su</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 12076 0.0
0.0 5392 1460 pts/0 S
21:31 0:00 bash</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">root 12095 0.0
0.0 2976 824 pts/0 R+ 21:31
0:00 ps aux</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">[root@asterisk bpiper]# asterisk -r</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">Unable to connect to remote asterisk (does
/var/run/asterisk/asterisk.ctl exist?)</span></font></p>
<p><font face="Courier New" size="2"><span style="font-size: 10pt;">[root@asterisk bpiper]#</span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</div>
</div><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://Easynews.com" target="_blank">Easynews.com</a> --
<br><br>Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><br></blockquote></div><br>