self-host-csmm-support
textPage 79 of 373
50 messages on this page
Saturday, January 7, 2023
User 75af13
You mean this?
● redis-server.service - Advanced key-value store
Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor >
Active: active (running) since Sat 2023-01-07 11:26:31 UTC; 10min ago
Docs: http://redis.io/documentation,
man:redis-server(1)
Main PID: 846 (redis-server)
Tasks: 4 (limit: 1137)
Memory: 2.4M
CGroup: /system.slice/redis-server.service
└─846 /usr/bin/redis-server 127.0.0.1:6379
Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor >
Active: active (running) since Sat 2023-01-07 11:26:31 UTC; 10min ago
Docs: http://redis.io/documentation,
man:redis-server(1)
Main PID: 846 (redis-server)
Tasks: 4 (limit: 1137)
Memory: 2.4M
CGroup: /system.slice/redis-server.service
└─846 /usr/bin/redis-server 127.0.0.1:6379
User bddf69
I fear the Redis server is either failing or it died and doesn't come back up
User bddf69
Hmm the error messages are very vague but can you try and take a look at Redis on your image?
Friday, January 6, 2023
Thursday, January 5, 2023
User bddf69
Yeah, don't fill in the Discord config and CSMM will boot without it
User 75af13
Hi, I'll look at the logs in a while, but I have another question, is it possible to install csmm without the discord bot?
Wednesday, January 4, 2023
User 905c0a
journalctl --boot=-1 will dump the previous boot's logs.User bddf69
:(
Can you post logs or any more info please?
User 75af13
Sorry to bother you again, but it doesn't work, when csmm starts it shows neither the log nor the chat, but most of the attempts go back to the boot loop 😫
User 75af13
Hahahaha, challenge ahead!!!
User bddf69
But, fair warning: it's a deep, deep rabbit hole :P
User bddf69
If you want to investigate more, I think there'll be related messages in kernel logs. You can check it with the
dmesg commandUser 75af13
Ok, thanks @User 22055452
User bddf69
CSMM is written in javascript, it doesn't have much low-level control over memory
User bddf69
It should start using swap, if it's available. But that's more of a Docker/OS responsibility rather than CSMM
User 75af13
Yeah
User bddf69
Does the machine have swap enabled?
User 75af13
Sorry, you've got the reason, was memory, with 2gb works fine, but inage don't use swap memory?
User bddf69
Or if it doesnt exist there yet, create the variable :p
User bddf69
You can find that
CSMM_LOGLEVEL variable in /etc/csmm_versionUser bddf69
Hmm okay, it seems to be failing when initializing hooks inside the worker. It's hard to tell what's going wrong exactly though, could you try setting
CSMM_LOGLEVEL to verbose and then collect logs again please?Tuesday, January 3, 2023
User 75af13
with top
User bddf69
Where are you getting that number? If you're looking at the DO dashboard, it wont be accurate for situations like this
User 75af13
The maximum consumption of ram is just before the crash, 600M
User bddf69
Hmm can you try and keep an eye on memory usage of your droplet? It might be hitting the max RAM
User 905c0a
Ah, yeah. If it's not just for parsing later I'd push for removing the spurious errors. But barring that I can't help so I'll stfu 🙂
User 75af13
Ok, I'm going to try it, I'll have to be quick
User bddf69
First,
docker container ls to get a list of containers, take note of the IDs hereThen
docker logs -f <container id> to fetch the actual logsUser 75af13
I mean container, how to see logs?
User bddf69
To monitor this, I'd look at the CSMM logs and do a grep for
SSE. That should get you most of the related messagesUser bddf69
There indeed aren't really docs for that. The best I can give you is a link to the code 🙈
SSE_RATE_LIMIT_AMOUNT logs per SSE_RATE_LIMIT_MINUTES minutesIf you want CSMM to take more logs, the TLDR is; make
SSE_RATE_LIMIT_AMOUNT higher and/or SSE_RATE_LIMIT_MINUTES lowerUser bddf69
CSMM does rate-limiting on how many logs it ingests from game servers to prevent from getting overloaded. That's what Lemon is aiming at 😄
User bddf69
You mean the entire OS fails to start? That's... weird :/
If you mean the container image, can you take a look at the container logs? There's likely to be an error in there
User 905c0a
I would just run a
https://www.linuxshelltips.com/remove-lines-from-file-using-sed-command/
cron command every minute or so that clears the offending lines with sedhttps://www.linuxshelltips.com/remove-lines-from-file-using-sed-command/
User 905c0a
Are you running on linux?
User a83fb8
I'd like to experiment with changing my log rate limit (throttle) if at all possible, but I haven't seen any information on this in the channels or docs. There is frequent and relentless log spam going on that I can't get rid of, the 7dtd assembly edits from Prisma don't include the lines I'm getting, they are probably specificly problematic to the overhaul I'm hosting (DF).
User 75af13
Thanks, I have v18, I'm going to install v16
User 963f55
iirc was told not to go higher then that atm...
Monday, January 2, 2023
User 963f55
Idk if this is a factor for DO hosting, but make sure your node is running version 16... CSMM 2.0+ requires that...
Check with command:
Check with command:
node -vUser 75af13
Hi, I have installed the digital ocean image and only got version 1.28 to work, versions 2.0 and 2.1 won't boot with the same settings, the image boots for about 15 seconds and stops, keeps looping and fails to load , I have updated node and docker but it has not worked
User 23fa64
You can change the permission level in the
cpmsettings.xml<ChatCommandPermissions_bed>0</ChatCommandPermissions_bed>
User 374c5d
bed is an admin cpm command
User 180de5
Why would a player get you are not allowed to run this command, hen they are doing "/bed"
Friday, December 30, 2022
User 180de5
thank you !!
User bddf69
yeah indeed
User 180de5
and the cpm map and such, yes?
User bddf69
Depends, if you want people to be able to use the web shop (but they could do it from ingame too)
User 180de5
csmm that is..
User 180de5
is there any advantage to add this to the public space for user connecting to my server?