High load vs Resource usage limited

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sahostking
    Member
    Forum ExplorerTechnical Associate
    • Mar 2021
    • 95

    #1

    High load vs Resource usage limited

    Hello!

    Now some sites make high load and I have big problems with my customers.
    I bough many CloudLinux licenses to prevent that but I see he didn do what CL say.

    When a customer use all allocated resources I want to show "Resource usage limited" not the website very very slow.

    How can I block this spikes?

    Many thanks!
    Hostking | Since 2013 | Web Hosting | WordPress Web Hosting
  • bogdan.sh
    Administrator
    • Nov 2016
    • 1219

    #2
    Hello,

    There are many limits and they acts differently when resoruce limit is reached:
    - if user hits CPU limit processes within that limit are slowed down
    - when LVE tries to allocate more memory (virtual memory) then a limit - the process will fail, for CGI/PHP scripts it will cause error 500 or 503
    - same for physical memory limit
    - when IO limit is reached the processes are throttled (put to sleep), and last longer
    - when NPROC limit is reached no new processes can be created, apache will return error 500 or 503
    - when entry process limit is reached website will show error 508 (Resource limit reched)

    This is how CloudLinux works, and actually that is correct way to handle all limits.

    Comment

    • contact
      Junior Member
      • Apr 2017
      • 8

      #3
      Yes, teoretical is correct. But practical I have many times load more 100.... and in this time very very rarely error 500/503/Resource Limit Reached.

      Comment

      Working...