Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Oct 2001
Posts: 213
Member
Member
Offline
Joined: Oct 2001
Posts: 213
I chimed in on a few threads about 6.4.1 performance issues, I won't rehash that here except to say our forums were dead slow off and on. The past few weeks, we had to stop and restart MySQL every 12-18 hrs to clear out the processes as well.

I got great help from Jeremy's thread on Let's Tune MySQL in the MySQL forum here. Rick really stuck it out with us and was very patient and helpful.

Anyway, to get our 6.4.1 forums flying again, here's what I discovered.

First, log-bin was in our my.cnf. This writes every transaction to a flat file on disk - great for restoring in a disaster, terrible for server performance. Once removed, we got an immediate lift in the forums and on the server.

Second, 6.4.1 IMHO is very sensitive to a properly tuned my.cnf. Our 6.3.2 forums screamed w/ a near-stock my-large.cnf. In short, using Jeremy's thread to tweak ours, I solved the locked tables problem and significantly reduced server overhead. It required some experimenting with the key parameters in the file, but in the end it was time well spent. And I learned a lot.

Finally, we have another program bouncing against MySQL, phpAdsnew. The config of this program + bad entries in our my.cnf was causing MySQL to spawn new processes constantly and eventually hang. After reading up on this program and getting admin access, I found it had been configured to use persistent connections and there was no timeout on them. I disabled persistent connections Monday night, restarted MySQL, and our performance is as good as ever, server overhead is very low, and the MySQL stats are in that sweet spot.

So, thanks again Jeremy and especially Rick! and if anyone else is having problems with this version, you really need to use Jeremy's thread and understand your my.cnf and what's happening on your server.

(And now we are on 6.4.2, got our stickies fixed, and couldn't be happier!)

joe

Sponsored Links
Entire Thread
Subject Posted By Posted
How we solved 6.4.1 performance issues (long) little_joe 03/27/2004 12:47 AM
Re: How we solved 6.4.1 performance issues (long) AllenAyres 03/27/2004 1:10 AM
Re: How we solved 6.4.1 performance issues (long) coloradok5 03/27/2004 1:23 AM
Re: How we solved 6.4.1 performance issues (long) little_joe 03/27/2004 3:29 AM
Re: How we solved 6.4.1 performance issues (long) coloradok5 03/27/2004 4:06 AM
Re: How we solved 6.4.1 performance issues (long) donJulio 03/28/2004 8:14 PM
Re: How we solved 6.4.1 performance issues (long) JoshPet 03/28/2004 11:21 PM
Re: How we solved 6.4.1 performance issues (long) little_joe 03/29/2004 3:18 AM
Re: How we solved 6.4.1 performance issues (long) coloradok5 03/29/2004 6:27 AM
Re: How we solved 6.4.1 performance issues (long) msula 03/29/2004 5:04 PM
Re: How we solved 6.4.1 performance issues (long) RandyJG 03/30/2004 2:44 AM
Re: How we solved 6.4.1 performance issues (long) coloradok5 03/30/2004 10:00 PM
Re: How we solved 6.4.1 performance issues (long) coloradok5 03/30/2004 10:44 PM
Re: How we solved 6.4.1 performance issues (long) msula 03/30/2004 11:37 PM
Re: How we solved 6.4.1 performance issues (long) coloradok5 03/30/2004 11:53 PM
Re: How we solved 6.4.1 performance issues (long) little_joe 03/31/2004 4:36 PM
Re: How we solved 6.4.1 performance issues (long) coloradok5 04/01/2004 10:53 PM
Re: How we solved 6.4.1 performance issues (long) msula 04/02/2004 5:15 AM
Re: How we solved 6.4.1 performance issues (long) coloradok5 04/02/2004 6:35 AM
Re: How we solved 6.4.1 performance issues (long) little_joe 04/03/2004 2:09 AM
Re: How we solved 6.4.1 performance issues (long) navaho 04/05/2004 11:09 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)