Current time: 05-01-2024, 02:24 PM Hello There, Guest! (LoginRegister)


Post Reply 
Apache lahm seit heute
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #11
RE: Apache lahm seit heute
Ist schwierig zu diagnostizieren.

Ein Wechsel von fcgid auf fastcgi könnte man ausprobieren.

Da der Server ja nicht am Anschlag ist, dürften es eher Bremsen sein. Das kann viel sein - man müsste das ganze System beobachten, was passiert, wenn man die Seite aufruft.

Die wichtigste Frage: was passiert am Tag, als es nicht mehr flott lief?

/J
09-23-2009 06:52 AM
Visit this user's website Find all posts by this user Quote this message in a reply
elitepilot Offline
Member
***

Posts: 352
Joined: Feb 2008
Reputation: 0
Post: #12
RE: Apache lahm seit heute
An dem Tag ist nix passiert, es wurden keine Updates gemacht usw.

Joximu könntest du mich mal ICQ adden und mir helfen ein paar Sachen durchzugehen?: 211382139

Wo finde ich ne anleitung für den Wechsel?
09-23-2009 06:56 AM
Find all posts by this user Quote this message in a reply
elitepilot Offline
Member
***

Posts: 352
Joined: Feb 2008
Reputation: 0
Post: #13
RE: Apache lahm seit heute
das Problem tritt nur bei PHP Seiten auf. HTML funktioniert.
09-23-2009 08:09 AM
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: #14
RE: Apache lahm seit heute
ich kenne keine Anleitung.

Aber schau mal, ob du eine korrekte fastcgi_ispcp.conf hast...

Meine sieht so aus:
Code:
# ispCP ω (OMEGA) a Virtual Hosting Control System
#
# @copyright    2006-2008 by ispCP | http://isp-control.net
# @version              SVN: $ID$
# @link                 http://isp-control.net
# @author               ispCP Team
#
# @license
#   This program is free software; you can redistribute it and/or modify it under
#   the terms of the MPL General Public License as published by the Free Software
#   Foundation; either version 1.1 of the License, or (at your option) any later
#   version.
#   You should have received a copy of the MPL Mozilla Public License along with
#   this program; if not, write to the Open Source Initiative (OSI)
#   http://opensource.org | osi@opensource.org
#
################################################################################​

<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

        #
        # PHP5 SUPPORT
        #

        AddHandler php-fastcgi .php .php5 .php4 .php3

        <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 .php4 .php3
</IfModule>

ggf. mit neueren Versionen vergleichen (http://www.isp-control.net/ispcp/browser...onf?rev=).
Dann nur noch fcgid_ispcp deaktivieren und fastcgi_ispcp aktivieren (entweder manuell mit symlnks ins mod-enabled oder a2enmod a2dismod...

Das *sollte* reichen... bin aber nicht sicher...

:-)

/J
09-23-2009 08:21 AM
Visit this user's website Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #15
RE: Apache lahm seit heute
Nur bei php?? Ich sag jetzt nur DotDeb Wink Selbiges hatte ich auch mit den PaketenWink
09-23-2009 03:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
elitepilot Offline
Member
***

Posts: 352
Joined: Feb 2008
Reputation: 0
Post: #16
RE: Apache lahm seit heute
ich hab die Dotdeb packete deinstalliert und die andere installiert, hat nix gebracht.
Könnt ihr das bitte einmal ausführlich beschreiben wie ein Ein Wechsel von fcgid auf fastcgi zu funktioniert?
(This post was last modified: 09-23-2009 08:06 PM by elitepilot.)
09-23-2009 08:02 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: #17
RE: Apache lahm seit heute
hab ich doch...
09-23-2009 08:40 PM
Visit this user's website Find all posts by this user Quote this message in a reply
elitepilot Offline
Member
***

Posts: 352
Joined: Feb 2008
Reputation: 0
Post: #18
RE: Apache lahm seit heute
heute nacht in der Serverlog.

[Sat Sep 26 00:06:18 2009] [warn] mod_fcgid: read data timeout in 40 seconds
[Sat Sep 26 00:06:42 2009] [error] [client 82.113.106.83] Premature end of script headers: button.php, referer: http://www.canlitvizle.net/page_rank665.php

Also langsam glaube ich es ist ein Angriff
09-26-2009 08:13 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: #19
RE: Apache lahm seit heute
schau dieses button.php an...
09-27-2009 08:16 AM
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)