Contact Menu

Search results for "cpanel restart apache memory usage"

LAMP-linux-apache-mysql-php

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

…not support ConfigServer (e.g. Amazon AWS and some VPS may not play well with CSF), you may use Fail2Ban. Tune Apache the Sane Way (Requires Basic Math Skills) If you wish to tune your Apache MPM settings, you should consider following this method: https://telvps.com/clients/knowledgebase/25/HOW-TO-Optimize-Apache-for-Low-Memory–Usage.html (the formula works well as a basic guide… but does not […]

Continue Reading 8
APC INFO Monitor

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

…s under FCGId, then you should do so for all virtual servers on your machine. Why? Because then you do not need apache’s mod_php (php module). Less modules loaded, less wasted memory. Comment out: LoadModule php5_module modules/libphp5.so in /etc/httpd/conf.d/php.conf Remove any php_memory_limit lines in httpd.conf’s virtual hosts section. restart apache do some performance testing and […]

Continue Reading 52
virtualmin-nginx-wordpress-permalinks-apc

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

…e scripts are located 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 […]

Continue Reading 18
SoccerNews.com website

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

…ic 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. Cpanel’s efault Apache and MySQL configurations were limiting the number of concurrent user sessions the server could handle. Changed PHP to run as FastCGI (fcgid) and recompiled Apache to […]

Continue Reading 4
Screen Shot 2012-09-07 at 11.09.50 AM

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

…offending IP addresses with multiple failed HTTP logins. ConfigServer Firewall works well, and has modules for cPanel and Webmin. OSSEC is another reactive IPTables firewall with Apache login failure IP blacklisting. For Amazon EC2, a good practice is to create a discrete database server, and only allow access to it inside a VPC security group, […]

Continue Reading 0
logo-mailman

Cpanel Mailman mailing lists: cannot manage lists after migrating to new host

We recently migrated 2 Cpanel servers to VPS. Most things migrated properly and without incident. However, Mailman mailing lists were the exception. Mailing lists appear to have migrated properly, as they show up under WHM and Cpanel and usr/local/cpanel/3rdparty/mailman/bin/list_lists However, when cpanel user clicks Manage link, the following message appears: cpanel1.hosting.com mailing lists – Admin […]

Continue Reading 2

Résumé

Chris Gilligan Web Developer, 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 Front-end UI design, HTML, PHP, LESS Linux Apache […]

Continue Reading

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): ^%(__prefix_line)sAuthentication failure for .* from <HOST>$ […]

Continue Reading 0
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
wordnish

Varnish VCL and Config for WordPress with W3 Total Cache

…his # shell script fragment. # # # Maximum number of open files (for ulimit -n) NFILES=131072 # # Locked shared memory (for ulimit -l) # Default log size is 82MB + header MEMLOCK=82000 # # Maximum size of corefile (for ulimit -c). Default in Fedora is 0 # DAEMON_COREFILE_LIMIT=”unlimited” # # Set this to […]

Continue Reading 23