Page 1 of 1

using XAMPP on local network, kinda slow re-opened

PostPosted: Fri Jun 01, 2007 7:49 am
Author: shedt_v
You all are super awesome, so i thought I would ask here and corss my fingers.

I'm running IM141 in XAMPP. Works really awesome, I'm trying to get it to work over our network at work.

OK, it is working. The problem is that after about 10 min, it slows down.

You see we are using the KB articles, have a portal page set up to display them. Works really awesome locally.

Anyways, after about 10min for the other users it gets slow. I can retart the apache and mysql services and that seems to fix it. But i want a better solution. I'm trying to edit the php.ini file and the memory settings for the mysql.

I'm doing this because I have some regular html files that load really fast, when the KB articles don't (and all of IM141.

All in all this is an awesome learning experience. I can feel i'm just a inch away from figuring it out. Any suggestions though are welcome!

PostPosted: Fri Jun 01, 2007 7:52 am
Author: shedt_v
[Page generation time: 0.6639s (PHP: 84% | SQL: 16%) | SQL queries: 31 | GZIP disabled | Debug on]

Debug mode makes it slow?

Seems it's the php that is taking up most of the speed/time?

PostPosted: Fri Jun 01, 2007 8:13 am
Author: nGAGE
A "Debug Mode" activated on anything will slow things down ... ALWAYS! Just as a helper!
If you're using the normal XAMPP (full)... I wouldn't mess with the php.ini and the SQL settings much... they are pretty well configured for a standard config. Only apply changes related to security, disallowing access to those that shouldn't have it... the rest should be fine.
I use XAMPP to run all my test-sites on and even with my home internet connection people from outside don't get a very slow site. (not the fastest of course, but definately not super slow)

I'm not sure in how far we can help (especially without more knowledge of settings you're experimenting with) but just shoot away... we can always try <img>

PostPosted: Fri Jun 01, 2007 8:16 am
Author: shedt_v
This will sound dumb, but how do I turn debug off?

I'm searching but i can't seem to find it. It's not the CT debug?

p.s.

security is not really an issue as it's on a private network at work. Right now it's just the speed that is holding it back. It seems to be working better now that I have changed the php.ini memory options.

PostPosted: Fri Jun 01, 2007 9:37 am
Author: shedt_v
ok debug is off, I'll see how it goes, and if there are no more problems then I will change this topics title

<img>

PostPosted: Fri Jun 01, 2007 9:46 am
Author: nGAGE
Rofl... you're too quick... hehe <img>

which debug were you referring to? the CT debug would give you a huge/ugly message box on the forum... so I doubt that was the one. Assuming you're talking about either the php/sql debugging/error-reporting stuff? Forgot what it was exactly.

Re: using XAMPP on local network, kinda slow

PostPosted: Sat Jun 02, 2007 9:17 pm
Author: Frost
I think he is refering to the debug in footer, which is in config.php i believe

PostPosted: Wed Jun 06, 2007 6:36 am
Author: shedt_v
everything is rockin' now. Bumped up the memory settings for php, turned debug off. Also, I turned off mysql and apache as services in XAMPP.

PostPosted: Wed Jun 13, 2007 8:10 am
Author: shedt_v
OK so it is working pretty good, but I think I found out what the problem is, as sometimes I gets slow again. Well I think it's my computer's cpu. You see, the main page we have, it's made up of 3 KB articles in a menu. One block points to a html menu file, which uses 3 KB articles.

The problem is that I guess 3-4 php files are being generated at once? So when I'm using the system it's fine, but I monitor when my co-worker uses it and when he is clicking links then my cpu usages goes up to %100.

I'm going to try to set apache's priority for it's process to high.

We will be moving the xampp software to another computer that will not be used at the same time.

Any suggestions on speeding up PHP or apache?