Search results for "php apc memory usage apc php"

How to Configure APC Cache on Virtual Servers with PHP running under FCGId

ation: use the APC monitor (apc.php) to see how many files are being cached, and how much memory (apc.shm_size) is needed to avoid fragmentation, which will cause the 500 errors. If fragmentation rises quickly to 100%, memory usage is full, and cache full count rises above 0, you will almost surely see “500″ errors. If WordPress is the only PHP script software package on the domain, the following configuration will likely work for you… 152, 2, 7, 0 and 273.58

Comments { 43 }

WordPress with W3 Total Cache on Nginx with APC (Virtualmin)

d in /etc/rc.d/init.d. php-fcgi-domain1.com php-fcgi-domain2.com Script allows stop, start, restart e.g. service php-fcgi-domain2.com restart The service may also be restarted via Webmin > Services > Bootup and Shutdown Memory Considerations PHP FCGId will launch the number of sub-processes you specify in Virtualmin > Server Configuration > Website Options, so beware of the memory overhead if you specify a large number, because each w… 72, 1, 1, 0 and 122.56

Comments { 11 }

APC Cache Considerations for Virtual Hosting Environments

APC cache does not work well in a virtual hosting environment unless PHP is running as FCGID, and every individual virtual host has a unique PHP.ini and a unique fcgiwrapper. This is not the case with many virtual hosting environments because the memory and CPU requirements are too great. I suggest using Virtualmin for a shared hosting environment with APC cache, because it does allow to set php.ini and fcgiwrapper for every individual virtual h… 22, 1, 2, 0 and 41.41

Comments { 2 }

Tuning Apache and MySQL for Best Performance in a Shared Virtual Hosting Environment

raffic. For example, I have a server with Apache set to 256 maxclients, but the MySQL maxconnections set to 200, because many web requests do not require direct interaction with the MySQL server. Take a look at “Highest usage of available connections”, and lower maxconnections accordingly. It is safe to lower maxconnections to a number slightly above the reported highest usage. Doing so will allow you to set higher values for the indi… 17, 0, 3, 0 and 38.39

Comments { 1 }

Apache and MySql Performance Tuning for High Traffic Website

…the publisher after responding to a plea for assistance in a WordPress.org support forum. Though the site was running on a dedicated server with 8GB RAM, it was crashing frequently under load. The developer tried implementing APC Alternative PHP Cache and W3 Total Cache, but these measures turned out to be incompatible with some of the custom PHP code and the software architecture of the server. Haphazardly implementing randomly suggested “… 8, 0, 3, 0 and 16.15

Comments { 0 }

Apache config for Worker MPM vs Prefork MPM

your worker server and thread limits to sane levels in httpd.conf If you need to recompile Apache and PHP, then you should do more research. Recompiling is not a trivial process. I found that my server had much better memory usage under Worker MPM, however: some scripts (squirrelmail, phpmyadmin) do not work on a per-domain basis and must be run direct to the actual server process with symlinked directories. This is much more efficient but les… 4, 0, 3, 0 and 11.34

Comments { 1 }

Web Hosting

…Cache, and more Virtual Private Server Slice of a Dedicated server, with guaranteed RAM up to 4GB and a single CPU Locations in U.S., Canada, Netherlands, Germany High Traffic PHP hosting PHP, MySQL, Apache or NginX, APC Cache Dedicated Mail Server, Postini Spam filtering Appropriate for busy blogs, e-commerce, etc. Basic PHP hosting PHP, MySQL, NginX Small local business sites or blogs with a few users, using WordPress as Content … 5, 0, 0, 0 and 7.1

Comments { 0 }

Résumé

gement systems Linux Apache MySQL PHP web server administration Postfix Dovecot Sendmail mail server administration DNS & Domain Name Registration LAMP performance tuning: Apache Prefork and Worker MPM, MySQL query cache, APC OpCode & User Cache Script and database-driven interactive technology using PHP, MySQL, Javascript, CSS video — delivered via DVD, CD, or web training media web-based online training systems print — manuals, post… 4, 0, 0, 0 and 5.77

Comments { 0 }

Recursive chmod Tricks

Recursively chmod only directories find . -type d -exec chmod 755 {} \; Similarly, recursively set the execute bit on every directory chmod -R a+X * The +X flag sets the execute bit on directories only Recursively chmod only files find . -type f -exec chmod 644 {} \; Recursively chmod only PHP files (with extension .php) find . -type f -name ’*.php‘ -exec chmod 644 {} \; … 3, 0, 1, 0 and 4.99

Comments { 1 }

Punk Rock Music Community

…nsferring the site from a WAMP development server to the live LAMP server configuring an active firewall to block the baddies installing monitoring and administration tools tuning Apache and MySQL for high traffic integrating APC PHP Cache to speed up web pages and provide better concurrency Loud Fast Rules. … 2, 0, 0, 0 and 3.1

Comments { 0 }