Current time: 04-26-2024, 07:08 AM Hello There, Guest! (LoginRegister)


Post Reply 
apache slow open
Author Message
rAdKy Offline
Junior Member
*

Posts: 18
Joined: Feb 2010
Reputation: 0
Post: #1
apache slow open
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>
09-25-2011 04:35 AM
Find all posts by this user Quote this message in a reply
rAdKy Offline
Junior Member
*

Posts: 18
Joined: Feb 2010
Reputation: 0
Post: #2
RE: apache slow open
can anyone help me
09-26-2011 01:07 AM
Find all posts by this user Quote this message in a reply
rAdKy Offline
Junior Member
*

Posts: 18
Joined: Feb 2010
Reputation: 0
Post: #3
RE: apache slow open
help pls
10-08-2011 09:47 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: apache slow open
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
10-08-2011 11:12 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)