You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 144 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Forums are getting slower and slower everyday. [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Mesum
Support Staff
Support Staff


Joined: Mar 11, 2003
Posts: 842

Location: Chicago

PostPosted: Tue Mar 09, 2004 11:10 am Reply with quoteBack to top

The site started to get busy and people started to post in forums a lot because of become a "premium membership" and now site, ecpecially forums. People are getting very pissed off, I remember reading few posts by Pual (ZX) about speeding up forum's speed, but can't seem to find them.
Any idea guys?

http://www.pakistanimedia.com/pm
Find all posts by MesumView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
Mesum
Support Staff
Support Staff


Joined: Mar 11, 2003
Posts: 842

Location: Chicago

PostPosted: Thu Mar 11, 2004 10:58 am Reply with quoteBack to top

So no one has seen any problem like mine huh?

_________________
Only FREE Dating site for Desis.
Find all posts by MesumView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
Daniel-cmw
Site Admin
Site Admin


Joined: Mar 02, 2003
Posts: 1662

Location: The UK!

PostPosted: Thu Mar 11, 2004 11:06 am Reply with quoteBack to top

Do you 'Optimize' the database regularly?

What are page gens up to?

_________________
Read Me
Find all posts by Daniel-cmwView user's profileSend private message
Mesum
Support Staff
Support Staff


Joined: Mar 11, 2003
Posts: 842

Location: Chicago

PostPosted: Thu Mar 11, 2004 11:14 am Reply with quoteBack to top

Yeah I do optimize database almost everyday and generation time is not bad at all, between 0.5x to 0.7 when logged in as an admin and user.

_________________
Only FREE Dating site for Desis.
Find all posts by MesumView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
Daniel-cmw
Site Admin
Site Admin


Joined: Mar 02, 2003
Posts: 1662

Location: The UK!

PostPosted: Thu Mar 11, 2004 11:20 am Reply with quoteBack to top

Change your site theme and see if that helps at all. Go via Your_Account and it wont upset other users.

_________________
Read Me
Find all posts by Daniel-cmwView user's profileSend private message
alexm
Nuke Soldier
Nuke Soldier


Joined: Dec 23, 2003
Posts: 19


PostPosted: Fri Mar 12, 2004 6:33 am Reply with quoteBack to top

Mesum wrote:
People are getting very pissed off, I remember reading few posts by Pual (ZX) about speeding up forum's speed, but can't seem to find them.
Any idea guys?


I think this article is what you are looking for.
Find all posts by alexmView user's profileSend private message
steven111
Lieutenant
Lieutenant


Joined: Dec 30, 2003
Posts: 283


PostPosted: Fri Mar 26, 2004 11:32 pm Reply with quoteBack to top

If you forum gets "large", then there are quite a few ways to speed it up. Head over to www.phpbb.com and look for posts by "lanzer" http://www.phpbb.com/phpBB/viewtopic.php?t=135383&highlight=lanzer

Hope this helps. All solutions that I am pointing you to, most likely require code hacking.

You can immediately gain a good deal of performance by implementing what djmaze and I collaborated on. It is here:
http://www.nukecops.com/postlite22767-.html

steve

_________________
ezClassifieds|Forums:Auto,Mac,Job,Win,HW
Find all posts by steven111View user's profileSend private messageVisit poster's website
FJ
Nuke Soldier
Nuke Soldier


Joined: Mar 20, 2004
Posts: 12


PostPosted: Wed Oct 06, 2004 8:33 pm Reply with quoteBack to top

Daniel-cmw wrote:
Do you 'Optimize' the database regularly?

What are page gens up to?



Well this is something I had forgotten about.... Duh! I went and optomized from the admin and man there was a lot that got optomized....
My site uses the IM (site messenger) a lot, and I understand this is connected to the forums via prvt msg. So I guess this optomization clears out old deleted messages? I'm am going to make the optomization part of my regular routine.

I'm here in search of other things I should be doing to help speed up my post time. Often times it errors out because it takes so long after the submit button is hit. I get double posts, and errors a lot cuz it just sits there a lot when submit is hit. It's scarey! I'm a relative newbie to nuke admin. The optomize is the first thing I'll do. If someone can point me to the simple fixes I'd be greatful. I'm reading, and trying to absorb. SOme of the terms are new to me... I've been running nuke for less than 6 mos and by the seat of my pants... LOL It's scarey how slow it reacts tot he submit button sometimes... Thanks in advance...
Find all posts by FJView user's profileSend private messageVisit poster's websiteICQ Number
steven111
Lieutenant
Lieutenant


Joined: Dec 30, 2003
Posts: 283


PostPosted: Wed Oct 06, 2004 8:46 pm Reply with quoteBack to top

If you have shell access, then look at the timing of mysql's http://nukecops.com/postlite35644-slow+query.html

This is my one single recommendation. After viewing them for a while, you can start optimizing.

If you don't have shell acess, there is some good code that tama has posted for doing similar thing. Search for "tama slow query".

_________________
ezClassifieds|Forums:Auto,Mac,Job,Win,HW
Find all posts by steven111View user's profileSend private messageVisit poster's website
FJ
Nuke Soldier
Nuke Soldier


Joined: Mar 20, 2004
Posts: 12


PostPosted: Thu Oct 07, 2004 8:32 am Reply with quoteBack to top

steven111 wrote:
If you have shell access, then look at the timing of mysql's http://nukecops.com/postlite35644-slow+query.html

This is my one single recommendation. After viewing them for a while, you can start optimizing.

If you don't have shell acess, there is some good code that tama has posted for doing similar thing. Search for "tama slow query".


Thank you Steven. Seems you are helping everyone! I'm going to give this a try. Thanks.
Find all posts by FJView user's profileSend private messageVisit poster's websiteICQ Number
FJ
Nuke Soldier
Nuke Soldier


Joined: Mar 20, 2004
Posts: 12


PostPosted: Thu Oct 07, 2004 8:36 am Reply with quoteBack to top

steven111 wrote:
If you have shell access, then look at the timing of mysql's http://nukecops.com/postlite35644-slow+query.html

This is my one single recommendation. After viewing them for a while, you can start optimizing.

If you don't have shell acess, there is some good code that tama has posted for doing similar thing. Search for "tama slow query".



Oh I'm sorry I should ask what "shell" is. I am running the site from a server I setup on one of my machines here at home. I'm using windows 2000 pro. It all comes from my home. So I have access to everything on the system. Is this what you mean? I'm reading the thread you linked for me. Thanks again.


Oh I see the shell has to do with Unix. This is a Windows 2000 Pro system. The only way I know to access MySQL is via the admin page. I have executed scripts that give the commands for me but I've never done commands lines to the database. I'm failry good with DOS and so I could probably do the syntax properly if I knew what that syntax is. I'll read some more. I know that's my best bet. Also I'm listening...
Find all posts by FJView user's profileSend private messageVisit poster's websiteICQ Number
FJ
Nuke Soldier
Nuke Soldier


Joined: Mar 20, 2004
Posts: 12


PostPosted: Thu Oct 07, 2004 8:46 am Reply with quoteBack to top

Daniel-cmw wrote:
Change your site theme and see if that helps at all. Go via Your_Account and it wont upset other users.


I have a custom theme installed. It's a nice looking theme, but if it's going to slow down the system I'll go back to SubSilver. My users have been throwing their hands up and complaining bigtime. I'll definitely try toggling back to Sub Silver and see how it acts. Thanks for the heads up.

Oh BTW:

Since you suggest the theme might actually be slowing it down, let me ask you this (if I may): SInce you probably know what is causing this (thus your suggestion), is there anything I could do to make this nice theme I'm using act better. I'm investigating what you mention here. Thanks.
Find all posts by FJView user's profileSend private messageVisit poster's websiteICQ Number
steven111
Lieutenant
Lieutenant


Joined: Dec 30, 2003
Posts: 283


PostPosted: Thu Oct 07, 2004 10:43 am Reply with quoteBack to top

FJ wrote:
steven111 wrote:
If you have shell access, then look at the timing of mysql's http://nukecops.com/postlite35644-slow+query.html

This is my one single recommendation. After viewing them for a while, you can start optimizing.

If you don't have shell acess, there is some good code that tama has posted for doing similar thing. Search for "tama slow query".



Oh I'm sorry I should ask what "shell" is. I am running the site from a server I setup on one of my machines here at home. I'm using windows 2000 pro. It all comes from my home. So I have access to everything on the system. Is this what you mean? I'm reading the thread you linked for me. Thanks again.


Oh I see the shell has to do with Unix. This is a Windows 2000 Pro system. The only way I know to access MySQL is via the admin page. I have executed scripts that give the commands for me but I've never done commands lines to the database. I'm failry good with DOS and so I could probably do the syntax properly if I knew what that syntax is. I'll read some more. I know that's my best bet. Also I'm listening...


You can do it with Win as well. Just use winmysqladmin GUI to set the startup parameters (make changes from "my.ini" tab in), restart mysql (from the same tool), and then you can simply look at the log file from Win or from Dos.

Alternatively implement tama's solution which does not need shell access (search for tama slow query) on this forum.

_________________
ezClassifieds|Forums:Auto,Mac,Job,Win,HW
Find all posts by steven111View user's profileSend private messageVisit poster's website
FreeBee
Sergeant
Sergeant


Joined: Aug 26, 2004
Posts: 75


PostPosted: Thu Oct 07, 2004 1:33 pm Reply with quoteBack to top

The main problem is the bbwords table.
It is almost even as big as your whole forum.

It stores each and every word/numeric that gets posted by people.
So the bigger the list the slower it gets because on each post/edit it has to check your message and subject to the list and make changes.

If you drop the table the search won't work anymore Wink
Changing the search system could work but be aware that you can't INDEX KEY a TEXT/BLOB because that is limited to 500 chars unless you explicit add a KEY say: INDEX post_text(50) or something

I also think this will only work on MyISAM tables, but i have to ask DJ for that
Find all posts by FreeBeeView user's profileSend private message
steven111
Lieutenant
Lieutenant


Joined: Dec 30, 2003
Posts: 283


PostPosted: Thu Oct 07, 2004 1:51 pm Reply with quoteBack to top

FreeBee wrote:
The main problem is the bbwords table.
It is almost even as big as your whole forum.

It stores each and every word/numeric that gets posted by people.
So the bigger the list the slower it gets because on each post/edit it has to check your message and subject to the list and make changes.

If you drop the table the search won't work anymore Wink
Changing the search system could work but be aware that you can't INDEX KEY a TEXT/BLOB because that is limited to 500 chars unless you explicit add a KEY say: INDEX post_text(50) or something

I also think this will only work on MyISAM tables, but i have to ask DJ for that


First, you have to get a handle on timing. Either implement mine or Tama's sql timing system.

If your forum is big, then bbwords table could be a problem (or could be that you are missing indecis here and there, so you gotta check first). If bbword is a problem, there are some good solutions
(a) don't keep history, i.e. remove indexing for older topics
(b) only index the topic starter post, and ignor the replies
The above two solutions will give you pretty good performance without sacrificing a lot of user functionality

_________________
ezClassifieds|Forums:Auto,Mac,Job,Win,HW
Find all posts by steven111View user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.760 Seconds - 91 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::