π Issue Report: MySQL Docker Container in Kubernetes Restarts Every 2β3 Days Despite 11β―GB RAM Assigned to Pod #1112
                  
                    
                      jayrajmeh0
                    
                  
                
                  started this conversation in
                General
              
            Replies: 2 comments 4 replies
-
| Are you sure it's memory related and not file system related (for example, running out of space for logs)? | 
Beta Was this translation helpful? Give feedback.
                  
                    4 replies
                  
                
            -
| Might also want to check what sysctls are set for the pod/container; see | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Description
We're running a MySQL Docker container in a Kubernetes cluster. The container restarts every 2β3 days, typically when memory usage increases. We've assigned 11β―GB of RAM directly to the Pod, yet the MySQL container still crashes and restarts periodically.
Interestingly, the same application and MySQL configuration runs fine on a Windows Server with only 8β―GB RAM, without restarts.
Weβve already tuned
my.cnfparameters to better manage memory usage, but that hasn't resolved the issue. We suspect the MySQL container may be hitting memory limits or being killed (possibly due to OOM conditions).π¦ Environment Details
mysql:8.0.35βοΈ MySQL Configuration (
my.cnf)Beta Was this translation helpful? Give feedback.
All reactions