Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


VPS cpanel Server Overloaded problem!
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

VPS cpanel Server Overloaded problem!

bdspicebdspice Member

Hello, i have a dedicated server with Intel Xeon E5-1620 v2 @ 3.70GHz 4core cpu and 16gb ram. i virtualized it and make 2 vps server. one is not used yet, another one is working.i install cpanel on vps. but i face major problem is, sometimes that vps server is overloaded. cpu going 10-20 on mark. But there are just some php based website.i checked the apache error_log and found that some php files have deprecated code.but don't understand why that make server overloaded. how i can get rid from it permanently?
that vps has 6gb ram and kvm based. on whole dedicated server, this is the only vps working now.

Comments

  • georgedatacentergeorgedatacenter Member, Patron Provider

    can show here the apache log

    Thanked by 1bdspice
  • Someone might be sending bulk messages from your server. Keep a watch on the exim log as well. In case there is script sending spam delete it.

    Thanked by 1bdspice
  • MikeAMikeA Member, Patron Provider

    What kind of drives do you have in the server?

    Thanked by 1bdspice
  • WHTWHT Member

    Change php handler.

    Thanked by 1bdspice
  • Try installing this:

    https://engintron.com/

    See if it's an issue with Apache using too much resources.

    Thanked by 1bdspice
  • Use openvz and overcomit your resource to your server specs, i was in similiar case, i use e3 1240 with 16gb of ram and i split it to 2 kvm first, both of the kvm mostly idle but when one of them have workload it will use high resource and make the other unusable, so i recreate with openvz and overcomit ram and cpu

    Thanked by 1bdspice
  • Maybe see if your Apache/Php instance is leaking/thrashing CPU?

    Got any logs for us to look at?

    Thanked by 1kassle
  • @MikeA said:
    What kind of drives do you have in the server?

    SoftRaid 2x2TB SATA

  • MikeAMikeA Member, Patron Provider

    @bdspice said:

    @MikeA said:
    What kind of drives do you have in the server?

    SoftRaid 2x2TB SATA

    My guess would be IO related.. MySQL maybe if you use it or some type of attack.

  • @AlphaNinevps_com said:
    Someone might be sending bulk messages from your server. Keep a watch on the exim log as well. In case there is script sending spam delete it.

    checked all email history. not so much emails in incoming and outgoing history. turned off all notification email on server too.

  • @MikeA said:

    @bdspice said:

    @MikeA said:
    What kind of drives do you have in the server?

    SoftRaid 2x2TB SATA


    My guess would be IO related.. MySQL maybe if you use it or some type of attack.

    its happen very suddenly and until i killed all process and restart, its not down to normal.

  • FlamesRunnerFlamesRunner Member
    edited April 2018

    @bdspice

    Mind posting the output of x aux --sort=-pcpu | head -n 10?

    The x should be replaced by ps, because Cloudflare says so.

  • @FlamesRunner said:
    @bdspice

    Mind posting the output of x aux --sort=-pcpu | head -n 10?

    The x should be replaced by ps, because Cloudflare says so.
    @FlamesRunner said:
    @bdspice

    Mind posting the output of x aux --sort=-pcpu | head -n 10?

    The x should be replaced by ps, because Cloudflare says so.

    what is ps?

  • @bdspice

    Stands for process, lists the system's processes.

    Thanked by 1bdspice
Sign In or Register to comment.