[Asterisk-Users] Stable from 4/20 launching many processes

Steven Kokinos steve at kokinos.com
Tue Apr 20 21:02:19 MST 2004


i have a quick question from the latest build in the stable branch. in all
of the previous builds of asterisk i have used, calling either asterisk
itself or safe_asterisk spawns one asterisk process, like this:
 
root     11218  0.0  0.1  5244  936 pts/0    S    20:55   0:00 /bin/sh
/usr/sbin/safe_asterisk
root     11220  3.0  1.0 152900 4876 pts/0   S    20:55   0:00 asterisk
-vvvg -c
 
however, in the latest build, i am seeing the following behavior (tested
both starting manually and with safe_asterisk):
 
root       797  0.0  0.2  4248 1136 ?        S    23:52   0:00 /bin/sh
/usr/sbin/safe_asterisk
root       799  0.0  0.9 102620 4952 ?       S    23:52   0:00 asterisk
-vvvg -c
root       800  0.0  0.9 102620 4952 ?       S    23:52   0:00 asterisk
-vvvg -c
root       801  0.0  0.9 102620 4952 ?       S    23:52   0:00 asterisk
-vvvg -c
root       802  0.0  0.9 102620 4952 ?       S    23:52   0:00 asterisk
-vvvg -c
root       803  0.0  0.9 102620 4952 ?       S    23:52   0:00 asterisk
-vvvg -c
root       821  0.0  0.9 102620 4952 ?       S    23:52   0:00 asterisk
-vvvg -c
root       823  0.0  0.9 102620 4952 ?       S    23:52   0:00 asterisk
-vvvg -c
root       824  0.0  0.9 102620 4952 ?       S    23:52   0:00 asterisk
-vvvg -c
root       825  0.0  0.9 102620 4952 ?       R    23:52   0:00 asterisk
-vvvg -c
root       826  0.0  0.9 102620 4952 ?       S    23:52   0:00 asterisk
-vvvg -c
root       827  0.0  0.9 102620 4952 ?       S    23:52   0:00 asterisk
-vvvg -c
root       830  0.0  0.9 102620 4952 ?       S    23:52   0:00 asterisk
-vvvg -c
root       831  0.0  0.9 102620 4952 ?       S    23:52   0:00 asterisk
-vvvg -c
root       832  0.0  0.9 102620 4952 ?       S    23:52   0:00 asterisk
-vvvg -c
root       833  0.0  0.9 102620 4952 ?       S    23:52   0:00 asterisk
-vvvg -c
 
which is exactly 15 instances of asterisk. this is certainly a usual way of
running for many different applications, but i was not aware asterisk was
one of them. i would think there was something haywire going on, however, if
i start a single instance of asterisk, then stop it gracefully, all
processes do indeed stop. Is this expected behavior, or something unexpected
that i should be concerned with?
 
Regards,
 
-Steve




More information about the asterisk-users mailing list