mod_hostinglimits and mor_ruid2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • meto
    Junior Member
    Forum Explorer
    • Mar 2021
    • 17

    #1

    mod_hostinglimits and mor_ruid2

    What kind of behavior can one expect from such config when an user overuses resources? Since there is no extra process spawn and its only PID owner that changes? Anyone use that combination here?
  • iseletsk
    Senior Member
    • Dec 2017
    • 1199

    #2
    Same as with mod_php
    CPU limits/entry processes will work.
    Memory limits will not work.
    We really don care about extra processes/etc...

    Comment

    • meto
      Junior Member
      Forum Explorer
      • Mar 2021
      • 17

      #3
      As I understand the limit will also contain static requests being handled, since they
      e executed as `user` (correct me if Im wrong). Its still not quite clear for me how would apache respond to a request when users limit is saturated? I guess that itd respond with 500-510 error.

      Comment

      • iseletsk
        Senior Member
        • Dec 2017
        • 1199

        #4
        no, we don touch static requests.
        The CPU limits will results in site getting slower.
        maxEntryProcs limit will produce error 508 -- resource limit reached.

        Comment

        • meto
          Junior Member
          Forum Explorer
          • Mar 2021
          • 17

          #5
          Since I plan to use frontend proxy actually limiting static requests could be a nice feature, one should check the tradeoffs of such solution. Just a brief idea. Might be nice solution to stop flood of static requests.

          So the process enters LVE when it goes to CGI/php not when it changes user?

          Comment

          • iseletsk
            Senior Member
            • Dec 2017
            • 1199

            #6
            yes, only when it does CGI/php

            Comment

            Working...