[Apache/PHP] Webserver reboots steeds weer

Pagina: 1
Acties:

  • FF1987
  • Registratie: September 2003
  • Niet online
Hoi,

Ik heb een probeem met mijn webserver waar ik zelf niet uit kom, zelfs niet door te zoeken op search en google. Dus ik hoop dat iemand hier een oplossing voor heeft. Laatst heb ik mijn webserver geupgrade van PHP 4.4.0 naar 5.0.4. Sindsdien krijg ik deze foutmelding te zien in de Apache log: FATAL: erealloc(): Unable to allocate xxx bytes. Daarna reboot Apache vanzelf. Ik weet dus niet of het kwaad kan maar dit gebeurt zo'n 8 á 10 keer per dag (ergste geval was 17 keer op 1 dag) volgens mijn Apache error logs. Dus als iemand een oplossing en of suggesties heeft, dan hoor ik ze graag. :)

Specs:
Windows 2003 SP1
Apache 2.0.54
PHP 5.0.4
MySQL 4.1.13a

  • NMe
  • Registratie: Februari 2004
  • Laatst online: 19-08 12:58

NMe

Quia Ego Sic Dico.

Dit is geen programmeerprobleem. Configuratievragen horen in één van de softwarefora, in dit geval in Software Algemeen. :)

PW>>SA

'E's fighting in there!' he stuttered, grabbing the captain's arm.
'All by himself?' said the captain.
'No, with everyone!' shouted Nobby, hopping from one foot to the other.


  • Pim.
  • Registratie: Mei 2001
  • Laatst online: 07-08 06:58

Pim.

Aut viam inveniam, aut faciam

Welk OS draai je en hoeveel geheugen heb je in de bak ??

"The trouble with quotes from the Internet is that you can never know if they are genuine." - Elvis Presley | Niet met me eens ? DM ME


  • sanfranjake
  • Registratie: April 2003
  • Niet online

sanfranjake

Computers can do that?

(overleden)
Pim. schreef op donderdag 11 augustus 2005 @ 21:35:
Welk OS draai je en hoeveel geheugen heb je in de bak ??
Lees even de topicstart ;)

Mijn spoorwegfotografie
Somda - Voor en door treinenspotters


  • Pim.
  • Registratie: Mei 2001
  • Laatst online: 07-08 06:58

Pim.

Aut viam inveniam, aut faciam

recursive functions in je scripts ??? kan je ook bekijken wanneer hij precies reboot (laatse wat aangeroepen wordt ??
In [rml][ PHP] Infinite recursion -> Webserver restarts: Acceptable?[/rml] wordt dit aangewezen als de oorzaak voor dit gedrag

Er zijn meerdere bugs die dit doen:
http://bugs.php.net/searc...rch_for=FATAL%3A+erealloc
http://bugs.php.net/bug.php?id=20609

"The trouble with quotes from the Internet is that you can never know if they are genuine." - Elvis Presley | Niet met me eens ? DM ME


  • FF1987
  • Registratie: September 2003
  • Niet online
Jah daar had ik al naar gekeken. Volgens de log zou het dan het forum software moeten zijn. Als een spider (en dat is alleen bij Google) probeert te posten (met de POST functie) dat wordt er een reboot uitgevoerd, maar het gekke is dat het niet bij elke POST doet wanneer Google probeert te posten. :?

Ow en ik heb 512 MB SDRAM in me server bakkie hangen. ;)

  • TommyGun
  • Registratie: Mei 2004
  • Laatst online: 19-08 11:33

TommyGun

Stik er maar in!

Wou dit topic toch even kicken.

Ik heb hetzelfde sinds ik Invision Power Board 2.1.3 draai. Voorheen nooit probs gehad.

code:
1
2
3
4
5
6
7
8
9
10
FATAL:  erealloc():  Unable to allocate 360448 bytes
[Fri Nov 25 22:25:56 2005] [notice] Parent: child process exited with status 1 -- Restarting.
[Fri Nov 25 22:25:57 2005] [notice] Apache/2.0.54 (Win32) PHP/4.4.0 configured -- resuming normal operations
[Fri Nov 25 22:25:57 2005] [notice] Server built: Apr 16 2005 14:25:31
[Fri Nov 25 22:25:57 2005] [notice] Parent: Created child process 4012
[Fri Nov 25 22:25:58 2005] [notice] Disabled use of AcceptEx() WinSock2 API
[Fri Nov 25 22:25:59 2005] [notice] Child 4012: Child process is running
[Fri Nov 25 22:25:59 2005] [notice] Child 4012: Acquired the start mutex.
[Fri Nov 25 22:25:59 2005] [notice] Child 4012: Starting 250 worker threads.
[Fri Nov 25 22:25:59 2005] [notice] Child 4012: Listening on port 80.


Apache/2.0.54 (Win32) PHP/4.4.0 onder WinXP Pro SP1

Ik heb al wat gezocht maar kom er echt niet in uit. De enigste hit op GoT is dit topic... B.v.d

[ Voor 5% gewijzigd door TommyGun op 25-11-2005 23:27 ]

“In a world without walls and fences, who needs Windows and Gates".


  • TommyGun
  • Registratie: Mei 2004
  • Laatst online: 19-08 11:33

TommyGun

Stik er maar in!

Niemand?

“In a world without walls and fences, who needs Windows and Gates".


  • FF1987
  • Registratie: September 2003
  • Niet online
Sorry dat ik hem omhoog kick, maar ik heb er een oplossing voor gevonden. :) Ik neem aan dat je Win32DisableAcceptEx in je .conf hebt gezet? Dat had ik toentertijd er ook ingezet omdat de plaatjes die op de server stonden niet goed deden laden in internet browsers. Maar ik heb hem nu uit de .conf gehaald en nu loopt hij helemaal niet meer vast. Ook heb ik geen last meer van plaatjes die maar half werken. Ik hoop dat je er iets aan hebt. :)

  • _Sunnyboy_
  • Registratie: Januari 2003
  • Laatst online: 14-01 22:23

_Sunnyboy_

Mooooooooooooooooo!

Ik heb vergelijkbare problemen als ik met voldoende traffic vanaf m'n windows server naar Oracle connect (ook op php4.3 & php4.4 trouwens). De oorzaak, de oci8 extensie van php is niet threadsafe, en onder windows is apache multithreaded, en gaat ie dus soms om...

Mogelijk heb jij iets dergelijks...

Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life

Pagina: 1