Apache 2.2.3 has over 90% CPU uasage after starting

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

Apache 2.2.3 has over 90% CPU uasage after starting

Postby fredc » 09. February 2007 09:11

This is a new XP pro/ SP2 install.
After installing xampp-win32-1.5.5-installer apache creates over 90% cpu usage. I am not connected to the internet.

I thought this was a bug so I reinstalled everything and I still have this problem. Web server is unusable.

What's going on?
fredc
 
Posts: 1
Joined: 09. February 2007 08:54

Postby Wiedmann » 09. February 2007 13:10

Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Ado1407 » 24. April 2007 19:37

Hello,

To fix this problem, simply uncomment in \xampp\apache\conf\httpd.conf
the line # Win32DisableAcceptEx.

so it must appear as

Win32DisableAcceptEx

The AcceptEx() is an improved Winsocks 2 produced by Apache but not working upon the Windows Home Family ( 98/ME and so on...)

Unfortunately, Windows 2000 and XP Professional are also affected.

Thus, disabling AcceptEx() is certainly the best way.

If you are running on XP Home edition, due to a bad memory management, Windows only allows 160 Kb to programs running under command.com, which is the case of Apache.

And Apache needs more memory...

How to fix it ?

Edit your config.sys file, yes Windows XP still have one (':evil:'), and add this line :

shell=c:\windows\command.com c:\windows /e:2048 /p

This will allow 2048 KB of memory for applications running on command.com

Then restart your computer.

Note : config.sys is in your root directory, commonly c:\ but it is a hidden file so you have first to make hidden files visible or use sysedit in the menu "start" "run command" and you are done.

And here you can see how valuable it is to know this old good DOS :lol: :lol:
Ado1407
 
Posts: 2
Joined: 24. April 2007 17:51
Location: Liege Belgium


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 65 guests