Contact Menu

Search results for "unable to allocate memory for pool virtualmin"

virtualmin-nginx-wordpress-permalinks-apc

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

…ber 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 will consume the amount of memory specified in  apc.shm_size. You may need to experiment with this value, depending on your server’s memory and potential traffic. Virtualmin explains: “When […]

Continue Reading 18
LAMP-linux-apache-mysql-php

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

…ve_timeout = 2 wait_timeout = 5 long_query_time = 1 log_slow_queries = ON open_files_limit = 3200 innodb_buffer_pool_size = 26M join_buffer_size = 4M tmp_table_size = 72M max_heap_table_size = 72M max_connections = 80 [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid This is for example only! table_cache should be set a little higher than the total number of tables (sum of MYISAM,INNODB,MEMORY etc.), […]

Continue Reading 7
APC INFO Monitor

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

APC INFO Monitor My Virtualmin CentOS 5.6 Virtual Private Server runs several virtual domains with PHP under FCGId using APC for opcode caching: Joomla, PHPbb, WordPress, etc . APC is somewhat challenging to configure properly with fcgid-enabled virtual domains, but it is quite helpful to optimize system resources and prevent traffic surges on one site […]

Continue Reading 54
wordpress-installation

Automated WordPress Installation Via Custom Virtualmin Script Installer

Updated: please read instructions again and find link to new example file. WordPress (or any other script) can automatically install during Virtualmin > Create Virtual Server.  Virtualmin automatically creates users, MySQL database, and installs WordPress in the public_html root, then gives a link to the WordPress Installer. You can even create a custom installer with […]

Continue Reading 40
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

…nique 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 host, and so to set […]

Continue Reading 4

WordPress Fail2Ban RegEx for RedHat, CentOS, Amazon Linux

VacantServer WordPress sites are getting hammered with bad logins and probes. We’ve implemented a plugin to log failed login attempts to syslog, and a Fail2Ban filter for the same. If you run these on RedHat, you’ll need some additional configuration info… here it is: WordPress login failure regex (error_log):

Apache nohome regex (error_log):

[…]

Continue Reading 0
wordnish

Varnish VCL and Config for WordPress with W3 Total Cache

I have been working on a Varnish front-end for Apache, to be used with WordPress sites. I described the architecture in Load Balancing Virtualmin WordPress Hosting Server with Varnish on AWS. I now have a configuration that seems to work for all WordPress features, including logged-out commenting. This configuration also works well with W3 Total […]

Continue Reading 23
Screen Shot 2013-01-16 at 4.19.03 PM

Auto Mailer Form with Validation and reCAPTCHA

…HP_SELF”]); /*Validation errors have been found. We now need to redirect back to the script where the form exists so the errors can be corrected and the form re-submitted.*/ echo “ What course do you need? We are committed to doing all we can to help you graduate in as timely a fashion as possible. […]

Continue Reading 2