Search results for "apc warning unable to allocate memory for pool"

APC INFO Monitor

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

5.2 ;extension=fileinfo.so [APC] extension = apc.so apc.enabled = 1 apc.shm_segments = 1 apc.shm_size = 12M apc.optimization = 0 apc.num_files_hint = 512 apc.user_entries_hint = 1024 apc.ttl = 0 apc.user_ttl = 0 apc.gc_ttl = 600 apc.cache_by_default = 0 apc.filters = “-/home/username/public_html/apc/apc\.php$” apc.slam_defense = 0 apc.use_request_time = 1 apc.mmap_file_mask = /tmp/apc-accountname.XXXXXX ;OR apc.mmap_file_mask = /dev/zero apc.fil… 15, 0, 1, 0 and 6193.79

Continue Reading Comments { 54 }

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

…djust to your requirements) [APC] extension = apc.so apc.enabled = 1 apc.shm_segments = 1 apc.shm_size = 12M apc.optimization = 0 apc.num_files_hint = 256 apc.user_entries_hint = 1024 apc.ttl = 0 apc.user_ttl = 0 apc.gc_ttl = 600 apc.cache_by_default = 0 apc.filters = “-/home/username/public_html/scripts-not-to-cache/.*,-/home/username/public_html/apc/.*” apc.slam_defense = 0 apc.use_request_time = 1 apc.mmap_file_mask = /tmp/apc.XXXXXX apc.file_… 6, 0, 0, 0 and 2714.27

Continue Reading Comments { 18 }

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

…he = 1600 max_allowed_packet = 4M key_buffer = 1G interactive_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… 3, 0, 2, 0 and 2176.26

Continue Reading Comments { 3 }
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

…almin 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 an individual configuration for APC per virtual server. However with 200+ virtual hosts all running PHP script packages, as is the case with a commodity shared hosting server, this will use a lot of memory, and you will need somewhere in the neighborhood of 10-30GB apc.shm_size if you attempt… 2, 0, 0, 0 and 848.96

Continue Reading Comments { 2 }

Varnish VCL and Config for WordPress with W3 Total Cache

…VARNISH_THREAD_TIMEOUT} \ -u varnish -g varnish \ -S ${VARNISH_SECRET_FILE} \ -s ${VARNISH_STORAGE}” # Varnish VCL (/etc/varnish/wordpress-varnish3.vcl) backend origin { .host = “10.11.12.13″; .port = “80″; .connect_timeout = 60s; .first_byte_timeout = 60s; .between_bytes_timeout = 60s; } # sub vcl_recv { # only using one backend set req.backend = origin; # # set standard proxied ip header for getting original remote address set req.http.X-Forwar… 1, 0, 0, 0 and 203.27

Continue Reading Comments { 17 }
SoccerNews.com website

Apache and MySql Performance Tuning for High Traffic WordPress Website on Cpanel

there were inevitable JavaScript and PHP conflicts, but W3TC is very flexible and was able to handle the task. Suggested a scheduled, offsite backup strategy that would utilize existing resources, and eliminate the need for a 3rd-party backup solution that was causing more load issues and costing $45.00 per month. Now the site is stable and fast, and is ready for very high traffic. With World Cup Brazil coming up in 2014, the site will definitel… 0, 0, 1, 0 and 203.27

Continue Reading Comments { 2 }

Auto Mailer Form with Validation and reCAPTCHA

…BC version 3 (with Bootstrap). You’ll want to install it on a dev server and read the documentation, which is on the example pages. Installation: put the downloaded folder in a public_html space that’s running PHP 5+. Note that there are different packages for PHP 5.3, so get the correct flavor of version 3. I have created an example form that includes most of the different types of inputs, all you need do is create a file in the same… 1, 0, 0, 0 and 143.5

Continue Reading Comments { 1 }

APC INFO

APC INFO Monitor

Continue Reading Comments { 0 }

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 Comments { 0 }

virtualmin-nginx-wordpress-permalinks-apc

Continue Reading Comments { 0 }