Posts by Delta04

    I saw that, the worker works with multithreading CPU and for that is faster. Well, I don't get it, why GD was not working and the solution was to install that package (libapache2-mod-php5).

    I have encounter a problem with one of our hosted sites, that use gd to display thumbnails and those images did not appear. In phpinfo, GD was loaded and everything looks OK. After searching the web, I have discovered a thread that was recommending to install libapache2-mod-php5. Problem solved, after the install, all the images are OK.


    One thing I notice, during the libapache2-mod-php5 installation,


    What do you think about the request to replace apache2-mpm worker with apache2-mpm prefork? Is that OK?


    OS: Ubuntu 12.04 and 14.04LTS, i-mscp 1.1.14.

    It's OK. I'm using a dirty hack to "fix" the problem, for the moment. I'm waiting for any reply. :)


    I have some problems with one of our servers that is hosting a high traffic website. To be more exact, from time to time with no reason php5-fm dies and the quick fix is to restart the process.
    I wonder what can we tweak to optimize the server for such a big task.


    A part of the apache2 error log is,


    Code
    1. [Sat Sep 27 13:10:58.013184 2014] [fastcgi:error] [pid 23562:tid 139667001292544] (2)No such file or directory: [client 74.6.254.101:39370] FastCGI: failed to connect to server "/var/lib/apache2/fastcgi/php5-fcgi-domain.tld": connect() failed[Sat Sep 27 13:10:58.013245 2014] [fastcgi:error] [pid 23562:tid 139667001292544] [client 74.6.254.101:39370] FastCGI: incomplete headers (0 bytes) received from server "/var/lib/apache2/fastcgi/php5-fcgi-domain.tld"[Sat Sep 27 13:10:58.048675 2014] [fastcgi:error] [pid 23562:tid 139666883794688] (2)No such file or directory: [client 68.180.225.108:15248] FastCGI: failed to connect to server "/var/lib/apache2/fastcgi/php5-fcgi-domain.tld": connect() failed[Sat Sep 27 13:10:58.048726 2014] [fastcgi:error] [pid 23562:tid 139666883794688] [client 68.180.225.108:15248] FastCGI: incomplete headers (0 bytes) received from server "/var/lib/apache2/fastcgi/php5-fcgi-domain.tld"[Sat Sep 27 13:10:58.079957 2014] [fastcgi:error] [pid 23562:tid 139666808260352] (2)No such file or directory: [client 5.14.222.14:1419] FastCGI: failed to connect to server "/var/lib/apache2/fastcgi/php5-fcgi-domain.tld": connect() failed, referer: https://www.google.ro/[Sat Sep 27 13:10:58.080007 2014] [fastcgi:error] [pid 23562:tid 139666808260352] [client 5.14.222.14:1419] FastCGI: incomplete headers (0 bytes) received from server "/var/lib/apache2/fastcgi/php5-fcgi-domain.tld", referer: https://www.google.ro/


    The configuration is a cloud server with 8vcpu, 16GB RAM, SSD Storage.
    Software. Ubuntu 14.04LTS, Apache 2.4.7, PHP 5.5.9, I-mscp 1.1.14
    The website is a Wordpress installation. Traffic of the site is around 10.000 -18.000 unique visitors, and I saw a peak on the 480 simultaneous visitors. Most of the time there are ~100 simultaneous visitors.
    I use also memcache and local CDN (w3 total cache plugin) to make the website snappy.


    PHP Settings for this domain,

    Code
    1. post_max_size directive 512MBupload_max_filesize directive 32MBmax_execution_time directive 240 secmax_input_time directive 480 secmemory_limit directive 2046MB


    Apache tuning, that I have done in apache2.conf

    Code
    1. Timeout 600 (default was 300)MaxKeepAliveRequests 300 (default was 100)


    Rest of the apache2 settings are default.


    I did some tuning also on /etc/apache2/mods-available/mpm_worker.conf

    Code
    1. <IfModule mpm_worker_module>
    2. StartServers 4
    3. MinSpareThreads 50
    4. MaxSpareThreads 150
    5. ThreadLimit 128
    6. ThreadsPerChild 50
    7. MaxRequestWorkers 800
    8. MaxConnectionsPerChild 0
    9. </IfModule>


    Any suggestions? Thanks!

    Hello,


    For some time I encounter a problem with the latest version of OpenDkim (0.0.3), installed on I-mscp 1.1.13 in combination with Ubuntu 14.04 LTS.
    I did install the opendkim opendkim-tools, the plugin, everything was OK except that when I create and activate OpenDkim for a domain, inside the box, containing the has, all I see is ""v=DKIM1; k=rsa; s=email; ""


    Ok, I did all that and no change. Apache had already in the domain vhost " AllowOverride All ". In root dir of web server, inside .htaccess I did insert " AddHandler .html php5 ". I have added also .html in /etc/php5/fpm/pool.d/ domain.tld.conf.... Did I missed something?

    Sorry for the late answer. Today I started to modified the files to see if it's working or not. Well, I encounter a small problem with the Apache2 vhost files. The server is running on an Ubuntu 14.04 witch comes with Apache/2.4.7.
    On this version of Apache2 things are a bit different than Apache 2.2.x from your example, one of the reason that I can't find,


    Code
    1. AllowOverride AuthConfig Indexes Limit Options=Indexes \
    2. Fileinfo=RewriteEngine,RewriteOptions,RewriteBase,RewriteCond,RewriteRule