Processes opened by Asterisk

Hello good morning,

When I execute: # ps aux | grep asterisk I can see this

avahi 1041 0.0 0.0 27664 1588 ? S 09:06 0:00 avahi-daemon: running [asterisk.local]
root 1360 0.0 0.0 11300 1276 ? Ss 09:06 0:00 /bin/sh -e -c exec su -s /bin/bash -c ‘stdbuf -oL -eL /usr/local/bin/pnp_server’ asterisk 2>&1 | logger -t sangoma_pnp /bin/sh
root 1362 0.0 0.0 48136 1464 ? S 09:06 0:00 su -s /bin/bash -c stdbuf -oL -eL /usr/local/bin/pnp_server asterisk
asterisk 1369 0.1 0.2 76536 6656 ? Ss 09:06 0:00 /usr/bin/python /usr/local/bin/pnp_server
asterisk 1482 0.0 0.3 356032 9236 ? S 09:06 0:00 /usr/sbin/httpd
asterisk 1483 0.0 0.3 356032 9236 ? S 09:06 0:00 /usr/sbin/httpd
asterisk 1484 0.0 0.2 356032 8580 ? S 09:06 0:00 /usr/sbin/httpd
asterisk 1485 0.0 0.2 356032 8576 ? S 09:06 0:00 /usr/sbin/httpd
asterisk 1486 0.0 0.2 356032 8576 ? S 09:06 0:00 /usr/sbin/httpd
asterisk 1487 0.0 0.2 356032 8576 ? S 09:06 0:00 /usr/sbin/httpd
asterisk 1488 0.0 0.2 356032 8576 ? S 09:06 0:00 /usr/sbin/httpd
asterisk 1489 0.0 0.2 356032 8576 ? S 09:06 0:00 /usr/sbin/httpd
asterisk 1563 0.0 0.0 106060 1380 ? S 09:06 0:00 /bin/bash /opt/isymphony3/server//startup.sh – iSymphonyServer
asterisk 1573 0.0 0.0 106064 1496 ? S 09:06 0:00 /bin/bash iSymphonyServer.sh start
asterisk 1610 28.3 11.8 2887628 351572 ? Sl 09:06 0:53 /usr/lib/jvm/jre-openjdk//bin/java -Xms256m -XX:MinHeapFreeRatio=30 -XX:MaxHeapFreeRatio=50 -XX:-OmitStackTraceInFastThrow -classpath /opt/isymphony3/server/modules/chat/shared/:/opt/isymphony3/server/modules/xmpp/shared/:/opt/isymphony3/server/modules/lang-it-it/shared/:/opt/isymphony3/server/modules/pbx/shared/:/opt/isymphony3/server/modules/framework/shared/:/opt/isymphony3/server/modules/desktop/shared/:/opt/isymphony3/server/modules/asterisk/shared/:/opt/isymphony3/server/modules/lang-en-us/shared/:/opt/isymphony3/server/modules/contact/shared/::./lib/:iSymphonyServer.jar com.xmlnamespace.panel.server.Server
root 3077 0.0 0.0 108164 764 ? S 09:08 0:00 /bin/sh /usr/sbin/safe_asterisk -U asterisk -G asterisk
asterisk 3079 6.0 0.9 1265356 27896 ? Sl 09:08 0:03 /usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c
asterisk 3255 2.9 1.0 650932 29628 ? Ssl 09:08 0:01 PM2 v2.4.6: God Daemon (/home/asterisk/.pm2)
asterisk 3329 1.0 1.6 362492 47512 ? Ss 09:08 0:00 php /var/www/html/admin/modules/restapps/restapps.php
asterisk 3535 12.4 2.2 839172 67580 ? Ssl 09:09 0:03 node /var/www/html/admin/modules/ucpnode/node/index.js
asterisk 3756 38.5 2.7 711084 82104 ? Dsl 09:09 0:06 letschat
root 3886 0.0 0.0 103248 884 pts/1 S+ 09:09 0:00 grep asterisk

For the correct functioning of asterisk and freepbx I understand that I only would need to see this lines:

asterisk 1482 0.0 0.3 356032 9236 ? S 09:06 0:00 /usr/sbin/httpd
asterisk 3079 6.0 0.9 1265356 27896 ? Sl 09:08 0:03 /usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c

Why appears several times /usr/sbin/httpd ?

If I dont need to use iSymphony and I disable it, it should disappear these entries, true?

asterisk 1563 0.0 0.0 106060 1380 ? S 09:06 0:00 /bin/bash /opt/isymphony3/server//startup.sh – iSymphonyServer
asterisk 1573 0.0 0.0 106064 1496 ? S 09:06 0:00 /bin/bash iSymphonyServer.sh start
asterisk 1610 28.3 11.8 2887628 351572 ? Sl 09:06 0:53 /usr/lib/jvm/jre-openjdk//bin/java -Xms256m -XX:MinHeapFreeRatio=30 -XX:MaxHeapFreeRatio=50 -XX:-OmitStackTraceInFastThrow -classpath /opt/isymphony3/server/modules/chat/shared/:/opt/isymphony3/server/modules/xmpp/shared/:/opt/isymphony3/server/modules/lang-it-it/shared/:/opt/isymphony3/server/modules/pbx/shared/:/opt/isymphony3/server/modules/framework/shared/:/opt/isymphony3/server/modules/desktop/shared/:/opt/isymphony3/server/modules/asterisk/shared/:/opt/isymphony3/server/modules/lang-en-us/shared/:/opt/isymphony3/server/modules/contact/shared/::./lib/:iSymphonyServer.jar com.xmlnamespace.panel.server.Server

It is necessary this for the correct functioning of Asterisk?

root 3077 0.0 0.0 108164 764 ? S 09:08 0:00 /bin/sh /usr/sbin/safe_asterisk -U asterisk -G asterisk

What is the meaning of these lines? What FreePBX modules are related with it exactly? Can I disable these modules without Asterisk lost his functionality?

asterisk 3255 2.9 1.0 650932 29628 ? Ssl 09:08 0:01 PM2 v2.4.6: God Daemon (/home/asterisk/.pm2)
asterisk 3329 1.0 1.6 362492 47512 ? Ss 09:08 0:00 php /var/www/html/admin/modules/restapps/restapps.php
asterisk 3535 12.4 2.2 839172 67580 ? Ssl 09:09 0:03 node /var/www/html/admin/modules/ucpnode/node/index.js
asterisk 3756 38.5 2.7 711084 82104 ? Dsl 09:09 0:06 letschat

You are seeing processes opened by the user asterisk, not the Asterisk pbx itself. [quote=“gatozgz, post:1, topic:41739”]
asterisk 1482 0.0 0.3 356032 9236 ? S 09:06 0:00 /usr/sbin/httpd
asterisk 3079 6.0 0.9 1265356 27896 ? Sl 09:08 0:03 /usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c
root 3077 0.0 0.0 108164 764 ? S 09:08 0:00 /bin/sh /usr/sbin/safe_asterisk -U asterisk -G asterisk
[/quote]

This 3 are for asterisk PBX. All other processes opened by the user asterisk maybe are dependencies of the FreePBX framework