mod_hostinglimits and mor_ruid2
Forum
  1. Forums
  2. General
  3. General Discussion
  1. Maciej Wójcikowski
  2. Monday, 15 August 2011
  3.  Subscribe via email
What kind of behavior can one expect from such config when an user overuses resources? Since there is no extra process spawn and it\'s only PID owner that changes? Anyone use that combination here?
Rate this post:
  1. 15.08.2011 13:08:20
  2. # 1
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
Same as with mod_php
CPU limits/entry processes will work.
Memory limits will not work.
We really don\'t care about extra processes/etc...
  1. 15.08.2011 16:08:35
  2. # 2
Maciej Wójcikowski Accepted Answer
Posts: 12
Joined: 10.08.2010
0
Votes
Undo
As I understand the limit will also contain static requests being handled, since they\'re executed as `user` (correct me if I\'m wrong). It\'s still not quite clear for me how would apache respond to a request when user\'s limit is saturated? I guess that it\'d respond with 500-510 error.
  1. 15.08.2011 16:08:38
  2. # 3
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
no, we don\'t touch static requests.
The CPU limits will results in site getting slower.
maxEntryProcs limit will produce error 508 -- resource limit reached.
  1. 15.08.2011 16:08:37
  2. # 4
Maciej Wójcikowski Accepted Answer
Posts: 12
Joined: 10.08.2010
0
Votes
Undo
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?
  1. 15.08.2011 16:08:25
  2. # 5
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
yes, only when it does CGI/php
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.