Page 1 of 1

Xampp causing computer to be very slow!

PostPosted: 17. January 2010 02:53
by newbtophp
Hi,

My computer work's fine all the time, but today when i started apache, and ran http://localhost it worked fine until later today it began to freeze and not respond at points (very slow loading time)

Pages on http://localhost are becoming very slow, i've ran a few files and waited for them to load for over 10 minutes (they usually load up within a few seconds) and still no response.

I've tried in firefox, google chrome and internet explorer. :(. I've tried accessing both: http://localhost and 127.0.0.1 but both are taking forever too load.

I then checked my task manager and the CPU Usage is 100%; i checked the processes and everything is "00" CPU except for one process called "httpd.exe" which is "100" CPU :shock:

Since xampp is running, the PC has been starting to make loud fuzzy process noices. (perhaps due to the high CPU?)

Im running:

OS: Windows Vista
Xampp Version: Xampp for Windows Version 1.7.2 ( Apache 2.2.12, MySQL 5.1.37 )

How can i resolve this?

Thanks.

Re: Xampp causing computer to be very slow!

PostPosted: 17. January 2010 03:15
by Izzy
Perhaps the solution is here in the FAQ:
http://www.apachefriends.org/en/faq-xam ... s.html#cpu

Re: Xampp causing computer to be very slow!

PostPosted: 17. January 2010 10:06
by newbtophp
I did that and restarted apache.

The CPU is still very high 60%; (process->"httpd.exe")

Re: Xampp causing computer to be very slow!

PostPosted: 18. January 2010 02:11
by newbtophp
anyone can help me? :(

Re: Xampp causing computer to be very slow!

PostPosted: 19. January 2010 00:24
by newbtophp
The problem still occurs, anyone got any other suggestions?

Re: Xampp causing computer to be very slow!

PostPosted: 08. January 2012 11:48
by ronshe
I solved the problem by disabling XDEBUG from php.ini.
I need xdebug occasionally,so still need to understand what of the xdebug parameters did this problem.

Re: Xampp causing computer to be very slow!

PostPosted: 09. January 2012 15:13
by JonB
To the OP -

99% of the time the cause of 100% utilization for httpd.exe are scripts that are misbehaving. 99% of that 99% are stuck in endless loops. So look at your code. If it isn't yours learn to debug it or contact the authors.

Good Luck
8)