Top Menu

Search results for "cpanel restart apache memory usage"

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

…s 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 take into account PHP memory requirements… 9, 0, 1, 0 and 3736.1

Continue Reading 7
APC INFO Monitor

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

…rs 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 raise your server and thread limits to sane l… 5, 0, 0, 0 and 3217.2

Continue Reading 53

Apache config for Worker MPM vs Prefork MPM

…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: some scripts (squirrelm… 1, 0, 1, 0 and 1790.2

Continue Reading 4

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 memory overhead if you specify a large n… 6, 0, 0, 0 and 1401.03

Continue Reading 18
SoccerNews.com website

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

…c 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 better handle the needs of a high traffic WordPress site. Co… 0, 0, 1, 0 and 1076.72

Continue Reading 2

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

…k 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, or from specific IP addresses enabled in that security group. That way, you can safely Allow from ALL… 7, 1, 0, 0 and 985.9

Continue Reading 0

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 Links No such list listname_domainnam… 6, 1, 1, 0 and 454.04

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
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

Varnish VCL and Config for WordPress with W3 Total Cache

…this # 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 1 to make init script reload try to switch vcl without restart. # To make this work, you need to set the following variables # explicit: VARNIS… 1, 0, 0, 0 and 259.45

Continue Reading 23