hello forums!

Announcements about changes to the forums will be posted here. Also for suggestions and requests for technical assistance, etc.
Forum rules
Please read the Forum rules and policies before posting.
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

hello forums!

Post by beowuuf »

*hug* i've missed you!

umm, i mean...

*runs*
Last edited by beowuuf on Thu May 27, 2004 2:33 pm, edited 2 times in total.
User avatar
cowsmanaut
Moo Master
Posts: 4378
Joined: Fri Jun 30, 2000 12:53 am
Location: canada

Post by cowsmanaut »

yeah 1.53 gigs on PHP alone!!! already this month. add to that avatars and forum skins we went a little too easily over my 2gig limit.

I don't know what to think of all this.. it means increased reading of the forums from various different locals. Means we're popular.. but it also means that I've been going up a gig per year in traffic. And that comes from my pocket now :/

not sure how to fix this.. we're now set to 3gigs this month and I've just paid however much extra to get the extra gig.

hmmm...

what to do.. if it were just images that were the issue I can deal with that. Force people to host their own avatars. Limit the number of skins on our forums to just one or two styles.. make sure they are more barren.. but it's not the images taking the bulk.. its the PHP.. how the heck do I get around 1.53gigs of PHP in 24 days??

moo
User avatar
Gambit37
Should eat more pies
Posts: 13715
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

Yeah, it's a problem once you become popular!

You said that you just paid for the extra space, but aren't you moving the forums somwehere else anyway? How does the payment affect the move? You could perhaps add a PayPal Donate button to the forums -- I'm sure many people here would be happy to pay to keep the forums up -- I know I would, and I contributed quite a lot to the RTC ezBoard forums (In fact, there's still $20 of mine locked in there that was never used, but I digress...) ;)

There's not a lot we can do about the size of the PHP. But the big new shiny version is supposed to make it more compact and also the styling is simpler and cleaner. But when?? Been waiting for this for I don't know how long!

Just looking at the stats, there is 66MB of not viewed traffic. (Not viewed trafic is trafic generated by robots, worms or answers with special HTTP status code). An 'Unknown' Robot has used 35MB of our allocation, and Alexa has used 23MB!!! Google 'only' used 5MB. By adding a robots.txt file and limiting the ability of search engines to spider the pages we could cut these right down, but it will mean that content of threads won't appear in web searches -- just the front page. I'll look into it.

57% of visits are for less than 2minutes. A lot of people are coming to the site just for a few seconds to see if there's any new posts. Great for popularity, hell for bandwidth! I wouldn't want to ask people to come less frequently though!

280MB is jpgs/gifs. There may still be a fair amount of work that can be done on compressing these (though quality will suffer, Cow!) Again, I can look into this. There was 1 hit on a BMP file -- what on earth is that? The PHP generated 1.53GB. I'll see if there's anything that can be done about streamlining it a bit. I seem to recall Chronicles and Subsilver embed their stylesheets which would make the index page a lot bigger. I'll check it out. You're right too, we could limit the styles used.

I noticed that the viewtopic.php and posting.php pages are the largest on average. We could edit the posting page to remove the IFRame that contains the thread your replying to. This might help. But it does mean that you can't refer to previous posts directly when composing your reply (and I do that all the time!). Other small changes coud be made, such as removing less used columns from certain pages, such as 'No of times viewed' etc. If nobody really needs those, it might help reduce the generated HTML a bit.

On average, Mondays seem to generate the most traffic, which is a bit odd. May 24 was 212MB of data transfer alone, the highest this month. Busiest times are between 4pm-8pm GMT.

There are a few small things that could be done. You can see now why I delete needless quoting!
Last edited by Gambit37 on Wed May 26, 2004 1:25 pm, edited 1 time in total.
User avatar
ChristopheF
Encyclopedist
Posts: 1538
Joined: Sun Oct 24, 1999 2:36 pm
Location: France
Contact:

Just an idea...

Post by ChristopheF »

The "Quick Links" drop down list is present on every page of the forum. Its size is around 3330 bytes.

Looking on the statistics access of this site, I see that in May 2004, about 53225 pages have been viewed already (and the month is not finished)

So it represents 53225 * 3330 bytes, which is around 170 MB

So removing these links from the forum pages and putting them on the main home page only can reduce trafic.
Another way would be to put them in an external file (a javascript) that could be cached by client browsers and just leave a function call in place of the full list in the php forum page.

We can also try to optimize the pages by removing all the useless spaces, tabulation and carriage returns they contain.
There are tools that can perform such work automatically on lots of pages. They become far less readable, but you can have huge improvements in bandwidth.

You told that you wanted to switch to another provider, will you have the same bandwidth limits there?
User avatar
Gambit37
Should eat more pies
Posts: 13715
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

Good idea about the quick links too, I can implement that straightaway. It's actually part of the main header for the forum software, which is rendered on every page, but would be easy to make external.

Also, I'm looking at the template code as we speak. A lot of the background stuff could also be called from Javascripts, but I would have to hard-code some of the phpBB parameters which means that you can't edit the theme using the Admin panel. I doubt this matters though -- don't think anyone else looked at the theming except me!
User avatar
andyboy_uk
On Master
Posts: 647
Joined: Thu Feb 20, 2003 1:51 am
Location: London, UK

Post by andyboy_uk »

Ive noticed a lot more people on here recently, its nice to be popular.

Id certainly get yourself a paypal for keeping it online. 2gigs are very impressive.

Glad to see you back
Regards,

Andy
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

What can we, as users, do to limit our bandwidth usage anyway?
User avatar
Gambit37
Should eat more pies
Posts: 13715
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

An interesting question. It depends on how you use the forums currently. If you tend to click the "Dungeon-Master.com Forum Index" link a lot to get back to the front page, that increases the amount of data downloaded, as each time the index page is updated with your list of read/unread posts, it refreshes the php generated HTML. You could perhaps get in to the habit of using your browser's back button more, so that you're not continually loading a fresh page. But this can get confusing, as you the icon indicators are then lying to you....

Also, when you post a message, you are normally automatically taken back to your post. This is kind of unnecessary too, and adds to bandwidth usage. Perhaps we could change this bit of code so that the auto thing doesn't work?

I dunno -- I'm not keen on limiting users navigation options. I would prefer to make some of the changes I listed above.
User avatar
Gambit37
Should eat more pies
Posts: 13715
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

I've added a robots.txt file which disallows indexing of everything from the root, except the homepage and the homepage of the forums. This shopuld mean that www.dungeon-master.com and www.dungeon-master.com/forum/ will still be indexed by search engines, but nothing else.

It'll take a few days if not weeks to see any effect.
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

interesting - i tend to use the back button alot and also interrupt the auto-load of the typed message to keep navigating
Of course, i also visit a hell of a lot, so don't feel as smug : (


Also, i imagine the chroniclas skin is a larger drain since it has the spellbook icons and the textured green background
User avatar
Gambit37
Should eat more pies
Posts: 13715
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

I got the Chronicles images folder down from 157Kb to 67.9KB using quite a bit of image compression. Not ideal, but I don't think most people will notice the difference in quality, but this could make a fair difference to the overall download rate. SubSilver and CodexDark are already pretty well optimised, not really worth making further gains there. I got the CodexDark style sheet down from 10.6k to 7.7K just by taking out extra spaces,tabs,retruns and comments. I also reduced the DM Java avatar pics folder from 118Kb to 39Kb.

I've also changed the quicklinks to use an external javascript file as Christophe suggested.

Any comments on the other suggestions I made at the top?
User avatar
ChristopheF
Encyclopedist
Posts: 1538
Joined: Sun Oct 24, 1999 2:36 pm
Location: France
Contact:

Post by ChristopheF »

Gambit, I'd prefer to keep the IFrame on the posting page, I find it very useful.
Maybe we can try to optimize the viewtopic.php and posting.php pages by removing all the unnecessary spaces and crlf from them.
User avatar
Gambit37
Should eat more pies
Posts: 13715
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

Yes, I agree, I find it useful so I'd like to keep it too.

It's worth pointing out that subSilver is the 'lightest' skin in terms of data transfer, so if everyone used that one, it would help. We *could* force it as the only skin if it really came down to it...
User avatar
sucinum
Pal Master
Posts: 872
Joined: Wed Apr 18, 2001 1:00 am
Location: Karlsruhe, Germany
Contact:

Post by sucinum »

hmhmhm - i got 20 gb traffic für 3€ in my webspace-packet. is that more expensive elsewhere?
1 idea here: a quick-answer-field, that's a phpbb-hack which allows to answer without having to hit the reply-button, this could safe a bit of bandwith and would also add to comfort.
http://www.phpbbhacks.com/viewhack.php?id=540
http://www.phpbbhacks.com/viewhack.php?id=522
http://www.phpbbhacks.com/viewhack.php?id=586
another maybe useful hack:
http://www.phpbbhacks.com/viewhack.php?id=1548
another thing i stumbled across (nothing to safe bandwidth, though, sounds still useful):
http://www.phpbbhacks.com/viewhack.php?id=424

i didn't check if the hacks a compatible with the actual board-version and maybe you got the idea to look there by yourselves already... ;)
hope i could help :)
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

oops, by chronicles i meant darkcodec, which i miss - i've already swapped to subsilver : (, but it's not the same!
User avatar
cowsmanaut
Moo Master
Posts: 4378
Joined: Fri Jun 30, 2000 12:53 am
Location: canada

Post by cowsmanaut »

well, I plan to be moving these forums soon yes.. and my paying has no effect on that. However, if the forum had steady support then it's possible that we could do away with extreme limitations we are looking at and not need to suggest people like fuzz face here should skimp on their enjoyment of the forums so I can keep bandwidth down.

In addition to that.. the plans I had hoped to address in the future such as uploading maps and sounds etc... for DM could be done as well.


I need to discuss it with Craig and perhaps even ZPC (if you're reading.. what was that deal you were offering again?) with regards to space and bandwidth.

My issue is responsibility for the forums staying up.. and currently they've been down a few times. I hate it when it happens since I'm the one who convinced you all to bring everything here.. So for every minute to day to week it might be down I feel absolute crap for it. So, I need to be sure we have space, bandwidth, and reliablitiy...

Which is why I'd like to go with someone I know.. who has their own server.. so I can contact them directly if there is an issue.

moo
User avatar
Gambit37
Should eat more pies
Posts: 13715
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

Hey, thanks sucinum for those links. The quick reply hack could be very useful, I'll look in to that.

Fuzzface, I tried subSilver again, and you're right, it doesn't feel right! Don't let the discussion force you to change. I'm sure we can sort things out.
User avatar
cowsmanaut
Moo Master
Posts: 4378
Joined: Fri Jun 30, 2000 12:53 am
Location: canada

Post by cowsmanaut »

yeah, he dropped his avatar too.. sO I snuck in and changed him back to dark codex and gave him his avatar back.. (oops.. shhhh.. here he comes.. shhhh)

:)
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

LMAO!

i thought i was going mad, since it worked last night yet was back at work this morning...i kept my avatar since it was offsite, but changed back to sub-silver!
can you view bandwidth usage of a person? i'd be interested to see how much gets used with this rather than not in a normal few days browsing
User avatar
cowsmanaut
Moo Master
Posts: 4378
Joined: Fri Jun 30, 2000 12:53 am
Location: canada

Post by cowsmanaut »

Bah.. ya crazy fuzzball. Don't deprive yourself. I'm not setting you to rations just yet.

I want to try to arrange something more amiable to everyone something that can satisfy the needs of the community and keep me from collecting pocket lint in my wallet.

moo
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

lol, no, that' it, i'm going to not surf here for a week to conserve bandwidth!

ok, or maybe it's because i'm doing other things for most of this weekend and next week...shh, don't tell anyone, it will set an example!
User avatar
Lunever
Grand Druid
Posts: 2712
Joined: Thu Feb 14, 2002 4:47 pm

Post by Lunever »

Ok, I will host my avatar myself.

Please, do not remove automatic return to the topic you've posted to, I like to see confirmed that my post is properly posted.

Please do not remove viewtopic, I find it very useful.

Please do not remove chronicles, for a site devoted to an rpg I find it much more atmospheric than ugly subsilver.

Yes, please do add a paypal button.

Cows: Since we do not have a paypal button yet, I will contribute something along with the payment for the Chaos figurine when you have mine ready for shipping.
Parting is all we know from Heaven, and all we need of hell.
User avatar
cowsmanaut
Moo Master
Posts: 4378
Joined: Fri Jun 30, 2000 12:53 am
Location: canada

Post by cowsmanaut »

___________________________pages_HITS__Bandwidth___LASTVISIT________

msnbot64061.search.msn.com 12245 12245 621.19 MB 29 May 2004 - 05:47
msnbot64062.search.msn.com 10556 10556 577.84 MB 27 May 2004 - 12:45


uh.. this is over a gig of traffic from these two bots.. can we block THESE two?
User avatar
JCG
Mon Master
Posts: 1009
Joined: Sat Sep 01, 2001 3:32 pm
Location: France

Post by JCG »

cowsmanaut wrote:___________________________pages_HITS__Bandwidth___LASTVISIT________

msnbot64061.search.msn.com 12245 12245 621.19 MB 29 May 2004 - 05:47
msnbot64062.search.msn.com 10556 10556 577.84 MB 27 May 2004 - 12:45


uh.. this is over a gig of traffic from these two bots.. can we block THESE two?
Yeah ! Good idea, since therea are probably also looking for email addresses to spam.
User avatar
Lunever
Grand Druid
Posts: 2712
Joined: Thu Feb 14, 2002 4:47 pm

Post by Lunever »

Gambit: I've uploaded my avatar gif that Cows had made for me to my own site ( http://lunever.bei.t-online.de/daten/lunever.gif ), but although it is the same file that I had downloaded from the site where Cows had hosted it before, the profile now complains "The avatar must be less than 80 pixels wide and 80 pixels high" and I didn't save the link where Cows had it hosted before. I suppose some forum parameter has changed somehow. Can you adapt the file so it will work again as an avatar?
Parting is all we know from Heaven, and all we need of hell.
User avatar
Gambit37
Should eat more pies
Posts: 13715
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

Let me know when you've grabbed this one, and I'll delete it:

http://www.dungeon-master.com/forum/ima ... ever2a.jpg
User avatar
cowsmanaut
Moo Master
Posts: 4378
Joined: Fri Jun 30, 2000 12:53 am
Location: canada

Post by cowsmanaut »

keep it there.. we have all the other icons on here.. if he want's to host it himself he can and if he has problems it's here too.. Sorry about that Lunever.. I was going to do that and forgot. Thanks Gambit

Also.. about those bots.. can they be blocked?

moo
User avatar
Gambit37
Should eat more pies
Posts: 13715
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

I put a robots.txt file at the root which should stop all bots from recursing the entire site, so hopefully, yes. But I'm no expert at this and may have done something wrong. Will have to wait and see if it makes a difference.
User avatar
cowsmanaut
Moo Master
Posts: 4378
Joined: Fri Jun 30, 2000 12:53 am
Location: canada

Post by cowsmanaut »

I really hope so.. the other ones you mentioned were like 50 megs max.. but this is a friggen GIG. Leave it to MSN to totally bend this site over and have it's way with it. :P
User avatar
Gambit37
Should eat more pies
Posts: 13715
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

The msn data you looked at isn't bots, but in fact hosts (ISPs). That list shows how much data is transferred to users connected through that ISP. So you don't need to worry about it.

Encouragingly, the robots.txt file is getting successful hits already -- assuming I did it right, we should monitor June and compare it to May to see what the difference is. I'll keep the data for comparison.

EDIT: I have just looked at the latest logs using software called Nihuo WQeb Log Analyser (free for 30 days). Unfortunately, our host only keeps raw logs for 1 day, so I can only look at stats for Sunday/Monday.

It's interesting though, as I discovered that Tymaul's avatar that he's using in the Dungeon-Maker forums links here, and some chap on a German forum is linking to your Linflas avatar. Also, another problem is that Google's cache links to images here and that also steals our bandwidth as it's piped through their systems.

I can do the following if you wish:

1) Prevent remote image linking
2) Request that any pages from this site be purged from Google's cache. This takes a couple of weeks to be fulfilled.

This software is more detailed. It also tells me that someone in Zimbabwe has used the most bandwidth. Further investigation shows me that it's not infact Zimbabwe but part of the RIPE network, and it's in the range of numbers assigned to a French host/registrar called Proxad, who own the free.fr host.

There's lots more info like this available. Would take some time to analyse it in detail. What would be very useful is if we could get a months worth of raw logs to view, rather than the processed logs that we can only view using cpanel.
Post Reply