Hi,
I'm running a Bitnami Moodle service on a VM. Things were running smoothly till last month when there was a sudden spike in the egress traffic (see image below). Now this egress traffic is perpetually at this level. I'm unable to figure out what is causing this. Below is the tail of the /var/log/syslog. There are many such lines in this file. Does this egress has something to do with php? Is there any way I can get to the root of this problem? I would appreciate any suggestion to help solve this issue.
Mar 16 15:57:01 moodle-1-vm CRON[22928]: (daemon) CMD (/opt/bitnami/php/bin/php /opt/bitnami/moodle/admin/cli/cron.php > /dev/null 2>> /bitnami/moodledata/moodle-cron.log)
Mar 16 15:58:01 moodle-1-vm CRON[22978]: (daemon) CMD (/opt/bitnami/php/bin/php /opt/bitnami/moodle/admin/cli/cron.php > /dev/null 2>> /bitnami/moodledata/moodle-cron.log)
Mar 16 15:59:01 moodle-1-vm CRON[23023]: (daemon) CMD (/opt/bitnami/php/bin/php /opt/bitnami/moodle/admin/cli/cron.php > /dev/null 2>> /bitnami/moodledata/moodle-cron.log)
Mar 16 16:00:01 moodle-1-vm CRON[23066]: (daemon) CMD (/opt/bitnami/php/bin/php /opt/bitnami/moodle/admin/cli/cron.php > /dev/null 2>> /bitnami/moodledata/moodle-cron.log)
Mar 16 16:01:01 moodle-1-vm CRON[23086]: (daemon) CMD (/opt/bitnami/php/bin/php /opt/bitnami/moodle/admin/cli/cron.php > /dev/null 2>> /bitnami/moodledata/moodle-cron.log)
Mar 16 16:02:01 moodle-1-vm CRON[23109]: (daemon) CMD (/opt/bitnami/php/bin/php /opt/bitnami/moodle/admin/cli/cron.php > /dev/null 2>> /bitnami/moodledata/moodle-cron.log)
Mar 16 16:03:01 moodle-1-vm CRON[23137]: (daemon) CMD (/opt/bitnami/php/bin/php /opt/bitnami/moodle/admin/cli/cron.php > /dev/null 2>> /bitnami/moodledata/moodle-cron.log)
Mar 16 16:04:01 moodle-1-vm CRON[23156]: (daemon) CMD (/opt/bitnami/php/bin/php /opt/bitnami/moodle/admin/cli/cron.php > /dev/null 2>> /bitnami/moodledata/moodle-cron.log)
Mar 16 16:05:01 moodle-1-vm CRON[23177]: (daemon) CMD (/opt/bitnami/php/bin/php /opt/bitnami/moodle/admin/cli/cron.php > /dev/null 2>> /bitnami/moodledata/moodle-cron.log)
Mar 16 16:06:01 moodle-1-vm CRON[23199]: (daemon) CMD (/opt/bitnami/php/bin/php /opt/bitnami/moodle/admin/cli/cron.php > /dev/null 2>> /bitnami/moodledata/moodle-cron.log)
Hi @manishdatt ,
By the looks of it, the egress traffic is related to the cron jobs running on your Moodle instance. The cron jobs run every minute and execute a PHP script located at /opt/bitnami/moodle/admin/cli/cron.php
.
It's really hard to tell what causes the sudden spike but you can check the root of the problem by checking the /bitnami/moodledata/moodle-cron.log
file. Use the command below:
cat /bitnami/moodledata/moodle-cron.log
This displays any error messages that were logged during the execution of the cron job. If there are any error messages, they can help you identify the root cause of the problem.
If you're still unable to identify the root cause of the problem, you may need to seek assistance from the Moodle community or the Bitnami support team.