ispCP - Board - Support
apache slow open - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Update/Upgrade (/forum-44.html)
+--- Thread: apache slow open (/thread-15175.html)



apache slow open - rAdKy - 09-25-2011 04:35 AM

OS Debian 6 Squeeze
ispcp 1.0.7
use fcgi

When I open some page with wordpress instalation, the loading is about 5-10 seconds on local. This is no real. I open other page normal for 1 second.

dpkg -l | grep php
Code:
rc  libapache2-mod-php5                 5.3.3-7+squeeze3             server-side, HTML-embedded scripting language (Apache 2 module)
ii  php-pear                            5.3.3-7+squeeze3             PEAR - PHP Extension and Application Repository
ii  php5                                5.3.3-7+squeeze3             server-side, HTML-embedded scripting language (metapackage)
ii  php5-adodb                          5.04-6                       Extension optimising the ADOdb database abstraction library
ii  php5-cgi                            5.3.3-7+squeeze3             server-side, HTML-embedded scripting language (CGI binary)
ii  php5-cli                            5.3.3-7+squeeze3             command-line interpreter for the php5 scripting language
ii  php5-common                         5.3.3-7+squeeze3             Common files for packages built from the php5 source
ii  php5-curl                           5.3.3-7+squeeze3             CURL module for php5
ii  php5-dev                            5.3.3-7+squeeze3             Files for PHP5 module development
ii  php5-gd                             5.3.3-7+squeeze3             GD module for php5
ii  php5-imagick                        3.0.0~rc1-1                  ImageMagick module for php5
ii  php5-imap                           5.3.3-7+squeeze3             IMAP module for php5
ii  php5-mcrypt                         5.3.3-7+squeeze3             MCrypt module for php5
ii  php5-mysql                          5.3.3-7+squeeze3             MySQL module for php5
rc  php5-snmp                           5.3.3-7+squeeze3             SNMP module for php5
rc  php5-suhosin                        0.9.32.1-1                   advanced protection module for php5
ii  php5-xmlrpc                         5.3.3-7+squeeze3             XML-RPC module for php5

/etc/apache2/mods-available/fcgid_ispcp.conf
Code:
<IfModule mod_fcgid.c>
  AddHandler fcgid-script .php .php5
  SocketPath /var/lib/apache2/fcgid/sock
  IdleTimeout 600
  IdleScanInterval 120
  BusyTimeout 300
  BusyScanInterval 120
  ErrorScanInterval 3
  ZombieScanInterval 3
  ProcessLifeTime 900
  SpawnScoreUpLimit 10
  SpawnScore 1
  TerminationScore 2
  MaxProcessCount 200
  DefaultMaxClassProcessCount 10
  DefaultMinClassProcessCount 1
  IPCCommTimeout 900
  MaxRequestsPerProcess 500
  FcgidConnectTimeout 60
  MaxRequestLen 134217728
</IfModule>



RE: apache slow open - rAdKy - 09-26-2011 01:07 AM

can anyone help me


RE: apache slow open - rAdKy - 10-08-2011 09:47 PM

help pls


RE: apache slow open - joximu - 10-08-2011 11:12 PM

it's not easy to help - there are several resons why wp may be slow...

personally I have no experience with wp - so I cannot judge which component might be the "slow-maker".

You maybe need to check:
- database connections (are they slowing down the system)?
- or is there something which required dns resolving which slows down the page???

etc etc... there are many options.

/J