Jump to content

thai360.com website issues


jigger
 Share

Recommended Posts

The database that underlies the board crashed yet again today.  The management is all lined up bowing down in abject apology.

 

For the technically inclined: In order to forestall these events in the future, I added 8GB to the swap file for the underlying instance at AWS. With luck this problem won't happen again.

Link to comment
Share on other sites

3 hours ago, jigger said:

The database that underlies the board crashed yet again today.  The management is all lined up bowing down in abject apology.

 

For the technically inclined: In order to forestall these events in the future, I added 8GB to the swap file for the underlying instance at AWS. With luck this problem won't happen again.

For the non technically minded 

Adding 8GB to the swap file for the underlying instance on AWS means you have increased the virtual memory allocated to the instance. The swap file acts as an extension of the RAM, stored on the disk. When the physical memory (RAM) is fully utilized, the operating system moves some data from the RAM to the swap file to free up space for active processes.

Impact of this change:

1. Improved memory handling: It helps prevent out-of-memory (OOM) errors for applications that exceed available RAM.

2. Performance trade-offs: Since disk access is slower than RAM, processes relying on swap space may experience reduced performance compared to those running entirely in memory.

3. System stability: This can provide a temporary buffer for high memory usage spikes, increasing overall stability.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...