crspybits / SyncServerII

🚫 This is deprecated. See https://github.com/SyncServerII/ServerMain.git
MIT License
5 stars 3 forks source link

Server heath severe, returns nil server version to app #72

Open crspybits opened 6 years ago

crspybits commented 6 years ago

For some time before this also, AWS had been reporting 96% memory used.

This occurred while I was doing a download of all images with SharedImages.

server was down
crspybits commented 6 years ago

Is there just insufficient memory in the EC2 instance to support this server? If so, how do I generally monitor the amount of memory remaining?

crspybits commented 6 years ago

It seems you have to do some installations to allow general purpose memory monitoring: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/mon-scripts.html https://www.youtube.com/watch?v=QdSKm-3Oebo https://engageinteractive.co.uk/blog/aws-cloudwatch-reporting-ram-disk-usage-and-more https://stackoverflow.com/questions/41507790/monitoring-memory-usage-for-multiple-ec2-instances

See also: https://www.cyberciti.biz/faq/linux-check-memory-usage/ https://www.linuxatemyram.com

crspybits commented 6 years ago

These free -m invocations were during single refresh on SharedImages soon after a reboot of the production server.

screen shot 2018-05-27 at 9 13 59 pm screen shot 2018-05-27 at 9 14 26 pm