How to set default innodb_buffer_pool_size before mysqldump and set it back to 1600M after mysqldump?
90% is dangerously high for any server.  For a &quot;tiny&quot; 2G, a much lower 500M should be safe.  Swapping is terrible for performance.  But, things are worse -- --max_allowed_packet=500M is taking up a terribly large amount of RAM.  Try 50M.  If that gives an error, then raise it and lower the buffer_pool.