Welcome Guest. Please Login or Register  


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



Normal Mode | Print  

 Boost Performance: mod_ruid2 should enabled by default (3 Replies, Read 8475 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: --   


Threads
 ewwink   Boost Performance: mod_ruid2 should enabled by default (3 Replies, Read 8475 times)
    |--  valley   Hi, Sir Thanks...   on February 5, 2013, 12:32 pm
    |--  ewwink   Hi, Sir Thanks...   on February 5, 2013, 3:57 pm
    |--  valley   Sir we shall...   on February 6, 2013, 6:23 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 12, 2024, 8:29 pm.

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