Hi. I have an issue with replication of a site. It worked fine for a few times, and now it wont, it fails, saying Out of memory! Initially the server was 1Gb and it worked OK. When it started to fail with Out of memory I upgraded the server to 2Gb, but it still fails.
I cannot believe 2Gb Ram is not enough, so is there some other issue? Its only 1 site, less than 1Gb, and it did work on a 1Gb server when the site was over 2Gb before I deleted some files.
Backing up 1 virtual servers on source system …
… created backup of 777.99 MB
Transferring backups to destination systems …
… done
Restoring backups on destination systems …
… 0 restores succeeded, 1 failed
Failed to restore on failover1.myserver.co.uk : Checking for missing features … … all features in backup are supported Checking for errors in backup … … no errors found Starting restore… Extracting backup archive files … … done Restoring backup for virtual server mydomain.com … Restoring virtual server password, quota and other details … … done Updating administration password and quotas … … done Restoring Cron jobs … … done Extracting TAR file of home directory … … done Setting ownership of home directory … … done Out of memory!
Replication failed - see the output above for the reason why.
So this happens every night. The initial replication that worked shows fine when our failover DNS kicks in, so any new replication each night is just not working.
I really need to get to the bottom of this though, I cant see it being a memory issue, woudl be great if I could access some more descriptive logs than just out of memory??
That particular server has 2GB of RAM, and no swap.
Would it be possible to add some swap space to that particular server? Or even some additional RAM? That would give it some more breathing room during the restore process.