I have an AMD Athlon 1400 with a gig of ram and a 20 gig HD. It was running Moodle and some other LAMP programs, but Moodle was the only one generating any real traffic. Until the summer, it had 256 megs of ram. It got an upgrade to the gig when school started, and has run quite well. I am running a stripped-down version of RH 7.3 (no gui, etc.).
Suddenly (like in the last week), the Moodle slowed to a crawl. It took forever to log in. My gradebook program hasn't suffered the slowdown, and the survey program seems as fast as ever. I posted a link in class while the kids were working on something. All was snappy. They went to log in 10 minutes later, and while 1 or 2 in the class finally got in, the rest gave up.
I have looked through the posts and can't seem to figure out where to start. I upgraded to 1.1 when it came out, and haven't touched settings since the upgrade.
If you have an idea, please send it my way... Tom
I would not normally recommend this but try a reboot sometime. Possibly a badly-behaved program is leaking and memory has been filling up slowly ...
The machine in general is running pretty well.
I ran top, and it showed nothing out of the ordinary.
CPU is loafing.
The 2.4 kernel shows most of the memory in use, but it isn't using swap and thrashing around.
So... I tried Moodle and got pretty good performance.
I was using another Win 2K installation, and it makes me wonder if the name was not being resolved due to some setting. Maybe the internal DNS has been flakey for the kids. DHCP may have spit out ugly DNS servers while they were fooling with settings.
Short version is I am thinking that it is not the moodle but some setting that is making it slow. Maybe I will change the mathweb.culver.org to just mathweb (or even the IP) as an experiment. I'll look at my survey and grading programs to see what may be different.
Another PHP based application on myu server suddenly slowed down.
Causing other PHP web apps to slow down, but not all of them! Really weird!
Ik ran apachectrl restart to fix this and it helped.
Afterward I upgraded the other buggy PHP app and the problem was over.
Do you have other PHP programs running on the server?
BTW The ionCube PHP Accelerator did a wonder to the performance of all the php apps!
Hope this helps
I have a variety of PHP apps on this machine. This is my developmental production box, and lots of things get installed. Some of them stay in use like Bessie the gradebook program, phpESP for surveys, and Moodle. These are the only three that see any real action right now.
I had an entire class on Moodle today, and it worked quite well. There weren't any problems with timing out.
You seem to recommend the PHP Accelerator. Maybe I need to give it a try.
Give it a try...
It is a PHP/MySQL application. Students can login to see their grades. The guy who wrote it responds to email.