Find Jobs
Hire Freelancers

Ubuntu docker

$30-250 USD

Completed
Posted over 5 years ago

$30-250 USD

Paid on delivery
We have a physical machine with Ubuntu 14.04 LTS where ran an application called Ubersmith that uses Docker container: https://docs.ubersmith.com/display/UbersmithDocumentation/Ubersmith+and+Docker One of its container has a MySQL Server, and since we wanted to backup the database generating a .sql file to restore on another host if needed, I've installed mysqlclient directly on the OS and I'm using crontab to ran mysqldump twice a day. That is how I do now: 0 1 * * * /usr/bin/mysqldump -h [login to view URL] -u root --password='******' ubersmith > /backup_mysql_cron/[login to view URL] 0 18 * * * /usr/bin/mysqldump -h [login to view URL] -u root --password='*****' ubersmith > /backup_mysql_cron/[login to view URL] - It has worked fine for us until last week, but now, when this cron runs, mysqld start using a big amount of RAM, for example, the server had 16 GB of memory free, and after the dump, it has only 8 GB and this isn't decreasing after the dump process is finished. Because of this cron, the server starts using swap and its applications become too slow and this affects our customers a lot, then we need someone who has a experience with Ubuntu+Docker+MySQL to find a solution to keep running the dump no affecting the server's applications.
Project ID: 18114455

About the project

6 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi, Before accepting, please read: you can actually change your commands for the sql-dump a bit (you can try it manually: mysqldump -h [login to view URL] -u root --password='******' --quick ubersmith > /backup_mysql_cron/[login to view URL] This will read the large tables row by row instead of keeping everything in the buffer (might increase the dump-size, though) Best, C
$30 USD in 1 day
5.0 (35 reviews)
4.7
4.7
6 freelancers are bidding on average $139 USD for this job
User Avatar
I have 16 years of experience in web hosting, server administration and php programming See my previous works at https://www.freelancer.com/u/NetFreeHost Message me, let's discuss the project.
$50 USD in 1 day
5.0 (760 reviews)
7.0
7.0
User Avatar
system admin expert
$250 USD in 1 day
5.0 (27 reviews)
5.4
5.4
User Avatar
Hi There have you tried adding the following options to tne mysqldump --skip-opt --quick cron line? I would advise you to give it a try. There are reported mysqldump bugs with the behaviour that you are explaining. I can help you to troubleshoot further Regards!
$150 USD in 3 days
5.0 (7 reviews)
3.6
3.6
User Avatar
Hello! Try adding a parameter --single transactions for cron, if I do not help, I will analyze the problem and solve it with other backup tools, such as mydumper, which can be more precisely configured to troubleshoot backup problems.
$133 USD in 1 day
5.0 (1 review)
2.3
2.3

About the client

Flag of BRAZIL
São Paulo, Brazil
5.0
1
Payment method verified
Member since Nov 7, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.