Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > Suggestions > Topic : Boost Performance: mod_ruid2 should enabled by default



Threaded Mode | Print  

 Boost Performance: mod_ruid2 should enabled by default (3 Replies, Read 8418 times)
ewwink
Group: Member
Post Group: Newbie
Posts: 23
Status:
by default mod_suphp is activated but it really slow, i do small benchmark on VPS with 512mb RAM

ab -n 1000 -c 20 http://ip
mod_suphp = 3 - 6 request/second
mod_ruid2 = 300 - 400 request/second

ab -n 10000 -c 100 http://ip
mod_suphp + varnish = 1000 - 1200 request/second
mod_ruid2 + varnish  = 7000 - 8000 request/second

I like mod_ruid2 its similiar to mod_suphp (run as the owner, edit, upload file/folder without change permission) but faster and compatible with php opcode caching like PHP APC.

i hope in next release mod_ruid2 will be enabled by default or we can choose what moduled should be used.

my solution to enable mod_ruid2
1. disable mod_suphp in control panel
2. edit webuzoVH.conf
from
Code
<Directory /home/user/public_html/cgi-bin>
  RMode stat
  RUidGid user user
</Directory>

to
Code
<Directory /home/user/public_html>
  RMode stat
  RUidGid user user
</Directory>


3. restart httpd/apache service
IP: --   

Boost Performance: mod_ruid2 should enabled by default
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Hi,

Sir Thanks for the suggestion.
However if you do not want to run suPHP, you can disable it from the Enduser Panel > Apache Settings , wherein it will be dependent on mod_php.

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

Boost Performance: mod_ruid2 should enabled by default
ewwink
Group: Member
Post Group: Newbie
Posts: 23
Status:
Quote From : valley February 5, 2013, 12:32 pm
Hi,

Sir Thanks for the suggestion.
However if you do not want to run suPHP, you can disable it from the Enduser Panel > Apache Settings , wherein it will be dependent on mod_php.

true, but with mod_php if i want to upload image, add/edit WP theme or plugin i have to change  the permission by ftp and its not simple if you have a lot of blog
IP: --   

Boost Performance: mod_ruid2 should enabled by default
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Sir we shall review your solution and have it implemented soon.

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 27, 2024, 2:20 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.028