Current time: 11-06-2024, 02:28 AM Hello There, Guest! (LoginRegister)


Post Reply 
Slow, high load, Performance issue
Author Message
brainslush Offline
Newbie
*

Posts: 8
Joined: Feb 2010
Reputation: 0
Post: #1
Slow, high load, Performance issue
Hey, I've a problem...
I've a lot of performance problems since I've installed Joomla on my VServer. Every time when I try to login into Joomla it takes around 30seconds to process the login and "top" shows me a cpu-load of 13% "php5-cgi" (the highest I can get, means 100%). The front-page is offline so there can't be anyone else who is accessing the webpage at the same time.

My system:

OS: Debian Lenny
RAM: 1GB save, 2GB dyn.
CPU: 384 MHz of a 8 Cores Intel Nehalem processor

I already switched between fcgid and fastcgi but it didn't solve the problem

/etc/ispcp/apache/working/fastcgi_ispcp.conf
/etc/apache2/mods-available/fastcgi_ispcp.conf
Code:
<IfModule mod_fastcgi.c>
    FastCgiWrapper On
    FastCgiIpcDir /var/lib/apache2/fastcgi2

    FastCgiConfig -minProcesses 1 \
                  -maxProcesses 400 \
                  -maxClassProcesses 5 \
                  -multiThreshold 80 \
                  -killInterval 60 \
                  -startDelay 5 \
                  -idle-timeout 300 \
                  -singleThreshold 100
                  # -autoUpdate \
                  # -pass-header HTTP_AUTHORIZATION

    FastCgiServer /var/www/fcgi/master/php5-fcgi-starter -user vu2000 -group vu2000 -idle-timeout 300

    #
    # PHP5 SUPPORT
    #

    AddHandler php-fastcgi .php .php5

    <Location /php5/php5-fcgi-starter>
        SetHandler fastcgi-script
        Options +ExecCGI
    </Location>

    Action php-fastcgi /php5/php5-fcgi-starter
    AddType application/x-httpd-php .php .php5
</IfModule>

/etc/apache2/mods-available/fastcgi.conf
Code:
<IfModule mod_fastcgi.c>
  AddHandler fastcgi-script .fcgi
  FastCgiWrapper /usr/lib/apache2/suexec
  FastCgiIpcDir /var/lib/apache2/fastcgi
</IfModule>

php5-fcgi-starter
Code:
#!/bin/sh

umask 022

PHPRC="/var/www/fcgi/domain.de/php5/"
export PHPRC

TMPDIR="/var/www/virtual/domain.de/phptmp"
export TMPDIR

# PHP_FCGI_CHILDREN=2
# export PHP_FCGI_CHILDREN

exec /usr/bin/php5-cgi

Some ideas? THX
(This post was last modified: 05-26-2010 02:25 AM by brainslush.)
05-26-2010 02:23 AM
Find all posts by this user Quote this message in a reply
dcreation Offline
Junior Member
*

Posts: 85
Joined: Apr 2009
Reputation: 0
Post: #2
RE: Slow, high load, Performance issue
I think there is nothing we can do here. Thats a really strange setup (alot of extremly "bad" cores.) You may try to reinstall the Server without any control panel and only apache+mysql+php yourself and install a joomla there. But iam pretty sure the performance stays bad.
05-26-2010 02:36 AM
Find all posts by this user Quote this message in a reply
brainslush Offline
Newbie
*

Posts: 8
Joined: Feb 2010
Reputation: 0
Post: #3
RE: Slow, high load, Performance issue
(05-26-2010 02:36 AM)dcreation Wrote:  I think there is nothing we can do here. Thats a really strange setup (alot of extremly "bad" cores.) You may try to reinstall the Server without any control panel and only apache+mysql+php yourself and install a joomla there. But iam pretty sure the performance stays bad.

I already had confixx 4 on it but i didn't like it because of its lack of security and there I had no problems like this.
05-26-2010 03:04 AM
Find all posts by this user Quote this message in a reply
dcreation Offline
Junior Member
*

Posts: 85
Joined: Apr 2009
Reputation: 0
Post: #4
RE: Slow, high load, Performance issue
Confixx uses apache2+mod_php - thats the "normal" setup when you setup a server yourself, but is bad concering security.
I think it is possible to run ispcp with mod_php. There is a how-to anywhere on the forum.

But, you said the problem is there since Joomla. Did you have Joomla installed on "confixx?"
(This post was last modified: 05-26-2010 03:14 AM by dcreation.)
05-26-2010 03:13 AM
Find all posts by this user Quote this message in a reply
brainslush Offline
Newbie
*

Posts: 8
Joined: Feb 2010
Reputation: 0
Post: #5
RE: Slow, high load, Performance issue
(05-26-2010 03:13 AM)dcreation Wrote:  Confixx uses apache2+mod_php - thats the "normal" setup when you setup a server yourself, but is bad concering security.
I think it is possible to run ispcp with mod_php. There is a how-to anywhere on the forum.

But, you said the problem is there since Joomla. Did you have Joomla installed on "confixx?"

Yeah, I had. I get same problems with other CMS aswell. I tried WP and BB-Board.
I already thought about your idea but as you told before it's insecure.
05-26-2010 03:22 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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