Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2007
    Posts
    584

    eAccelerator tweak

    Hi
    I searched and find niformation on EA are pretty oudated
    We use EA due to it is easier to be compiled by cpanel

    We have a box with Dual E5520+12G RAM+Raid 10


    We currently have this setup on EA

    extension="eaccelerator.so"
    eaccelerator.cache_dir="/home/eaccelerator"
    eaccelerator.check_mtime="1"
    eaccelerator.compress="1"
    eaccelerator.compress_level="9"
    eaccelerator.debug="0"
    eaccelerator.enable="1"
    eaccelerator.filter=""
    eaccelerator.optimizer="1"
    eaccelerator.shm_max="0"
    eaccelerator.shm_only="0"
    eaccelerator.shm_prune_period="0"
    eaccelerator.shm_size="512"
    eaccelerator.shm_ttl="0"


    What is your configs on EA?


    I am especailly curious on "eaccelerator.shm_ttl", dfault is zero
    512mb still gets filled up quickly, what happen when it is all filled and ttl =0?

    start using swaps?
    Peter Orga-Sales -sales@sexywing.com
    SexyWing - flying adult hosting service
    Profitable adult hosting provider Since 2006
    http://www.sexywing.com

  2. #2
    Join Date
    Nov 2003
    Location
    Kherson, Ukraine
    Posts
    267
    eaccelerator will never use memory more than shm_size.
    If shm_size filled eaccelerator will free used memory by clearing oldest data.
    shm_ttl force eaccelerator to clear old data even if free memory not needed actually.
    Private remote administrator of Linux servers - www.petrov.ks.ua
    Quality hosting - Host-Web-Site.com

  3. #3
    Join Date
    Mar 2009
    Location
    InfoPark, Cochin, India
    Posts
    986
    Here is the config that we use in our servers

    zend_extension="/usr/local/src/ea/eaccelerator-0.9.5.3/modules/eaccelerator.so"
    eaccelerator.shm_size="64"
    eaccelerator.cache_dir="/tmp/eaccelerator"
    eaccelerator.enable="1"
    eaccelerator.optimizer="1"
    eaccelerator.check_mtime="1"
    eaccelerator.debug="0"
    eaccelerator.filter=""
    eaccelerator.shm_max="0"
    eaccelerator.shm_ttl="0"
    eaccelerator.shm_prune_period="0"
    eaccelerator.shm_only="0"
    eaccelerator.compress="1"
    eaccelerator.compress_level="9"

    Hope this helps

  4. #4
    Join Date
    Jan 2007
    Posts
    584
    Quote Originally Posted by vapetrov View Post
    If shm_size filled eaccelerator will free used memory by clearing oldest data.
    shm_ttl force eaccelerator to clear old data even if free memory not needed actually.
    This info helps us clear confusions we have

    thanks
    Peter Orga-Sales -sales@sexywing.com
    SexyWing - flying adult hosting service
    Profitable adult hosting provider Since 2006
    http://www.sexywing.com

  5. #5
    Join Date
    Nov 2007
    Location
    India
    Posts
    843
    btw will eAccelerator increase the I/O wait time of the server ?
    HostNotch Hosting Services 99.9% uptime Shared Hosting, Reseller Hosting
    yajur | Sales Team
    CPanel Hosting • R1 Soft • Offsite-Backup • Great Uptime
    http://hostnotch.com sales @ hostnotch.com

  6. #6
    Join Date
    Jan 2005
    Posts
    2,203
    Quote Originally Posted by vapetrov View Post
    eaccelerator will never use memory more than shm_size.
    If shm_size filled eaccelerator will free used memory by clearing oldest data.
    shm_ttl force eaccelerator to clear old data even if free memory not needed actually.
    That's only true if eaccelerator.shm_prune_period or eaccelerator.shm_ttl is set to a non zero value.

Similar Threads

  1. eaccelerator eaccelerator.shm_ttl
    By mealto in forum Hosting Security and Technology
    Replies: 0
    Last Post: 04-30-2008, 02:50 PM
  2. tweak security > smtp tweak
    By HD Fanatic in forum Hosting Security and Technology
    Replies: 3
    Last Post: 04-01-2006, 02:27 PM
  3. apache tweak
    By Lem0nHead in forum Hosting Security and Technology
    Replies: 6
    Last Post: 12-08-2004, 07:42 AM
  4. Could you help me tweak my new server
    By lexington in forum Dedicated Server
    Replies: 6
    Last Post: 10-24-2004, 12:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •