Thousands of mongo entries in syslog over ~1 hour

Description

I am noticing repeated occurrences of mongo generating ~2k entries in syslog, often after a period of seeing nothing for hours. This also seems to coincide with a period of server instability which may or may not be related.

I’ve added the top 100 entries in today’s log below with the description truncated to show only the command. The total number of entries was 2702 between 00:00:03 and 01:18:1.

I have one user accessing the server via web and one user via REST API, though not at the time the logs were generated

Server Setup Information

  • Version of Rocket.Chat Server: 3.8.3
  • Operating System: Ubuntu 20.04
  • Deployment Method: Snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: 12.18.4
  • MongoDB Version: 3.6.14
  • Proxy: nginx
  • Firewalls involved: Simple port based firewall

Any additional Information

All logged by rocketchat-server.rocketchat-mongo


COMMAND [conn316] command parties.users command
COMMAND [conn298] command parties.rocketchat_notification_queue command
COMMAND [ftdc] serverStatus was very slow
COMMAND [conn297] command admin.$cmd command
WRITE [conn277] update parties.rocketchat_settings command
COMMAND [conn277] command parties.$cmd command
WRITE [conn298] update parties.instances command
COMMAND [conn298] command parties.$cmd command
COMMAND [conn285] command parties.users command
COMMAND [conn298] command parties.users command
COMMAND [conn277] command parties.users command
WRITE [conn288] update parties.users command
COMMAND [conn288] command parties.$cmd command
COMMAND [conn277] command parties.users command
COMMAND [conn218] command parties.users command
COMMAND [conn288] command parties.users command
WRITE [conn285] update parties.instances command
COMMAND [conn297] command admin.$cmd command
COMMAND [conn285] command parties.$cmd command
COMMAND [conn317] command parties.meteor_accounts_loginServiceConfiguration command
COMMAND [conn316] command parties.rocketchat_livechat_inquiry command
COMMAND [conn319] command parties.rocketchat_integrations command
COMMAND [conn324] command parties.rocketchat_integration_history command
COMMAND [conn329] command parties.rocketchat_roles command
COMMAND [conn320] command parties.rocketchat_livechat_department_agents command
COMMAND [conn323] command parties.rocketchat_subscription command
COMMAND [conn325] command parties.usersSessions command
COMMAND [conn321] command parties.rocketchat_message command
COMMAND [conn328] command parties.rocketchat_room command
COMMAND [conn314] command parties.rocketchat_permissions command
COMMAND [conn315] command parties.rocketchat_settings command
COMMAND [conn318] command admin.$cmd command
COMMAND [conn327] command parties.instances command
COMMAND [conn322] command parties.users command
COMMAND [ftdc] serverStatus was very slow
COMMAND [conn325] command parties.meteor_accounts_loginServiceConfiguration command
COMMAND [conn321] command parties.rocketchat_subscription command
COMMAND [conn316] command parties.rocketchat_room command
COMMAND [conn320] command parties.rocketchat_message command
COMMAND [conn323] command parties.rocketchat_roles command
COMMAND [conn317] command parties.rocketchat_livechat_department_agents command
COMMAND [conn314] command parties.rocketchat_livechat_inquiry command
COMMAND [conn319] command parties.usersSessions command
COMMAND [conn329] command parties.rocketchat_integration_history command
COMMAND [conn328] command parties.rocketchat_integrations command
COMMAND [conn326] command parties.rocketchat_permissions command
COMMAND [conn327] command parties.users command
COMMAND [conn324] command parties.rocketchat_settings command
COMMAND [conn298] command admin.$cmd command
COMMAND [conn315] command parties.instances command
COMMAND [conn328] command parties.rocketchat_livechat_inquiry command
COMMAND [conn325] command parties.rocketchat_integration_history command
COMMAND [conn319] command parties.rocketchat_integrations command
COMMAND [conn329] command parties.rocketchat_roles command
COMMAND [conn322] command parties.meteor_accounts_loginServiceConfiguration command
COMMAND [conn314] command parties.rocketchat_room command
COMMAND [conn326] command parties.rocketchat_message command
COMMAND [conn323] command parties.rocketchat_livechat_department_agents command
COMMAND [conn321] command parties.usersSessions command
COMMAND [conn317] command parties.rocketchat_subscription command
COMMAND [conn316] command parties.rocketchat_permissions command
COMMAND [conn315] command parties.rocketchat_settings command
COMMAND [conn324] command parties.users command
COMMAND [conn320] command parties.instances command
COMMAND [conn277] command admin.$cmd command
COMMAND [conn318] command admin.$cmd command
COMMAND [conn328] command parties.rocketchat_livechat_department_agents command
COMMAND [conn323] command parties.rocketchat_roles command
COMMAND [conn316] command parties.rocketchat_livechat_inquiry command
COMMAND [conn329] command parties.meteor_accounts_loginServiceConfiguration command
COMMAND [conn327] command parties.rocketchat_integration_history command
COMMAND [conn325] command parties.usersSessions command
COMMAND [conn314] command parties.rocketchat_permissions command
COMMAND [conn321] command parties.rocketchat_subscription command
COMMAND [conn317] command parties.rocketchat_message command
COMMAND [conn326] command parties.rocketchat_integrations command
COMMAND [conn288] command parties.rocketchat_notification_queue command
COMMAND [conn322] command parties.rocketchat_settings command
COMMAND [conn315] command parties.users command
COMMAND [ftdc] serverStatus was very slow
COMMAND [conn324] command parties.instances command
COMMAND [conn285] command parties.users command
COMMAND [conn327] command parties.rocketchat_livechat_inquiry command
COMMAND [conn321] command parties.rocketchat_message command
COMMAND [conn326] command parties.users command
COMMAND [conn329] command parties.rocketchat_integration_history command
COMMAND [conn314] command parties.rocketchat_subscription command
COMMAND [conn320] command parties.rocketchat_roles command
COMMAND [conn317] command parties.usersSessions command
COMMAND [conn319] command parties.rocketchat_integrations command
COMMAND [conn323] command parties.meteor_accounts_loginServiceConfiguration command
COMMAND [conn328] command parties.rocketchat_room command
COMMAND [conn315] command parties.rocketchat_settings command
WRITE [conn218] update parties.instances command
COMMAND [conn316] command parties.rocketchat_permissions command
COMMAND [conn325] command parties.rocketchat_livechat_department_agents command
COMMAND [conn218] command parties.$cmd command
COMMAND [conn322] command parties.instances command
COMMAND [conn288] command parties.users command