Page 1 of 1

[atomic] mod_hostinglimits 0.6.1-0.2

Posted: Thu Nov 11, 2010 11:10 am
by scott
From the CloudLinux Lightweight Virtual Environment (LVE) project

mod_hostinglimits works with existing cgi/php modules, to put them into LVE context. In most cases the cgi/php process will be placed into LVE with ID of user that sites belongs to. mod_hostinglimits detects the user from SuexecUserGroup directive.


http://www.cloudlinux.com/docs/mod_host ... ts_lve.php

Needless to say, I can see this being a very valuable extension in web application hosting environments. :P

Changelog:
- Initial release, targeted at CentOS/RHEL 5


To install:
yum install mod_hostinglimits

Re: [atomic] mod_hostinglimits 0.6.1-0.2

Posted: Thu Nov 11, 2010 2:08 pm
by breun
Great! But what is an LVE context exactly?

Re: [atomic] mod_hostinglimits 0.6.1-0.2

Posted: Thu Nov 11, 2010 5:52 pm
by scott
On closer inspection this is not going to do what I hoped it would. ITK is still the only option to invoke apps as the user in apache directly.

What you can do with this is if you also have LVE in your kernel , process/resource limitation can be defined down to the user level. Down to CPU cycles, which is kind of neat. If someone is killing one named virtual host with something the others wont be effected.

Re: [atomic] mod_hostinglimits 0.6.1-0.2

Posted: Thu Nov 11, 2010 7:46 pm
by breun
Ok, so for that the ASL kernel would need to have LVE support and I'm guessing it currently doesn't have that?

Re: [atomic] mod_hostinglimits 0.6.1-0.2

Posted: Thu Nov 11, 2010 8:12 pm
by scott
Not yet it doesnt :P

Re: [atomic] mod_hostinglimits 0.6.1-0.2

Posted: Sat Apr 23, 2011 1:22 pm
by hostingguy
We use clould linux specifically for the lve and are quite happy with it - we went from having several busy vhosts crashing boxes constantly (several ties per hour some days) to once or twice per quarter - it was a very big jump in performance, uptime and reliability for the other customers on abox, now one jerk who cant code, or one guy with a popular site too cheap to buy vps or dedicated wont take down every one else :)

Re: [atomic] mod_hostinglimits 0.6.1-0.2

Posted: Sat Apr 23, 2011 2:44 pm
by scott
I think I mentioned this in another thread, but yes LVE is going into the ASL kernel and we'll be putting all the LVE tools & modules out there as well for el4, el5, and el6 environments.

Re: [atomic] mod_hostinglimits 0.6.1-0.2

Posted: Thu Aug 11, 2011 3:28 am
by abergman
scott wrote:I think I mentioned this in another thread, but yes LVE is going into the ASL kernel and we'll be putting all the LVE tools & modules out there as well for el4, el5, and el6 environments.
Any ETA for the LVE integration?

Re: [atomic] mod_hostinglimits 0.6.1-0.2

Posted: Sat Aug 13, 2011 5:42 pm
by scott
We're all waiting on openvz updates from parallels, LVE needs the scheduler from openvz in order to work.