Top Menu

Search results for "apache takes full memory usage in centos 5 6"

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

…ormance Metrics ————————————————- [--] Up for: 13d 2h 34m 16s (1M q [1.561 qps], 67K conn, TX: 81B, RX: 449M) [--] Reads / Writes: 91% / 9% [--] Total buffers: 298.0M global + 6.4M per thread (151 max threads) [OK] Maximum possible memory usage: 1.2G (61% of installed RAM) [OK] Slow queries: 0% (0/1M) [OK] Highest usage of available connections: 6% (10/151) [OK] Key buffer size / total MyISAM indexes: 256.0M/9.7M [… 9, 0, 1, 0 and 3217.21

Continue Reading 7
APC INFO Monitor

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

…sit” the configuration: 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 w… 1, 0, 0, 0 and 2763.16

Continue Reading 53

Apache config for Worker MPM vs Prefork MPM

…/articles.slicehost.com/2010/5/19/configuring-the-apache-mpm-on-centos Un-Comment HTTPD=/usr/sbin/httpd.worker in /etc/sysconfig/httpd restart apache do some performance testing and raise 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:… 1, 0, 0, 0 and 1154.55

Continue Reading 4

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

Virtualmin now includes support for Nginx web server. I deploy many WordPress sites with W3 Total Cache and APC Alternative PHP Cache, so I was very interested to see how Nginx performance compares to Apache for WordPress, and whether APC and W3TC would play nice with Nginx. I prefer to install WordPress in public_html/wordpress for ease of development, compatibility with other scripts, etc. Accordingly, the suggested configuration is for WordPr… 6, 0, 0, 0 and 934.02

Continue Reading 18

Fail2Ban Regex for RedHat, Fedora, CentOS and Amazon Linux 2013

…will not function as written. Why? Because Fail2Ban has to deal with the particular implementations of log files in various GNU/Linux distributions, and the peculiarities of the reporting structure in those logs, no single RegEx, nor log file location, is going to work for every distribution. Neither can Fail2Ban account for every change in log file location or structure from version to version. What worked for Centos 5.x may not work for CentOS… 5, 1, 0, 0 and 882.13

Continue Reading 0

Install phpMyAdmin with SSL on CentOS, Amazon Linux, RedHat (Apache or NginX)

…by changing to the EPEL repo, which maintains the latest version of phpMyAdmin. This post will teach you how to install phpMyAdmin on CentOS, Amazon Linux, or Redhat. Configuration instructions are provided for Apache and NginX web servers. For this to work properly and safely, you should be running SSL on your host. Otherwise, change the ForceSSL line in the config file provided below… Install phpMyAdmin from EPEL repository Uninstall cur… 1, 1, 1, 0 and 856.18

Continue Reading 0
SoccerNews.com website

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

…can monopolize, in addition to blacklisting attackers. This is the first step to proper web server performance in today’s Internet climate. Popular sites that do not have a solid security and load balancing strategy are subject to crippling traffic from the Internet’s millions of malicious and compromised servers and personal computers. Reconfigured Apache web server, PHP and MySQL to better utilize the server’s horsepower…. 0, 0, 1, 0 and 492.95

Continue Reading 2

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
APC INFO Monitor

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… 2, 0, 0, 0 and 298.37

Continue Reading 2

Résumé

Chris Gilligan Information Architect, Web Server Administrator, Media Producer web • video • print chris@chrisgilligan.net chrisgilligan.com I design and produce information and communication media for university, corporate, small business, manufacturing and non-profit clients: web sites Information architecture and design for open source content management systems Linux Apache MySQL PHP web server administration Postfix Dovecot Sendmail […]

Continue Reading