No, all my notifications settings like in old server. Yesterday after two hour from my last post lags are almost gone. But still there are periodically present. And yesterday at the moment when the server stopped lagging, a bunch of processes appeared in htop.
And output of journalctl -f -u snap.rocketchat-server.rocketchat-mongo
-- Logs begin at Thu 2019-12-12 16:04:35 CET. --
Dec 20 15:45:57 Ubuntu-1804-bionic-64-minimal rocketchat-server.rocketchat-mongo[7106]: 2019-12-20T15:45:57.361+0100 I COMMAND [conn18] command parties.rocketchat_uploads.chunks command: find { find: “rocketchat_uploads.chunks”, filter: { files_id: “SDGeQJtS84iB9q9wr” }, sort: { n: 1 }, returnKey: false, showRecordId: false, $clusterTime: { clusterTime: Timestamp(1576853099, 3), signature: { hash: BinData(0, 0000000000000000000000000000000000000000), keyId: 0 } }, $db: “parties” } planSummary: COLLSCAN keysExamined:0 docsExamined:141888 hasSortStage:1 cursorExhausted:1 numYields:3025 nreturned:1 reslen:32594 locks:{ Global: { acquireCount: { r: 6052 } }, Database: { acquireCount: { r: 3026 } }, Collection: { acquireCount: { r: 3026 } } } protocol:op_query 56452ms
Dec 20 15:45:57 Ubuntu-1804-bionic-64-minimal rocketchat-server.rocketchat-mongo[7106]: 2019-12-20T15:45:57.362+0100 I COMMAND [conn20] command parties.rocketchat_uploads.chunks command: find { find: “rocketchat_uploads.chunks”, filter: { files_id: “cgEg7S7EK8ntsj8EK” }, sort: { n: 1 }, returnKey: false, showRecordId: false, $clusterTime: { clusterTime: Timestamp(1576853101, 2), signature: { hash: BinData(0, 0000000000000000000000000000000000000000), keyId: 0 } }, $db: “parties” } planSummary: COLLSCAN keysExamined:0 docsExamined:141888 hasSortStage:1 cursorExhausted:1 numYields:2997 nreturned:1 reslen:198905 locks:{ Global: { acquireCount: { r: 5996 } }, Database: { acquireCount: { r: 2998 } }, Collection: { acquireCount: { r: 2998 } } } protocol:op_query 55449ms
Dec 20 15:45:57 Ubuntu-1804-bionic-64-minimal rocketchat-server.rocketchat-mongo[7106]: 2019-12-20T15:45:57.362+0100 I COMMAND [conn17] command parties.rocketchat_uploads.chunks command: find { find: “rocketchat_uploads.chunks”, filter: { files_id: “2X5ZDuQuN4QCE7mFE” }, sort: { n: 1 }, returnKey: false, showRecordId: false, $clusterTime: { clusterTime: Timestamp(1576853087, 5), signature: { hash: BinData(0, 0000000000000000000000000000000000000000), keyId: 0 } }, $db: “parties” } planSummary: COLLSCAN keysExamined:0 docsExamined:141888 hasSortStage:1 cursorExhausted:1 numYields:3234 nreturned:1 reslen:179962 locks:{ Global: { acquireCount: { r: 6470 } }, Database: { acquireCount: { r: 3235 } }, Collection: { acquireCount: { r: 3235 } } } protocol:op_query 61960ms
Dec 20 15:45:57 Ubuntu-1804-bionic-64-minimal rocketchat-server.rocketchat-mongo[7106]: 2019-12-20T15:45:57.363+0100 I COMMAND [conn14] command parties.rocketchat_uploads.chunks command: find { find: “rocketchat_uploads.chunks”, filter: { files_id: “tfGfndsiwGCALkNCB” }, sort: { n: 1 }, returnKey: false, showRecordId: false, $clusterTime: { clusterTime: Timestamp(1576853101, 2), signature: { hash: BinData(0, 0000000000000000000000000000000000000000), keyId: 0 } }, $db: “parties” } planSummary: COLLSCAN keysExamined:0 docsExamined:141888 hasSortStage:1 cursorExhausted:1 numYields:2972 nreturned:13 reslen:3271927 locks:{ Global: { acquireCount: { r: 5946 } }, Database: { acquireCount: { r: 2973 } }, Collection: { acquireCount: { r: 2973 } } } protocol:op_query 54273ms
Dec 20 15:46:57 Ubuntu-1804-bionic-64-minimal rocketchat-server.rocketchat-mongo[7106]: 2019-12-20T15:46:57.523+0100 I COMMAND [conn17] command parties.rocketchat_uploads.chunks command: find { find: “rocketchat_uploads.chunks”, filter: { files_id: “waS7FYMdvykG3Gg7x” }, sort: { n: 1 }, returnKey: false, showRecordId: false, $clusterTime: { clusterTime: Timestamp(1576853160, 6), signature: { hash: BinData(0, 0000000000000000000000000000000000000000), keyId: 0 } }, $db: “parties” } planSummary: COLLSCAN keysExamined:0 docsExamined:141888 hasSortStage:1 cursorExhausted:1 numYields:2897 nreturned:1 reslen:63855 locks:{ Global: { acquireCount: { r: 5796 } }, Database: { acquireCount: { r: 2898 } }, Collection: { acquireCount: { r: 2898 } } } protocol:op_query 51555ms
Dec 20 15:46:57 Ubuntu-1804-bionic-64-minimal rocketchat-server.rocketchat-mongo[7106]: 2019-12-20T15:46:57.524+0100 I COMMAND [conn18] command parties.rocketchat_uploads.chunks command: find { find: “rocketchat_uploads.chunks”, filter: { files_id: “SDGeQJtS84iB9q9wr” }, sort: { n: 1 }, returnKey: false, showRecordId: false, $clusterTime: { clusterTime: Timestamp(1576853157, 26), signature: { hash: BinData(0, 0000000000000000000000000000000000000000), keyId: 0 } }, $db: “parties” } planSummary: COLLSCAN keysExamined:0 docsExamined:141888 hasSortStage:1 cursorExhausted:1 numYields:3128 nreturned:1 reslen:32594 locks:{ Global: { acquireCount: { r: 6258 } }, Database: { acquireCount: { r: 3129 } }, Collection: { acquireCount: { r: 3129 } } } protocol:op_query 59269ms
Dec 20 15:46:57 Ubuntu-1804-bionic-64-minimal rocketchat-server.rocketchat-mongo[7106]: 2019-12-20T15:46:57.524+0100 I COMMAND [conn20] command parties.rocketchat_uploads.chunks command: find { find: “rocketchat_uploads.chunks”, filter: { files_id: “yQTBA6hNckNwfHZXQ” }, sort: { n: 1 }, returnKey: false, showRecordId: false, $clusterTime: { clusterTime: Timestamp(1576853167, 1), signature: { hash: BinData(0, 0000000000000000000000000000000000000000), keyId: 0 } }, $db: “parties” } planSummary: COLLSCAN keysExamined:0 docsExamined:141888 hasSortStage:1 cursorExhausted:1 numYields:2707 nreturned:5 reslen:1168817 locks:{ Global: { acquireCount: { r: 5416 } }, Database: { acquireCount: { r: 2708 } }, Collection: { acquireCount: { r: 2708 } } } protocol:op_query 46175ms
Dec 20 15:48:42 Ubuntu-1804-bionic-64-minimal rocketchat-server.rocketchat-mongo[7106]: 2019-12-20T15:48:42.520+0100 I COMMAND [conn17] command parties.rocketchat_uploads.chunks command: find { find: “rocketchat_uploads.chunks”, filter: { files_id: “SDGeQJtS84iB9q9wr” }, sort: { n: 1 }, returnKey: false, showRecordId: false, $clusterTime: { clusterTime: Timestamp(1576853257, 1), signature: { hash: BinData(0, 0000000000000000000000000000000000000000), keyId: 0 } }, $db: “parties” } planSummary: COLLSCAN keysExamined:0 docsExamined:141888 hasSortStage:1 cursorExhausted:1 numYields:3193 nreturned:1 reslen:32594 locks:{ Global: { acquireCount: { r: 6388 } }, Database: { acquireCount: { r: 3194 } }, Collection: { acquireCount: { r: 3194 } } } protocol:op_query 60758ms
Dec 20 15:48:42 Ubuntu-1804-bionic-64-minimal rocketchat-server.rocketchat-mongo[7106]: 2019-12-20T15:48:42.520+0100 I COMMAND [conn14] command parties.rocketchat_uploads.chunks command: find { find: “rocketchat_uploads.chunks”, filter: { files_id: “udWW9fBMNQQdQ9rFn” }, sort: { n: 1 }, returnKey: false, showRecordId: false, $clusterTime: { clusterTime: Timestamp(1576853267, 6), signature: { hash: BinData(0, 0000000000000000000000000000000000000000), keyId: 0 } }, $db: “parties” } planSummary: COLLSCAN keysExamined:0 docsExamined:141888 hasSortStage:1 cursorExhausted:1 numYields:2921 nreturned:1 reslen:57938 locks:{ Global: { acquireCount: { r: 5844 } }, Database: { acquireCount: { r: 2922 } }, Collection: { acquireCount: { r: 2922 } } } protocol:op_query 52307ms
Dec 20 15:48:42 Ubuntu-1804-bionic-64-minimal rocketchat-server.rocketchat-mongo[7106]: 2019-12-20T15:48:42.520+0100 I COMMAND [conn20] command parties.rocketchat_uploads.chunks command: find { find: “rocketchat_uploads.chunks”, filter: { files_id: “SDGeQJtS84iB9q9wr” }, sort: { n: 1 }, returnKey: false, showRecordId: false, $clusterTime: { clusterTime: Timestamp(1576853267, 6), signature: { hash: BinData(0, 0000000000000000000000000000000000000000), keyId: 0 } }, $db: “parties” } planSummary: COLLSCAN keysExamined:0 docsExamined:141888 hasSortStage:1 cursorExhausted:1 numYields:2969 nreturned:1 reslen:32594 locks:{ Global: { acquireCount: { r: 5940 } }, Database: { acquireCount: { r: 2970 } }, Collection: { acquireCount: { r: 2970 } } } protocol:op_query 53792ms
and these connections just swap places…