its normal .if there are many calls going . You should worry if your load or memory usage is very high .<br><br><div><span class="gmail_quote">On 16/11/06, <b class="gmail_sendername">Andre Courchesne - Consultant</b> <
<a href="mailto:courchea@net-forces.com">courchea@net-forces.com</a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
We have 1 server that after a few hours operating has multiple process<br>of asterisk running. Here is the pstree output:<br><br># pstree<br>init-+-atftpd<br> |-auditd---{auditd}<br> |-bash---safe_opserver---op_server.pl
<br> |-crond<br> |-cwASTcall.pl<br> |-dbus-daemon<br> |-events/0<br> |-hald-+-hald-addon-acpi<br> | `-2*[hald-addon-stor]<br> |-httpd---3*[httpd]<br> |-khelper<br> |-klogd<br> |-ksoftirqd/0
<br> |-kswapd0<br> |-kthread-+-aio/0<br> | |-ata/0<br> | |-hda_codec/0<br> | |-kacpid<br> | |-kauditd<br> | |-kblockd/0<br> | |-khubd<br> | |-kseriod
<br> | |-2*[pdflush]<br> | |-reiserfs/0<br> | |-rpciod/0<br> | |-scsi_eh_0<br> | |-scsi_eh_1<br> | `-scsi_eh_2<br> |-2*[mingetty]<br> |-mysqld_safe---mysqld---16*[{mysqld}]
<br> |-ntpd<br> |-safe_asterisk---asterisk-+-45*[asterisk]<br> | `-22*[{asterisk}]<br> |-sshd---sshd---bash---pstree<br> |-syslogd<br> |-udevd<br> |-usb-storage<br> `-wan_ecd---wan_ecd
<br><br>And "ps aux | grep asterisk":<br><br># ps aux | grep asterisk<br>asterisk 2047 0.0 0.1 9200 1516 ? S Nov14 0:00<br>/usr/sbin/httpd<br>asterisk 2084 0.0 0.2 11544 2388 ? S Nov14 0:00
<br>/usr/sbin/httpd<br>asterisk 2085 0.0 0.2 11544 2384 ? S Nov14 0:00<br>/usr/sbin/httpd<br>root 2196 0.0 0.0 2172 456 ? S Nov14 0:00 /bin/sh<br>/usr/sbin/safe_asterisk -U asterisk -G asterisk
<br>asterisk 2215 1.6 10.0 122496 90984 ? Sl Nov14 38:07<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c<br>asterisk 2250 0.0 0.0 2176 376 ? S Nov14 0:00 -bash<br>-c cd /var/www/AMP/panel && /var/www/AMP/panel/safe_opserver &
<br>asterisk 2251 0.0 0.0 2128 868 ? S Nov14 0:00<br>/bin/bash /var/www/AMP/panel/safe_opserver<br>asterisk 2253 3.2 0.8 8988 7336 ? R Nov14 73:54<br>/usr/bin/perl -w ./op_server.pl<br>
asterisk 12105 0.0 0.8 31440 7804 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c<br>asterisk 13080 0.0 0.8 32096 7616 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c
<br>asterisk 18352 0.0 0.9 36080 8684 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c<br>asterisk 19352 0.0 0.9 36528 8764 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c
<br>asterisk 25402 0.0 0.9 39196 8972 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c<br>asterisk 26497 0.0 1.0 40448 9372 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c
<br>asterisk 30901 0.0 1.0 42064 9308 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c<br>asterisk 3160 0.0 0.6 43968 5624 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c
<br>asterisk 12444 0.0 0.5 49636 5148 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c<br>asterisk 22538 0.0 0.5 54532 5148 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c
<br>asterisk 26032 0.0 0.5 56948 5148 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c<br>asterisk 27517 0.0 0.5 57056 5148 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c
<br>asterisk 31806 0.0 1.0 58956 9800 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c<br>asterisk 3655 0.0 1.0 60088 9932 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c
<br>asterisk 4636 0.0 1.1 60956 10316 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c<br>asterisk 7494 0.0 1.2 62200 10952 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c
<br>asterisk 9276 0.0 1.3 64856 12040 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c<br>asterisk 11592 0.0 1.4 65404 12720 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c
<br>asterisk 12757 0.0 1.4 66808 13504 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c<br>asterisk 13167 0.0 1.4 66576 13296 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c
<br>asterisk 13363 0.0 1.4 65936 13156 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c<br>asterisk 16251 0.0 1.6 68812 14664 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c
<br>asterisk 16942 0.0 1.6 68600 14676 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c<br>asterisk 24818 0.0 1.6 72740 15308 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c
<br>asterisk 29714 0.0 1.7 75332 15824 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c<br>asterisk 5114 0.0 1.6 78932 15144 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c
<br>asterisk 5716 0.0 1.7 78560 15408 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c<br>asterisk 9605 0.0 1.7 81680 16228 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c
<br>asterisk 10235 0.0 1.8 81020 16864 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c<br>asterisk 17429 0.0 1.9 84996 17896 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c
<br>asterisk 18090 0.0 2.0 85480 18176 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c<br>asterisk 20542 0.0 2.0 86980 18732 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c
<br>asterisk 24370 0.0 4.0 88652 36340 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c<br>asterisk 30247 0.0 6.0 92268 54432 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c
<br>asterisk 30904 0.0 6.1 92492 55920 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c<br>asterisk 31363 0.0 6.2 92500 56396 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c
<br>asterisk 855 0.0 6.4 93668 58120 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c<br>asterisk 1983 0.0 6.5 94380 58944 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c
<br>asterisk 8973 0.0 6.8 97764 61560 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c<br>asterisk 9486 0.0 6.9 98020 62948 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c
<br>asterisk 10415 0.0 6.9 99956 63320 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c<br>asterisk 13766 0.0 7.2 100848 65676 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c
<br>asterisk 14013 0.0 7.3 101248 66128 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c<br>asterisk 16687 0.0 7.4 102364 67736 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c
<br>asterisk 17857 0.0 7.4 102092 67824 ? S Nov14 0:00<br>/usr/sbin/asterisk -U asterisk -G asterisk -vvvg -c<br>asterisk 13681 0.0 0.0 2176 360 ? S 14:11 0:00 /bin/sh<br>-c ( /usr/sbin/sendmail -t < /tmp/astmail-xboGM2 ; rm -f
<br>/tmp/astmail-xboGM2 ) &<br>root 13685 0.0 0.0 1820 584 pts/1 R+ 14:11 0:00 grep<br>--color=auto asterisk<br><br><br>Any hints?<br><br>Andre Courchesne<br>_______________________________________________
<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>