logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: eAccelerator Performance Tweaking
Author
dreaMaker



Joined: 12 Dec 2009
Posts: 6

PostPosted: Sat 12 Dec '09 15:38    Post subject: eAccelerator Performance Tweaking Reply with quote

How about we give some general advise to help each other to get the most out of the eAccelerator settings that can generally be changed to give better performance?


Here is an excerpt of a php.ini we run on a dual core with 4 GB's of ram, it is a shared hosting machine that runs MySQL and Web Server.
Quote:
extension="eAccelerator.dll"
eaccelerator.enable="1"
eaccelerator.cache_dir="\cache"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.shm_size = "196"
eaccelerator.optimizer = "1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter="*.php"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
eaccelerator.keys = "disk_only"
eaccelerator.content = "disk_only"
eaccelerator.sessions = "disk_only"
eaccelerator.allowed_admin_path = ""




Does anyone know how big i can set the "eaccelerator.shm_size = "196"" without crashing the server (on a server with 6 GB of ram)?
Back to top
waldbauer.com



Joined: 05 Jan 2008
Posts: 49
Location: Vienna

PostPosted: Wed 16 Dec '09 21:13    Post subject: Reply with quote

You should set this as large to fit all scripts in memory + a few MB more.
Back to top
waldbauer.com



Joined: 05 Jan 2008
Posts: 49
Location: Vienna

PostPosted: Mon 21 Dec '09 11:08    Post subject: Reply with quote

My current config is 196MB - after 3 days i got:

Code:
eAccelerator 0.9.6-svn369-rc1 control panel
Caching enabled    yes
Optimizer enabled    yes
Memory usage    58.93% (115.49MB/ 196.00MB)
Free memory    80.51MB
Cached scripts    1263
Removed scripts    0
Back to top
dreaMaker



Joined: 12 Dec 2009
Posts: 6

PostPosted: Tue 22 Dec '09 16:18    Post subject: Reply with quote

thanks waldbauer for the reply

Could you share the eAccelerator_PHP_5-2-12 on Apache lounge, as the fact that nobody can register on your site, if he/she is not from Austria

dankeschoen Very Happy
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Tue 22 Dec '09 16:42    Post subject: Reply with quote

in this Topic you can find the links to files on my page http://www.apachelounge.com/viewtopic.php?t=3255
Back to top
dreaMaker



Joined: 12 Dec 2009
Posts: 6

PostPosted: Mon 15 Feb '10 2:26    Post subject: Reply with quote

sorry for delayed reply, but thanks for the link
Back to top


Reply to topic   Topic: eAccelerator Performance Tweaking View previous topic :: View next topic
Post new topic   Forum Index -> Other Software