Results 1 to 2 of 2

Thread: Multiple simultaneous Rsync jobs slowing system

  1. #1
    Join Date
    Jul 2008
    Beans
    1

    Multiple simultaneous Rsync jobs slowing system

    Hi! Thanks in advance for any help you guys can provide me.

    I've set up 2 servers to mirror each other. They're not doing anything complex, only sharing files. I've set up an RSync job on one of them to pull the data over and ensure that the data is the same in both locations.

    The systems are not set up to load balance. This is only for data backup and ease/speed of recovery in case of a drive or hardware failure.

    I'd like to have RSync run every 5 minutes. There are only about 7 users on the server at any given time, and there aren't any large files being edited, so theoretically this should work.

    I used cron to schedule the job to run every 5 minutes. Since there are 3 different major file shares, I set up 3 jobs. About an hour later I received a call from the client saying that the file server access was getting slow. I promptly disabled the cron jobs and things seemed to return to normal.

    Does anyone know what might cause this? Is it the RSync jobs running at the same time? Could it have something to do with the cron jobs? Is it file access?

    Per my knowledge of RSync, it should know how to deal with open files, and shouldn't do any major copies after the first copy - the documentation says it only copes files that have been changed since the last rsync, and even then only the parts of the files that have been changed.

    Thanks!
    - Jesse

  2. #2
    Join Date
    Mar 2007
    Location
    Hillsboro, OR
    Beans
    169
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Multiple simultaneous Rsync jobs slowing system

    Have you checked top? it could be that the rsyncs are overlapping each other.

    Also, i don't know that this is the best way to go about what you're trying to do. Have you considered RAID, and then tossing the disks in the backup server if needed?
    Apollo(ss): Ubuntu 8.10, Pentium T2330, 2GB RAM, 200GB(Laptop)
    Hestia: Ubuntu 8.04.1, 2.4Ghz P4, 1GB RAM, 500GB, (SMB/FTP/Torrent) {Rebuilding}
    Poseidon: Ubuntu Server 8.04.1, 512MB, LAMP, Mail (VPS)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •