MySQL & CentOS Memory Leak

Posted on 2012-08-24
Medium Priority
Last Modified: 2012-09-07
How can i see if mysql is leaking memory?
Question by:deklinm
LVL 81

Accepted Solution

arnold earned 1000 total points
ID: 38329343
Versions of MySQL/centos?

It is unlikely that MySQL is leaking.
Check your MySQL configuration.  You might have configured resource uses per connection/query beyond the available system resources.
LVL 25

Assisted Solution

madunix earned 1000 total points
ID: 38335383
Have you looked at tuning MySQL first? What processes are slowing your server down, eating your memory and are there any other applications sharing the machine that might be contributing to the problem?

Valgrind is a wonderful tool useful mainly to debug memory related problems in C/C++ programs.

Check "Memory leak in mysql"

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month14 days, 13 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question