vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Big Board Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=172)
-   -   Browsing is fast; posting slow - what size does replicatin make sense? (https://vborg.vbsupport.ru/showthread.php?t=151415)

moondragon13 07-05-2007 10:04 AM

Browsing is fast; posting slow - what size does replicatin make sense?
 
Hello,

I am starting to experience a lag (10 seconds or more) in posting on my forum and I believe it could be due to the amount of traffic at a given time that is on the server trying to post messages. Browsing the forum is quick and most pages load in the time it takes to verbally say "1 - 1,000" so about a second to 2 seconds top.

In your experience at what level do you start to see a need to have two databases? One for inserts and the other for the select queries?

I am running MySQL 4.1.20 and will be upgrading to MySQL 5 soon. Will this help?

orban 07-05-2007 11:30 AM

Request server optimization over at vb.com in the server forum before you do anything at all.

moondragon13 07-05-2007 01:39 PM

orban,

Thanks for the reply. I will look into that. I can say that my Hardware should more than handle it. A Dell 6650 with 6GB ram and 4 multi-threaded CPUs with multi-threaded apache installed. I am going to move the db to its own machine this week too.

I had vB 3.0 two weeks ago with no problem. Upgraded to 3.6 and the problems started. Is there more overhead now in 3.6?

orban 07-05-2007 01:44 PM

Oh wow?!

How many users online and how many posts do you have? That's a crazy machine

moondragon13 07-06-2007 06:41 AM

orban,

Not enough to make this machine sweat but all my users are complaining and I agree with them. It can take 30 seconds to post a message and it has to be MySQL related.

I have about 1.8 million post. On a peak 300 - 400 users.

I have requested support at vB.com and no answers yet.

orban 07-06-2007 11:23 AM

moondragon, you can run 300-400 users on a much much much smaller machine. Also how large is your db?

There is absolutely no need to move to a two machine setup for these numbers.

moondragon13 07-06-2007 05:59 PM

orban,

I agree 100%, you wouldn't believe the complaints I am getting now though. I will PM you the URL to see if you see the same "slowness" they are talking about.

My db is about 750MB.

Yellow Slider 07-06-2007 06:14 PM

I'm experiencing slowness too, my DB is 920 MB and the DB collection is UTF8,
i've installed xcache+xcache modofication and it helped a little, also the template cache plugin, try those..

which plugins do you have installed?

moondragon13 07-06-2007 06:18 PM

Quote:

Originally Posted by Yellow Slider (Post 1284551)
I'm experiencing slowness too, my DB is 920 MB and the DB collection is UTF8,
i've installed xcache+xcache modofication and it helped a little, also the template cache plugin, try those..

which plugins do you have installed?

Zero, I stripped them all to send vB a support ticket. Things seem to be running better now that I have MySQL 5

mtlcore 07-06-2007 06:38 PM

I would love to browse your site sicne you mentioned it is running on a beast-like machine.

Farcaster 07-06-2007 09:09 PM

Offhand, have you tried disabling the option "Automatic Similar Thread Search?" It might help to look at the queries running as well in debug mode to see where the hold up might be.

orban 07-07-2007 01:09 PM

Do you have any news? Have you managed to set up slow query log?

moondragon13 07-07-2007 06:21 PM

Quote:

Originally Posted by orban (Post 1285170)
Do you have any news? Have you managed to set up slow query log?

orban,

I have this in the my.cnf file:

[mysqld_safe]
log-error=/var/log/mysqld.log
log-slow-queries=/var/log/mysqldslow.log
pid-file=/var/run/mysqld/mysqld.pid

But it hasn't logged the slow queries and I am showing 8 slow queries now. The good news is I've done some more MySQL tweaking with help from a MySQL focused forum and it seems to be helping. Will keep everyone updated.

orban 07-07-2007 08:25 PM

You aren't swapping by any chance are you?

mtlcore 07-08-2007 12:57 AM

Hey bud, it's still running slow.


All times are GMT. The time now is 03:12 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01132 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete