using XAMPP on local network, kinda slow re-opened

Support for IntegraMOD 141

Moderator: Integra Moderator

using XAMPP on local network, kinda slow re-opened

PostAuthor: shedt_v » Fri Jun 01, 2007 7:49 am

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!
Last edited by shedt_v on Wed Jun 13, 2007 8:05 am, edited 1 time in total.

shedt_v
Integra Member
Integra Member
 
Posts: 114
Likes: 0 post
Liked in: 0 post
Joined: Sat Dec 09, 2006 8:37 am
Cash on hand: 0.00

PostAuthor: shedt_v » Fri Jun 01, 2007 7:52 am

[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?
Last edited by shedt_v on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

shedt_v
Integra Member
Integra Member
 
Posts: 114
Likes: 0 post
Liked in: 0 post
Joined: Sat Dec 09, 2006 8:37 am
Cash on hand: 0.00

PostAuthor: nGAGE » Fri Jun 01, 2007 8:13 am

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>
Last edited by nGAGE on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://www.net-clan-gaming.eu/ftp/ngage/images/nEt_v3_sig.png[/img][/url]
User avatar
nGAGE
Sr Integra Member
Sr Integra Member
 
Posts: 248
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 7:28 am
Cash on hand: 0.00

PostAuthor: shedt_v » Fri Jun 01, 2007 8:16 am

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.
Last edited by shedt_v on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

shedt_v
Integra Member
Integra Member
 
Posts: 114
Likes: 0 post
Liked in: 0 post
Joined: Sat Dec 09, 2006 8:37 am
Cash on hand: 0.00

PostAuthor: shedt_v » Fri Jun 01, 2007 9:37 am

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>
Last edited by shedt_v on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

shedt_v
Integra Member
Integra Member
 
Posts: 114
Likes: 0 post
Liked in: 0 post
Joined: Sat Dec 09, 2006 8:37 am
Cash on hand: 0.00

PostAuthor: nGAGE » Fri Jun 01, 2007 9:46 am

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.
Last edited by nGAGE on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://www.net-clan-gaming.eu/ftp/ngage/images/nEt_v3_sig.png[/img][/url]
User avatar
nGAGE
Sr Integra Member
Sr Integra Member
 
Posts: 248
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 7:28 am
Cash on hand: 0.00

Re: using XAMPP on local network, kinda slow

PostAuthor: Frost » Sat Jun 02, 2007 9:17 pm

I think he is refering to the debug in footer, which is in config.php i believe
Last edited by Frost on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[size=99px]PhpBB3 Themes[/url] ]PhpBB3 Development Center[/url] [/size]

Frost
Sr Integra Member
Sr Integra Member
 
Posts: 776
Likes: 0 post
Liked in: 0 post
Joined: Wed Sep 13, 2006 2:04 am
Cash on hand: 0.00
Location: Photoshop CS3

PostAuthor: shedt_v » Wed Jun 06, 2007 6:36 am

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.
Last edited by shedt_v on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

shedt_v
Integra Member
Integra Member
 
Posts: 114
Likes: 0 post
Liked in: 0 post
Joined: Sat Dec 09, 2006 8:37 am
Cash on hand: 0.00

PostAuthor: shedt_v » Wed Jun 13, 2007 8:10 am

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?
Last edited by shedt_v on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

shedt_v
Integra Member
Integra Member
 
Posts: 114
Likes: 0 post
Liked in: 0 post
Joined: Sat Dec 09, 2006 8:37 am
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: Google [Bot], Unspecified Bot