City Builder Games Forums
May 21, 2012, 04:49:50 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: CityBuilderGames.com is a gaming community made up of city building game enthusiasts that love such games as SimCity 4, Cities XL 2011, Anno 1701 and Anno 1404, all of the Tropico series of games and more.

Come discuss your favorite City Building game in our message forums that we have setup for all of the games listed above and so many more.  Registration is free and only takes a couple of minutes.
 
  Home   Forum   Help Search Login Register   *
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 21, 2012, 04:49:50 PM

Login with username, password and session length
Towns




Download game today
Die prematurely tonight!
Recent Topics
[May 21, 2012, 01:54:59 PM]

[May 20, 2012, 02:31:13 AM]

[May 19, 2012, 06:17:35 PM]

by aws
[May 17, 2012, 04:29:00 PM]

[May 17, 2012, 10:20:01 AM]

[May 17, 2012, 09:36:39 AM]

[May 16, 2012, 05:51:56 PM]

[May 15, 2012, 06:30:46 PM]

[May 14, 2012, 10:06:51 AM]

[May 14, 2012, 09:25:32 AM]
Click the plus on this block if you did not receive your activation email when registering on this site
If you registered for membership on this site but have not yet received the confirmation activation email, there are 3 main reasons.

1. It ended up in your junk or spam folder, please look there to see if it's in there.

2. You did not enter your correct email address.  Please register with a new username and the correct email address and try again.

3. Your IP address and or your Email Address is listed in the Stop Forum Spam (spam protection) database as a known spammer and when either your IP address and or your email address appears in that database, your account can not be approved.  As such if you are a spammer, please move along, our community is too small for you to bother with.  If you are NOT a spammer, contact the owners of Stop Forum Spam and get your information removed from their database and register a new account.
Permissions

Members
Total Members: 3188
Latest: Lukeseth
Stats
Total Posts: 28980
Total Topics: 2467
Online Today: 37
Online Ever: 273
(March 26, 2011, 05:00:14 AM)
Users Online
Users: 1
Guests: 30
Total: 32
CityBuilderGames.com! When you need a break from games of destruction, come here to discuss games of construction!

No matter the name of the game, we've got you covered here at City Builder Games.  Forums, downloads and much more are awaiting you here at the Citybuildergames.com

Pages: [1]   Go Down
  Print  
Author Topic: Post text removed from notifications temporarily.  (Read 575 times)
0 Members and 2 Guests are viewing this topic.
City Builder
City Governor
Governor
City Mayor
*****

Reputation: +57/-770
Offline Offline

Gender: Male
Posts: 5859


-=R.I.P. Weston=-


WWW
« on: May 13, 2008, 03:29:12 PM »

Hi Gang,
In an attempt to still try to figure out what is causing the excessive database table row reads across all of our sites (CivCity: Rome, cbg, mgf etc) I have *temporarily* turned off the ability to receive the post text in the subscription notifications.  I can't be certain but I must try everything possible to see what is causing the high table consecutive read problems which I believe (as does our web host) is slowing down all the websites on our account.

I do know that if a particularly long thread (as we have many of them here as you all know) has all the members subscribed to it, the way that it works is that it reads the tables in the database before sending out each notification so that it can send the post text (the text that appears in the new message) which for particularly long threads with many subscribers can really contribute to some hefty overhead on a shared hosting account (Im really starting to dread having given up hosting them from my own home office but.....) so anyway, over the next few days I will be watching our mysql server stats and seeing if they are still growing in the troubled areas, if they do then I know it's not this option that I've temporarily turned off and can turn it back on and look elsewhere.

I do realize how much of a pain in the butt it is to get a subscription notification minus the actual post text and just a link to direct you to the site to read the new content so I do apologize in advance for that, but rest assured if this is not the problem then I can turn it back on and it will be business as usual and if it is the culprit then I can contact the software developers and see if they can come up with a solution for it.

I'll keep you updated as I know more.
CB
Logged

"Meat is Murder" - tasty tasty murder!


-= RIP Weston =-
Nov 26, 2005 - July 15, 2010
MaxBeta
City Mayor
******

Reputation: +27/-0
Offline Offline

Gender: Male
Posts: 4321



« Reply #1 on: May 13, 2008, 03:54:55 PM »

 Thumbs Up  Whatever you need to do CB.. hope it works.

I might suggest one solution I found was Archiving threads to read only if they were having a birthday and not vital to being bumped up into activity any longer.  I chose to remove the emo's and images too.. every little bit helps..   Smiley Blink
Logged

Max
City Builder
City Governor
Governor
City Mayor
*****

Reputation: +57/-770
Offline Offline

Gender: Male
Posts: 5859


-=R.I.P. Weston=-


WWW
« Reply #2 on: May 13, 2008, 04:19:13 PM »

Thanks for the suggestions. I don't dare remove any more images and attachments that's for certain.  I remember the one user that complained (back when the sites were first switched over to a "professional" hosting firm) and I accidently removed attachments that were over 160 days old instead of 360 days old and I got an earful.  Thanks to all that came to my rescue however, and there were many from my recollection.

I've been wondering however if archiving threads that havn't been active in xxx days would do me any good, I mean they would still be readable so they would could still constitute a read on the database table, but something else that has come to mind actually is to put some sort of limiter on thread post length.  In the sense of saying xxx is the maxiumum amount of posts that can be in any one thread.  So we don't get threads that have 300 messages in them because we all know what kind of chatty kathy's and chatty steves we can all be around here with our loose structure and how a thread might wander off into it's own little world for a while and add an extra 50 messages and then return to the subject at hand, then wander again and finally end up with 300 messages in it.

Yesterday I limited the amount of messages to show on each threads page to either 10 or 15 down from about 25 or 30, so that there wouldn't be so many sequential reads from the messages table for each page load, which should also make loading the pages a bit faster if the mysql server is bogged down.  Interesting to me anyway, I found their mysql server heavily backlogged the other week which made me think it's purely the hosts ineptitude at running a hosting business that is causing the sites to be slower to load, produce time out errors etc, but they did acknowledge that the server was going through a backlog of requests that all came in at the same time, so it's not like they tried to deny anything.

There was one gal around here that runs her own hosting service and I'll bet she'd know what to do if I told her which stats are "extremely" high in the mysql server but she hasn't logged on here in ages.  What was her name again?  Hmmmm, she still might be listed as the mod for the Children of the Nile forums if I didn't remove her for inactivity which me being lazy is quite likely never to have happened.

All I do know is they tell me that the two items in question should normally show a reading of "0", and for our account it now shows 50M and 1256M which is huge and I can't imagine what is causing it unless it's been slowly building and building to the point it's at today and then adding 12 or 13 extra forums and doing extensive admin functions in them could have thrown it over the top in numbers.  I'll have to see if she's still around and see if I can pick her brain a bit.  At one time I offered to give her the CivCity: Rome website figuring she could host it, and it wouldn't cost her anything on her own servers and maybe even make some money from it, but never heard anything back, hmmmm go figure.  She use to be real active too.

Anyway, let's see how this goes for now.  Thanks again for the suggestions, you know when I ran these sites on my own server I had full resources of the system so it never bogged down, of course the couple  (ahem, dozen or so, ahem) times that I managed to kick the electric plug out of the wall or our business class internet service went down was just about to kill me and the sites but we perservered, but going back to paying a bit more than double our current isp bill is a bit daunting at the moment.  Oh well.... Lets see what happens with this.  This might also be causing a backlog on the smtp server which might be why Lynkk got 10 activation messages all at once, for the mgf site.  And I think the host runs the smtp and pop and web from the one server and the mysql from a seperate server, however at last count they've got something like 50 or more web servers which means just as many mysql servers too since they are not any fly by night organization.  Where as I was able to run the web, smtp, pop and mysql on one server but when all the resources belongs to one base it's not hard to do.

Ok, chatty steve here signing off again.

Update MHBrands, that was/is her name.
Logged

"Meat is Murder" - tasty tasty murder!


-= RIP Weston =-
Nov 26, 2005 - July 15, 2010
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 1.073 seconds with 27 queries.

Google visited last this page May 12, 2012, 03:37:16 PM