Apache 2.2 stürzt ab

Hilfe zu Znuny Problemen aller Art
Locked
EDV_Zivi
Znuny newbie
Posts: 11
Joined: 21 Jun 2007, 09:55

Apache 2.2 stürzt ab

Post by EDV_Zivi »

Hallo OTRSler
Habe jetzt schon öfter das Problem gehabt, dass mein OTRS nicht erreichbar war.
Dann hilft nur per remote auf den rechner zu gehen und otrs neu zu starten.
Dann beendet er ja die einzelnen Applikationen und startet diese neu.
Sobald er nun zum Apache2.2 kommt, steht da apache is not startet.

Was kann ich tun damit das nicht ständig passiert?

Mein error logfile von heute:

[Fri Jun 22 07:20:21 2007] [error] [client 172.30.77.21] File does not exist: C:/OTRS/Apache2/htdocs/favicon.ico
[Fri Jun 22 07:20:21 2007] [error] [client 172.30.77.21] File does not exist: C:/OTRS/Apache2/htdocs/favicon.ico
[Fri Jun 22 08:34:16 2007] [notice] Child 2984: Process exiting because it reached MaxRequestsPerChild. Signaling the parent to restart a new child process.
[Fri Jun 22 08:34:16 2007] [notice] Parent: Received restart signal -- Restarting the server.
[Fri Jun 22 08:34:17 2007] [warn] (OS 10038)Ein Vorgang bezog sich auf ein Objekt, das kein Socket ist. : setsockopt(SO_UPDATE_ACCEPT_CONTEXT) failed.
[Fri Jun 22 08:34:17 2007] [notice] Child 2984: Released the start mutex
[Fri Jun 22 08:34:18 2007] [notice] Child 2984: Waiting for 250 worker threads to exit.
[Fri Jun 22 08:34:18 2007] [notice] Child 2984: All worker threads have exited.
[Fri Jun 22 08:34:19 2007] [notice] Child 2984: Child process is exiting
[Fri Jun 22 08:35:26 2007] [notice] Apache/2.2.4 (Win32) mod_perl/2.0.3-dev Perl/v5.8.8 configured -- resuming normal operations
[Fri Jun 22 08:35:26 2007] [notice] Server built: Jan 9 2007 23:17:20
[Fri Jun 22 08:35:26 2007] [crit] (22)Invalid argument: Parent: Failed to create the child process.
[Fri Jun 22 08:35:26 2007] [crit] (OS 6)Das Handle ist ungültig. : master_main: create child process failed. Exiting.
[Fri Jun 22 08:35:26 2007] [notice] Parent: Forcing termination of child process 36
[Fri Jun 22 08:46:00 2007] [notice] Apache/2.2.4 (Win32) mod_perl/2.0.3-dev Perl/v5.8.8 configured -- resuming normal operations
[Fri Jun 22 08:46:00 2007] [notice] Server built: Jan 9 2007 23:17:20
[Fri Jun 22 08:46:00 2007] [notice] Parent: Created child process 3908
[Fri Jun 22 08:46:14 2007] [notice] Child 3908: Child process is running
[Fri Jun 22 08:46:14 2007] [notice] Child 3908: Acquired the start mutex.
[Fri Jun 22 08:46:14 2007] [notice] Child 3908: Starting 250 worker threads.
[Fri Jun 22 08:46:14 2007] [notice] Child 3908: Starting thread to listen on port 80.
OTRS 2.1.7 Windows XP Professional SP2, Apache 2.2.4, MySQL 5, Perl 5.8.8, Cron 1.3
lindesbs
Znuny expert
Posts: 225
Joined: 09 Dec 2005, 14:18

Apache 2.2 stürzt ab

Post by lindesbs »

Steht doch eigentlich dort :

Process exiting because it reached MaxRequestsPerChild.


Erhoehe die MaxRequestsPerChild und gut ist.
OTRS meets Contao
EDV_Zivi
Znuny newbie
Posts: 11
Joined: 21 Jun 2007, 09:55

Apache 2.2 stürzt ab

Post by EDV_Zivi »

Ja wenn mir jetzt noch einer erklärt wie das geht ist ok :-)
Bin leider absoluter Newbie was Apache und MySQL usw. angeht.
Nen paar Anfängertipps wären ganz hilfreich.
OTRS 2.1.7 Windows XP Professional SP2, Apache 2.2.4, MySQL 5, Perl 5.8.8, Cron 1.3
lindesbs
Znuny expert
Posts: 225
Joined: 09 Dec 2005, 14:18

Apache 2.2 stürzt ab

Post by lindesbs »

Tante google hilft da manchmal schon : Suchworte : "MaxRequestsPerChild otrs"

Bringt Dir zum Beispiel das hier :
http://www.mail-archive.com/otrs-de@otr ... 04079.html

Also einfach deinen Apache pimpen und gut ist.
OTRS meets Contao
EDV_Zivi
Znuny newbie
Posts: 11
Joined: 21 Jun 2007, 09:55

Apache 2.2 stürzt ab

Post by EDV_Zivi »

Habe die max requests jetzt erhöht aber keine Wirkung Meldung kommt immernoch hat zwar 2 Tage gehalten jetzt aber jetzt ist er wieder abgestürzt.

LOG:

[Tue Jun 26 13:53:22 2007] [notice] Child 3228: Process exiting because it reached MaxRequestsPerChild. Signaling the parent to restart a new child process.
[Tue Jun 26 13:53:23 2007] [notice] Parent: Received restart signal -- Restarting the server.
[Tue Jun 26 13:53:23 2007] [warn] (OS 10038)Ein Vorgang bezog sich auf ein Objekt, das kein Socket ist. : setsockopt(SO_UPDATE_ACCEPT_CONTEXT) failed.
[Tue Jun 26 13:53:23 2007] [notice] Child 3228: Released the start mutex
[Tue Jun 26 13:53:25 2007] [notice] Child 3228: Waiting for 500 worker threads to exit.
[Tue Jun 26 13:53:25 2007] [notice] Child 3228: All worker threads have exited.
[Tue Jun 26 13:53:26 2007] [notice] Child 3228: Child process is exiting
[Tue Jun 26 13:54:31 2007] [notice] Apache/2.2.4 (Win32) mod_perl/2.0.3-dev Perl/v5.8.8 configured -- resuming normal operations
[Tue Jun 26 13:54:31 2007] [notice] Server built: Jan 9 2007 23:17:20
[Tue Jun 26 13:54:31 2007] [crit] (22)Invalid argument: Parent: Failed to create the child process.
[Tue Jun 26 13:54:31 2007] [crit] (OS 6)Das Handle ist ungültig. : master_main: create child process failed. Exiting.
[Tue Jun 26 13:54:31 2007] [notice] Parent: Forcing termination of child process 36

EDIT: An alle, die ebenfalls OTRS 2.1.7 unter Windows XP verwenden: Welche Apache Version benutzt ihr und stürzt dieser bei euch auch immer ab?
OTRS 2.1.7 Windows XP Professional SP2, Apache 2.2.4, MySQL 5, Perl 5.8.8, Cron 1.3
DennisW
Znuny newbie
Posts: 16
Joined: 10 Jul 2007, 11:02

Apache 2.2 stürzt ab

Post by DennisW »

MaxRequestsPerChild auf 0 setzen

nicht nur im httpd.conf, sondern auch im apache2-httpd-new.include.conf welches im OTRS\scripts Folder zu finden ist.
OTRS 2.1.7 // Apache/2.2.4 (Win32) mod_perl/2.0.3-dev Perl/v5.8.8 // MySQL 5.0.37 selbiges auch auf IIS
W2k3 32bit R2 SP2 english
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Apache 2.2 stürzt ab

Post by jojo »

Dear Community Members,

+++++++++++++++++++++++++ Bugfixing ++++++++++++++++++++++++

Changes:
========

In case that the maximum amount of requests (currently 400)
"MaxRequestsPerChild" is reached, Apache2 should have
dropped the child process in order to create a new one.
Due to an error within ActivePerl Package (Version 5.8.8.820)
the creation of a new child process failed. Apache2 stopped
itself with an error message, "Failed to create the child
process".

* Bug# 1878 [http://bugs.otrs.org/show_bug.cgi?id=1878]
* Bug# 1918 [http://bugs.otrs.org/show_bug.cgi?id=1918]
* Bug# 1938 [http://bugs.otrs.org/show_bug.cgi?id=1938]

The Bug was solved by a Downgrade to the last efficient
ActivePerl Package (Version 5.8.8.819).

Affected packages:
==================
* otrs-2.0.5-001-win32.exe
* otrs-2.1.7-001-win32.exe
* otrs-2.2.1-001-win32.exe

Adjusted packages:
==================
* otrs-2.0.5-002-win32.exe
* otrs-2.1.7-002-win32.exe
* otrs-2.2.1-002-win32.exe

With the new packages the following components will be
Installed:

* OTRS (2.0.5 or 2.1.7 or 2.2.1)
* Apache 2.2.4
* MySQL 5.0.37
* CRONw 2.0
* Perl 5.8.8.819

Download:
=========

ftp://ftp.otrs.org/pub/otrs/ (Germany/Hamburg)

(a full list of all download mirrors (ftp/http/rsync) is
available at http://otrs.org/download/)


File-List and MD5 message digest (128-bit) checksums:
====================================================

OTRS 2.0.5:
ftp://ftp.otrs.org/pub/otrs/otrs-2.0.5-002-win32.exe
c92770d3d56ef92fa347728e95382bd6

OTRS 2.1.7:
ftp://ftp.otrs.org/pub/otrs/otrs-2.1.7-002-win32.exe
3ee629ef758552a4782b8cb16cf0b2c9

OTRS 2.2.1:
ftp://ftp.otrs.org/pub/otrs/otrs-2.2.1-002-win32.exe
0fdef16b27e0da3fa9f23649e6a5567c´

Bug Reporting:
==============
Although our Software has been tested before, we appreciate
Your contributions and bug reports. You, the OTRS Community,
has always been an invaluable source of helpful suggestions,
fair comments and well skilled testers to us.

Therefore a great "THX!" goes out to you!
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
DennisW
Znuny newbie
Posts: 16
Joined: 10 Jul 2007, 11:02

Apache 2.2 stürzt ab

Post by DennisW »

@jojo appreciated... vielen dank
OTRS 2.1.7 // Apache/2.2.4 (Win32) mod_perl/2.0.3-dev Perl/v5.8.8 // MySQL 5.0.37 selbiges auch auf IIS
W2k3 32bit R2 SP2 english
Locked