Jason Walker
2005-Oct-20 18:47 UTC
[Asterisk-Users] Multiple instances of asterisk showing from 'ps aux'
When I run 'ps aux' I get this: root 964 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk -vvvg -c root 965 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk -vvvg -c root 967 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk -vvvg -c root 975 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk -vvvg -c root 982 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk -vvvg -c root 984 0.0 0.4 47836 8280 ? S 00:02 0:12 asterisk -vvvg -c root 986 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk -vvvg -c root 987 0.1 0.4 47836 8280 ? S 00:02 1:10 asterisk -vvvg -c root 988 0.1 0.4 47836 8280 ? S 00:02 1:24 asterisk -vvvg -c root 989 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk -vvvg -c root 993 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk -vvvg -c root 994 0.0 0.4 47836 8280 ? S 00:02 0:17 asterisk -vvvg -c root 996 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk -vvvg -c root 997 0.0 0.4 47836 8280 ? S 00:02 0:02 asterisk -vvvg -c root 24202 1.2 0.4 47836 8280 ? S 09:04 6:52 asterisk -vvvg -c root 29417 1.6 0.4 47836 8280 ? S 11:07 6:54 asterisk -vvvg -c root 6555 1.0 0.4 47836 8280 ? S 14:44 2:04 asterisk -vvvg -c root 8463 1.1 0.4 47836 8280 ? S 15:29 1:53 asterisk -vvvg -c root 14405 1.0 0.4 47836 8280 ? S 17:47 0:15 asterisk -vvvg -c My question is, why are there 21 instances of asterisk running? I understand the concept of a multi-threaded app in Linux (such as httpd). I am just looking for possible avenues and explanations of where I could look to figure out what each instance (or some of the instances) are actually doing. * 1.0.9; FC1 Thanks in advance Jason -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051020/40dd8e1a/attachment.htm
Mojo with Horan & Company, LLC
2005-Oct-21 10:39 UTC
[Asterisk-Users] Multiple instances of asterisk showing from 'ps aux'
Are you running safe_asterisk or asterisk directly? Jason Walker wrote:> > > > > When I run 'ps aux' I get this: > > root 964 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk > -vvvg -c > root 965 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk > -vvvg -c > root 967 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk > -vvvg -c > root 975 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk > -vvvg -c > root 982 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk > -vvvg -c > root 984 0.0 0.4 47836 8280 ? S 00:02 0:12 asterisk > -vvvg -c > root 986 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk > -vvvg -c > root 987 0.1 0.4 47836 8280 ? S 00:02 1:10 asterisk > -vvvg -c > root 988 0.1 0.4 47836 8280 ? S 00:02 1:24 asterisk > -vvvg -c > root 989 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk > -vvvg -c > root 993 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk > -vvvg -c > root 994 0.0 0.4 47836 8280 ? S 00:02 0:17 asterisk > -vvvg -c > root 996 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk > -vvvg -c > root 997 0.0 0.4 47836 8280 ? S 00:02 0:02 asterisk > -vvvg -c > root 24202 1.2 0.4 47836 8280 ? S 09:04 6:52 asterisk > -vvvg -c > root 29417 1.6 0.4 47836 8280 ? S 11:07 6:54 asterisk > -vvvg -c > root 6555 1.0 0.4 47836 8280 ? S 14:44 2:04 asterisk > -vvvg -c > root 8463 1.1 0.4 47836 8280 ? S 15:29 1:53 asterisk > -vvvg -c > root 14405 1.0 0.4 47836 8280 ? S 17:47 0:15 asterisk > -vvvg -c > > My question is, why are there 21 instances of asterisk running? > > I understand the concept of a multi-threaded app in Linux (such as > httpd). I am just looking for possible avenues and explanations of where > I could look to figure out what each instance (or some of the instances) > are actually doing. > > * 1.0.9; FC1 > > Thanks in advance > > Jason > > > ------------------------------------------------------------------------ > > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Mojo <mojo@horanappraisals.com> Office Manger, Horan & Company, LLC (907) 747-6666 x112
BJ Weschke
2005-Oct-22 14:01 UTC
[Asterisk-Users] Multiple instances of asterisk showing from 'ps aux'
strace? valgrind? There aren't any profiling tools or the sort within the Asterisk suite that will deliver the information you're looking for about what each thread is doing. On 10/20/05, Jason Walker <desktophero@gmail.com> wrote:> > > When I run 'ps aux' I get this: > root 964 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk -vvvg -c > root 965 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk -vvvg -c > root 967 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk -vvvg -c > root 975 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk -vvvg -c > root 982 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk -vvvg -c > root 984 0.0 0.4 47836 8280 ? S 00:02 0:12 asterisk -vvvg -c > root 986 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk -vvvg -c > root 987 0.1 0.4 47836 8280 ? S 00:02 1:10 asterisk -vvvg -c > root 988 0.1 0.4 47836 8280 ? S 00:02 1:24 asterisk -vvvg -c > root 989 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk -vvvg -c > root 993 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk -vvvg -c > root 994 0.0 0.4 47836 8280 ? S 00:02 0:17 asterisk -vvvg -c > root 996 0.0 0.4 47836 8280 ? S 00:02 0:00 asterisk -vvvg -c > root 997 0.0 0.4 47836 8280 ? S 00:02 0:02 asterisk -vvvg -c > root 24202 1.2 0.4 47836 8280 ? S 09:04 6:52 asterisk -vvvg -c > root 29417 1.6 0.4 47836 8280 ? S 11:07 6:54 asterisk -vvvg -c > root 6555 1.0 0.4 47836 8280 ? S 14:44 2:04 asterisk -vvvg -c > root 8463 1.1 0.4 47836 8280 ? S 15:29 1:53 asterisk -vvvg -c > root 14405 1.0 0.4 47836 8280 ? S 17:47 0:15 asterisk -vvvg -c > My question is, why are there 21 instances of asterisk running? > I understand the concept of a multi-threaded app in Linux (such as > httpd). I am just looking for possible avenues and explanations of where I > could look to figure out what each instance (or some of the instances) are > actually doing. > * 1.0.9; FC1 > Thanks in advance > Jason > > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com<http://easynews.com/>-- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > 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/20051022/c0fc7e50/attachment.htm