Open lastpeony opened 1 month ago
Yes I think it is related to the insufficient server resources, I will migrate to a self hosted EC2 instance and install mongoDb on the server. Hopefully it should work fine.
I was using Atlas MongoDB shared Server with the following spec: STORAGE 512 MB RAM Shared vCPU Shared.
You can kindly suggest the minimum but cost effective spec for EC2 to use for the mongodb server, because AWS is quite expensive.
Thank you.
Hi @lastpeony
I’m observing these logs when using a shared server on MongoDB Atlas, which, as noted by @lexy10 , appears to be insufficient server resources.
MongoSocketReadTimeoutException: Timeout while receiving message — This indicates that Ant Media Server couldn’t get a response from MongoDB Atlas. High traffic and unstable network connections could be causing this issue.
To address this, I recommend using at least a 2vCore (CPU-Optimized) instance.
2.11.3 EE reproduce scenario is not clear. occured while user trying to login through web panel after switching mongo. bunch of mongo cluster socket exception are printed in logs
in the end server crash occured. Might be related to insufficient server resources of mongodb. user was using shared mongodb atlas.
AMS should not crash in any case.
ant-media-server.log (59).zip