MySQL process killed

Discussion in 'Installation/Configuration' started by Nolan, Jan 26, 2015.

  1. Nolan

    Nolan Member

    Hi,
    For some reason my box keeps running out of memory, it's got 4 GB RAM. Here is the system log: http://pastebin.com/5PLafaEh

    I set up ISPConfig using the advanced set up, since all I need was DNS, web server, FTP and MySQL. I don't need email.
    This is on Debian 7 stable, and on the most current version of ISPConfig. Here is the output of free -m a few minutes after a system reboot.
    root@server1:~# free -m
    total used free shared buffers cached
    Mem: 3963 2593 1369 0 48 370
    -/+ buffers/cache: 2174 1789
    Swap: 0 0 0

    Any ideas on what I can do to rectify this?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    check your mysql configuration with e.g. mysqltuner to see if your mysql configuration does not allow mysql to use too much ram.
     
  3. Nolan

    Nolan Member

    Thanks. I'll try that.
     
  4. Nolan

    Nolan Member

    Based on those logs, is it mysql that is using all of the memory? It just looks like it's killed because it has a score of 48:
    1. Jan 26 13:31:16 server1 kernel: [5946875.687584] Out of memory: Kill process 32481 (mysqld) score 48 or sacrifice child
    From top it looks like it's a bunch of apache threads that are collectively using all of the memory.
     

Share This Page