apache hangs

Problems with the Windows version of XAMPP, questions, comments, and anything related.

apache hangs

Postby matt_xampp » 19. March 2006 07:18

does anyone else have this problem,

Apache hangs at 100% resulting in total system halt. Nothing in event log
These are the worst crashes Ive seen in any of my XP boxes over the latest few years.

INSTALL
latest basic xampp (1.5.1)
php 5.1.1 running as apache module
(without(1) and with(2) mod-perl addon)

on win xp_sp2 pro, no firewall, configured to devote more resources to background services, ie running as NT AUTHORITY


SYMPTOMS
1---
while using phpmyadmin to insert a small amount of data into a table, (1000 rows as INSERT into tablename VALUES(blah blah ) )

apache _locked up the machine_ and no data reached the mysql server for about 30minutes, whereupon the query executed in 0.001 seconds.
-----

2---
I clicked on the xampp security link after installing perl addon, and the same thing hapenned: system became totally unresponsive
-----


SOLUTION???
use "Command Line Process Viewer/Killer/Suspender for Windows NT/2000/XP V2.03" from beyondlogic.org
process -v
then
process -k 3360 (where 3360 is main apache parent)
to kill off the apache parent and its children, then restart and dont do what you just did!!

Thats not too good, but its all I have so far

[but for those who are experiencing this problem,
taskkill /f /im apache.exe doesnt work
neither does the taskmgr or any other program (if configured in background service priority mode.
neither does apache -k stop] !!



can anyone help me?

any and all help welcome!! matt
matt_xampp
 
Posts: 2
Joined: 19. March 2006 07:01

Postby sthosting » 06. April 2006 03:43

Hello,
I have been having the same problem.. i looked thru my error logs and found this Wed Apr 05 21:25:22 2006] [warn] Server ran out of threads to serve requests. Consider raising the ThreadsPerChild setting
so i found this

# WinNT MPM
# ThreadsPerChild: constant number of worker threads in the server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_winnt_module>
ThreadsPerChild 99
MaxRequestsPerChild 0
Win32DisableAcceptEx
</IfModule>
I added - Win32DisableAcceptEx and rased my threads per childs to 99 from 25

this may be found in -- /apache/conf/extra/httpd-mpm.conf
sthosting
 
Posts: 19
Joined: 26. January 2006 06:10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 76 guests