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


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ERLEDIGT]Error 500
Author Message
Foggy Offline
Junior Member
*

Posts: 52
Joined: Feb 2009
Reputation: 0
Post: #1
[ERLEDIGT]Error 500
Moin zusammen
Ich weiss, das Thema wurde schon zig mal hier behandelt aber ich kriege es dennoch nicht gebacken...

Ich habe die folgenden Threads recherchiert, gelesen und die Lösungsvorschläge auch ausprobiert:
Speziell diesen Thread:
http://www.isp-control.net/forum/thread-...age-1.html

Alle diese Threads:
http://www.google.ch/#hl=de&q=site%3Awww...7f0ab8abc9

Wobei dieser Post von cell meinem Problem am nächsten kommt:
http://www.isp-control.net/forum/thread-...l#pid50394


Mein Problem:
Ich habe eine Ajax Applikation am laufen für ein Dateimanagement, erstens da können recht viele User gleichzeitig online sein, zweitens da werden im Hintergrund eine Menge Requests pro User abgesetzt (so um die 6 bis 8 fürs laden der App und dann 2 pro Datei/Verzeichnis das man anwählt für Berechtigungen und Versionen, sprich wenn ich 10 noch nicht geladene Dateien auf einmal anwähle, werden 20 Requests gleichzeitigt abgesetzt).
Jetzt ist das Ding erstens Saulahm und zweitens kommt ein Error 500 nach 40 Sekunden.
max_execution_time in php ist hoch genug, ebenso das memory limit. Ram hab ich denke ich auch genug, ist ein Host unter VMWare ESX, hab Testweise mal 6GB Ram vergeben => immer noch recht lahm.

Die Wiki Lösung hat mich auch nicht weiter gebracht:
http://www.isp-control.net/ispcp/wiki/ho...idtimeouts
Und naja, standard bei IPCCommTimeout sind wohl 300 und das sind ja nicht wirklich 40 Sekunden, deswegen glaube ich ich drehe da an den falschen Einstellungen. Und ich muss gestehen ich bin verwirrt an der Menge von Lösungen in all den Threads und sie alle bringen mich irgendwie nicht weiter...

meine /var/log/apache2/suexec.log
Code:
[2009-09-04 13:52:40]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter
[2009-09-04 13:59:06]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter
[2009-09-04 13:59:06]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter
[2009-09-04 13:59:06]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter
[2009-09-04 13:59:06]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter
[2009-09-04 14:39:37]: uid: (2002/vu2002) gid: (2002/vu2002) cmd: php5-fcgi-starter
meine /var/log/apache2/users/default-error.log
Code:
[Fri Sep 04 13:53:19 2009] [warn] mod_fcgid: read data timeout in 40 seconds
[Fri Sep 04 13:53:19 2009] [error] [client 84.73.81.202] Premature end of script headers: jsonInterface.php, referer: http://webshell.ch/view/index.php
[Fri Sep 04 13:53:20 2009] [warn] mod_fcgid: read data timeout in 40 seconds
[Fri Sep 04 13:53:20 2009] [error] [client 84.73.81.202] Premature end of script headers: jsonInterface.php, referer: http://webshell.ch/view/index.php
[Fri Sep 04 13:53:22 2009] [notice] mod_fcgid: process 21501 going graceful shutdown, sending SIGTERM
[Fri Sep 04 13:53:27 2009] [notice] mod_fcgid: process 21154 going graceful shutdown, sending SIGTERM
[Fri Sep 04 13:53:33 2009] [warn] mod_fcgid: read data timeout in 40 seconds
[Fri Sep 04 13:53:33 2009] [error] [client 84.73.81.202] Premature end of script headers: jsonInterface.php, referer: http://webshell.ch/view/index.php
[Fri Sep 04 13:53:34 2009] [warn] mod_fcgid: process 21501 graceful shutdown timeouted, sending SIGKILL
[Fri Sep 04 13:53:34 2009] [warn] mod_fcgid: process 21154 graceful shutdown timeouted, sending SIGKILL
[Fri Sep 04 13:53:40 2009] [notice] mod_fcgid: process 21502 going graceful shutdown, sending SIGTERM
[Fri Sep 04 13:53:47 2009] [warn] mod_fcgid: process 21502 graceful shutdown timeouted, sending SIGKILL
[Fri Sep 04 13:53:53 2009] [warn] mod_fcgid: read data timeout in 40 seconds
[Fri Sep 04 13:53:53 2009] [error] [client 84.73.81.202] Premature end of script headers: jsonInterface.php, referer: http://webshell.ch/view/index.php
[Fri Sep 04 13:53:59 2009] [notice] mod_fcgid: process 21499 going graceful shutdown, sending SIGTERM
[Fri Sep 04 13:54:06 2009] [warn] mod_fcgid: process 21499 graceful shutdown timeouted, sending SIGKILL
und die Logs der Domain:
Code:
[Fri Sep 04 13:53:40 2009] [notice] mod_fcgid: process /var/www/virtual/tld.ch/htdocs/index.php(21501) exit(communication error), get stop signal 9
[Fri Sep 04 13:53:40 2009] [notice] mod_fcgid: process /var/www/virtual/tld.ch/htdocs/index.php(21154) exit(communication error), get stop signal 9
[Fri Sep 04 13:53:53 2009] [notice] mod_fcgid: process /var/www/virtual/tld.ch/htdocs/index.php(21502) exit(communication error), get stop signal 9
[Fri Sep 04 13:54:12 2009] [notice] mod_fcgid: process /var/www/virtual/tld.ch/htdocs/index.php(21499) exit(communication error), get stop signal 9
[Fri Sep 04 13:59:06 2009] [notice] mod_fcgid: call /var/www/virtual/tld.ch/htdocs/jsonInterface.php with wrapper /var/www/fcgi/tld.ch/php5-fcgi-starter
[Fri Sep 04 13:59:06 2009] [notice] mod_fcgid: call /var/www/virtual/tld.ch/htdocs/jsonInterface.php with wrapper /var/www/fcgi/tld.ch/php5-fcgi-starter
[Fri Sep 04 13:59:06 2009] [notice] mod_fcgid: call /var/www/virtual/tld.ch/htdocs/jsonInterface.php with wrapper /var/www/fcgi/tld.ch/php5-fcgi-starter
[Fri Sep 04 13:59:06 2009] [notice] mod_fcgid: call /var/www/virtual/tld.ch/htdocs/jsonInterface.php with wrapper /var/www/fcgi/tld.ch/php5-fcgi-starter
[Fri Sep 04 14:05:58 2009] [notice] mod_fcgid: process /var/www/virtual/tld.ch/htdocs/index.php(21317) exit(idle timeout), terminated by calling exit(), return code: 0
[Fri Sep 04 14:05:58 2009] [notice] mod_fcgid: process /var/www/virtual/tld.ch/htdocs/index.php(21620) exit(idle timeout), terminated by calling exit(), return code: 0
[Fri Sep 04 14:05:58 2009] [notice] mod_fcgid: process /var/www/virtual/tld.ch/htdocs/index.php(21619) exit(idle timeout), terminated by calling exit(), return code: 0
[Fri Sep 04 14:05:58 2009] [notice] mod_fcgid: process /var/www/virtual/tld.ch/htdocs/index.php(21623) exit(idle timeout), terminated by calling exit(), return code: 0
[Fri Sep 04 14:05:58 2009] [notice] mod_fcgid: process /var/www/virtual/tld.ch/htdocs/index.php(21618) exit(idle timeout), terminated by calling exit(), return code: 0
[Fri Sep 04 14:05:58 2009] [notice] mod_fcgid: process /var/www/virtual/tld.ch/htdocs/index.php(21180) exit(idle timeout), terminated by calling exit(), return code: 0

Meine Systemangaben:
Debian Lenny
ISPCP mit fcgi
ispCP 1.0.0 OMEGA
build: 20090225
Codename: Priamos


Naja, danke schonmal fürs lesen Wink
Gruss aus der Schweiz

Nachtrag, meine fcgid_ispcp.conf schaut 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_fcgid.c>
  AddHandler fcgid-script .php .php5
  SocketPath /var/lib/apache2/fcgid/sock
  # standard 300
  IPCConnectTimeout 600
</IfModule>
(This post was last modified: 09-05-2009 08:09 AM by ZooL.)
09-04-2009 11:25 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
[ERLEDIGT]Error 500 - Foggy - 09-04-2009 11:25 PM
RE: Error 500 - BeNe - 09-04-2009, 11:48 PM
RE: Error 500 - Foggy - 09-05-2009, 12:01 AM
RE: Error 500 - BeNe - 09-05-2009, 12:31 AM
RE: Error 500 - Foggy - 09-05-2009, 02:38 AM
RE: [ERLEDIGT]Error 500 - BeNe - 09-07-2009, 04:52 PM

Forum Jump:


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