LuNaR Posted July 27, 2011 Share Posted July 27, 2011 So I'm teaching myself how to use databases with Php and JavaScript by creating myself a local website with various features. Sofar the only thing that the site does is run a login script and check the entered username/password the the database. If it successfully logs in it will open up a window which displays the contents of a local log file and refreshes the log file every 250ms. At random, it seems, my apache and mysql servers bog down like crazy. Any ideas what common errors would cause something like this to happen? I've checked the error logs - nothing, and the access logs aren't very busy. Link to comment
Newbster Posted July 27, 2011 Share Posted July 27, 2011 1. Are you running on a Windows Server Box or a linux Box ? 2. What does the Processor and RAM show for activity when this happens ? 3. What Version of MySQL and Apache you running ? Newb Link to comment
LuNaR Posted July 27, 2011 Author Share Posted July 27, 2011 1. Windows 7 Pro x64 2. Shows running around 45k in task manager (standard for it). Have to check processor/RAM stats next time it happens. 3. MySQL 5.1, Apache 2.2.14 Link to comment
LuNaR Posted July 27, 2011 Author Share Posted July 27, 2011 Silly me. I had forgotten the increments on three loops so I had infinite loops all over the place.. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now