Apache (httpd.exe) Extremely High Processing

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

Apache (httpd.exe) Extremely High Processing

Postby zardiw » 06. November 2014 03:59

Hey.....

On occasion Apache will go into extremely high processing mode.......and then settle back down to normal.

I'm running XAMPP on a Win XP SP3 machine. 500MB Ram

I have one PHP program that uses Curl to periodically check a website for changes every 3 minutes or so.

There is some semi intense processing/parsing of pages from that website.

I also use PHP Sleep (for one second) between requests to the site for sub pages to avoid overloading that site.

That is the only purpose of the server.

I do not want to serve anything to the web at large.

Are there settings that I can add/change (like possibly KeepAlive) that will optimize Apache for the above stated purpose?

And any ideas as to why it is going into High Overdirve Mode at times? (Using Process Explorer which shows the high CPU usage)

Appreciate any help here.

z
zardiw
 
Posts: 19
Joined: 01. September 2011 20:06

Re: Apache (httpd.exe) Extremely High Processing

Postby Nobbie » 06. November 2014 11:21

I cant find a problem, CPUs are made for processing? Is there any severe issue, or only a "feeling"?
Nobbie
 
Posts: 8768
Joined: 09. March 2008 13:04

Re: Apache (httpd.exe) Extremely High Processing

Postby JJ_Tagy » 06. November 2014 14:47

Sounds like a script issue. Maybe filling memory buffer with enormous amounts of data. Perhaps the site you are pulling from has some hidden redirects, includes, etc. that aren't accounted for. Try letting your system run for the same time with/without the script to see if there is any change.
JJ_Tagy
 
Posts: 678
Joined: 30. January 2012 13:44
Operating System: Windows 10 Pro x64

Re: Apache (httpd.exe) Extremely High Processing

Postby zardiw » 06. November 2014 15:22

If I run the script through a browser, the browser shows no excessive processing........it's the httpd.exe that shows very high processing........It's not the script......it's Apache.

z
zardiw
 
Posts: 19
Joined: 01. September 2011 20:06

Re: Apache (httpd.exe) Extremely High Processing

Postby zardiw » 06. November 2014 15:23

The only thing Apache is doing is getting the pages.........why would that lead to high processing? These are simple web pages.....no large images/javascript or anything like that.......

Could it be the php sleep function?

.....z
zardiw
 
Posts: 19
Joined: 01. September 2011 20:06

Re: Apache (httpd.exe) Extremely High Processing

Postby zardiw » 06. November 2014 16:31

JJ_Tagy wrote:Sounds like a script issue. Maybe filling memory buffer with enormous amounts of data. Perhaps the site you are pulling from has some hidden redirects, includes, etc. that aren't accounted for. Try letting your system run for the same time with/without the script to see if there is any change.


This is a possibility.......filling up RAM and having to continually swap out Apache and the script.

Currently have 512 Ram on this computer.

Going to increase it to 1G and see if that solves the problem

z
zardiw
 
Posts: 19
Joined: 01. September 2011 20:06

Re: Apache (httpd.exe) Extremely High Processing

Postby zardiw » 10. November 2014 18:38

Unless somebody has some other ideas....... What about Keep Alive of a few seconds? .......After reading the main page, the program reads any other pages that are linked in the main page........to check for changes.......z
zardiw
 
Posts: 19
Joined: 01. September 2011 20:06

Re: Apache (httpd.exe) Extremely High Processing

Postby zardiw » 24. November 2014 03:03

Just increased RAM to 1G ............it's still doing it, so lack of Memory is not the problem............

z
zardiw
 
Posts: 19
Joined: 01. September 2011 20:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 34 guests