php forum
php mysql forum
php mysql smarty
 
Page 2 of 2 < 1 2
Topic Options
#264391 - 12/13/03 10:00 AM Re: Big MySQL problem [Re: Pomegranate]
Turbosport Offline
Member

Registered: 09/08/01
Posts: 157
Loc: Kent, UK.
sorry no space netstat -na >c:\netstst.txt
_________________________
Regards
Clint

Running on WIN2003 Web Server.

Paranoid people get followed too!

Top
#264392 - 12/13/03 10:49 AM Re: Big MySQL problem [Re: groov_richmond]
Sat4all Offline
Member

Registered: 04/30/02
Posts: 151
Loc: The Netherlands
Just mailed you the results:-)
_________________________
Those who fail to read ask many questions:-)

Top
#264393 - 12/13/03 01:35 PM Re: Big MySQL problem [Re: Pomegranate]
Rick Offline
Guru

Registered: 05/11/99
Posts: 8372
Loc: Olympia, WA
That looks like a search query without a timestamp being passed to it. Do you have a custom active threads link? The search engine has changed a bit in 6.4 and if you don't use the format found in the new links for "Past 24 hours", "Past 48 hours", etc, then it's going to do a full table scan when doing the search and copy to a temp table. Essentialy it will lock the table until it's done so every other query must wait for it to be done.<br /><br />I've seen this on 2 other upgrades to 6.4, both having a custom link that points to recent posts that was not updated to the new 6.4 format.
_________________________
StogieSmokers.com

Top
#264394 - 12/13/03 02:19 PM Re: Big MySQL problem [Re: Sally]
Turbosport Offline
Member

Registered: 09/08/01
Posts: 157
Loc: Kent, UK.
why has this guy got so many connections? - 212.204.251.30 <br /> <br />You definetly have too many connections in TIME_WAIT state similer to a denial of service attack, you need to make sure these registry settings are set, you will need to reboot too. <br /> <br />Look at my attachment rename it to .reg and run it, I am sure I havnt missed anything but PLEASE check the technet site before appling it and make sure YOU are happy with the settings. <br />


Attachments
101841-dosprotec.txt (11 downloads)

_________________________
Regards
Clint

Running on WIN2003 Web Server.

Paranoid people get followed too!

Top
#264395 - 12/13/03 02:38 PM Re: Big MySQL problem [Re: groov_richmond]
Turbosport Offline
Member

Registered: 09/08/01
Posts: 157
Loc: Kent, UK.
BTW I think the TIME_WAIT connections is only compounding the main issue. Win2k will leave a connection like tis for 2 hours (7200000), I have mine set to 2.5 mins (150000)<br /><br />heres a good technet link look at appendix A<br /><br />http://www.microsoft.com/technet/treevie...ovg/tcpip2k.asp
_________________________
Regards
Clint

Running on WIN2003 Web Server.

Paranoid people get followed too!

Top
#264396 - 12/13/03 04:25 PM Re: Big MySQL problem [Re: groov_richmond]
Sat4all Offline
Member

Registered: 04/30/02
Posts: 151
Loc: The Netherlands
212.204.251.30 is another (small) site running a phpbb on the same server (different database).<br />I do not have a custom link to recent posts. We do have a custon header and a custon unregisterednav.tmpl and a registerednav.tmpl. Would you mind having a closer look at my database Rick when I send you my phpmyadmin password via e-mail?<br />I have the feeling it must be database related. I have tried all other options with the help from Clint.<br />I am getting pretty desperate since all visitors are starting to complaint about the slow responce of the server.<br /><br />Regards,<br /><br />Ron.
_________________________
Those who fail to read ask many questions:-)

Top
#264397 - 12/13/03 05:10 PM Re: Big MySQL problem [Re: Pomegranate]
Rick Offline
Guru

Registered: 05/11/99
Posts: 8372
Loc: Olympia, WA
Actually looking a bit closer on that. That looks like a general search. That's one thing that we are going to need to change is the fact that right now if a user does a generic search it pretty much does scan through all rows in the post table and that can create this issue. But, this is the way .threads has been from the beginning so it shouldn't be a new issue. We probably will need to start building a search index table in an upcoming version to improve the search speed.
_________________________
StogieSmokers.com

Top
#264398 - 12/14/03 04:24 AM Re: Big MySQL problem [Re: Sally]
Sat4all Offline
Member

Registered: 04/30/02
Posts: 151
Loc: The Netherlands
Ok, but that is not dragging my server down is it?
_________________________
Those who fail to read ask many questions:-)

Top
#264399 - 12/15/03 05:29 AM Re: Big MySQL problem [Re: Pomegranate]
Sat4all Offline
Member

Registered: 04/30/02
Posts: 151
Loc: The Netherlands
Well I have filed a support ticket at infopop, because even with all the help I got here, the problem is not solved.<br />I think there is something wrong with the threads database since the other board runnng on the same server (phpbb) does not have the same problems.<br />I think it must be upgrade 6.3 -> 6.4 related.<br /><br />Regards,<br /><br />Ron
_________________________
Those who fail to read ask many questions:-)

Top
#264400 - 12/17/03 05:56 PM Re: Big MySQL problem [Re: Pomegranate]
Sat4all Offline
Member

Registered: 04/30/02
Posts: 151
Loc: The Netherlands
Infopop fixed the problem yesterday:-) <br />It turned out to be a problem with some sort of table wich was not converted properly when upgrading to 6.4. <br />This resulted in the search engine to do searches thrue the entire database (270MB) and that dragged the server down. <br /> <br />Ron
_________________________
Those who fail to read ask many questions:-)

Top
Page 2 of 2 < 1 2


Who's Online
0 registered (), 28 Guests and 9 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
How to hide sub forums from summary page
by blaaskaak
Today at 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks