hello, I just noticed that when my client is listening to more than one chat room in parallel, it is making my nextcloud instance quite slow and less responsive but I struggle to understand why.
Slow means that for example when I enter a new talk message it takes sometimes up to 30 seconds until it was sent, but also switching between the nextcloud tabs talk to files is less responsive…
Following API/URL GET request is used:
/ocs/v2.php/apps/spreed/api/v1/chat/${this.roominfo.token}?lookIntoFuture=1&setReadMarker=1&format=json&lastKnownMessageId=${this.lastmsgid}
These are the http(s) options:
this.httpoptions = {
host: _options.server,
port: _options.port,
timeout: 120000,
// authentication headers
headers: {
“Authorization”: "Basic " + Buffer.from(${_options.user}:${_options.pass}).toString(“base64”),
“content-type”: “application/json”, “OCS-APIRequest”: “true”,
“USER_AGENT”: “js-nctalkclient”,
“ACCEPT_LANGUAGE”: “de, en-US;q=0.9”
},
};
Infos about the nextcloud system I test it with…
"nextcloud": {
"system": {
"version": "22.2.3.0",
"theme": "",
"enable_avatars": "yes",
"enable_previews": "yes",
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.distributed": "none",
"filelocking.enabled": "yes",
"memcache.locking": "none",
"debug": "no",
"freespace": 1525465989120,
"cpuload": [
0.740234375,
0.470703125,
0.39208984375
],
"mem_total": 32740464,
"mem_free": 27926364,
"swap_total": 0,
"swap_free": 0,
Thank you for any idea - how to debug further or hint what could be the problem…