Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

MySql crashes - PHP using most RAM

Discussion in 'Workarounds and Optimization' started by Sachin James, Aug 3, 2018.

  1. Sachin James

    Sachin James Registered

    Joined:
    Apr 27, 2018
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    kochi
    cPanel Access Level:
    Root Administrator
    A Cpanel account consumes most RAM via PHP
    top:
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    13420 user 20 0 113m 25m 6624 S 0.0 2.5 0:00.44 php
    13692 user 20 0 113m 25m 6632 S 23.1 2.5 0:00.51 php
    13413 user 20 0 113m 25m 6628 S 0.0 2.5 0:00.36 php
    13416 user 20 0 113m 25m 6628 S 0.0 2.5 0:00.39 php
    13514 20 0 113m 25m 6628 S 0.0 2.5 0:00.40 php
    13516 20 0 113m 25m 6628 S 0.0 2.5 0:00.31 php
    13656 20 0 113m 25m 6632 S 8.0 2.5 0:00.46 php
    13677 20 0 113m 25m 6632 S 10.7 2.5 0:00.41 php
    13407 20 0 113m 25m 6628 S 0.0 2.5 0:00.32 php
    13411 20 0 113m 25m 6628 S 0.0 2.5 0:00.34 php
    13415 20 0 113m 25m 6628 S 0.0 2.5 0:00.40 php
    13498 20 0 113m 25m 6628 S 0.0 2.5 0:00.29 php
    13666 20 0 113m 25m 6632 S 4.8 2.5 0:00.36 php
    13404 20 0 113m 25m 6628 S 0.0 2.5 0:00.31 php
    13409 20 0 113m 25m 6628 S 0.0 2.5 0:00.33 php
    13669 20 0 111m 25m 6380 S 10.2 2.5 0:00.53 php
    13701 20 0 109m 22m 5976 S 26.3 2.2 0:00.49 php
    13710 20 0 109m 22m 5960 S 18.8 2.2 0:00.35 php
    13691 20 0 108m 22m 6308 R 22.0 2.2 0:00.52 php

    free -m
    total used free shared buffers cached
    Mem: 1024 1001 22 0 0 5

    Database seems to crash everytime I try to start it

    Please help....
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    It's possible your system is running out of available memory. Do you notice any output related to memory in /var/log/messages when MySQL fails? If so, you will need to add more memory to the server, or consider checking with the cPanel user to see if there's anything they (or the script developer) can do to reduce the MySQL resource usage. We provide a list of companies offering system administration services on the following link if you need help with this:

    System Administration Services | cPanel Forums

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice