Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: mandrav on November 30, 2005, 10:42:20 am

Title: Bandwidth limit exceeded
Post by: mandrav on November 30, 2005, 10:42:20 am
Well, it seems that we 're gaining some popularity and it caught us by surprise :)
Sorry for the inconvenience. Our bandwidth limit has been raised so it will probably be a while until this happens again ;)
Title: Re: Bandwidth limit exceeded
Post by: Michael on November 30, 2005, 10:50:02 am
Well, it seems that we 're gaining some popularity and it caught us by surprise :)
Sorry for the inconvenience. Our bandwidth limit has been raised so it will probably be a while until this happens again ;)
Thank you very much. It is good to access again http://www.codeblocks.org/ :)

Best wishes,
Michael
Title: Suggestion
Post by: rickg22 on November 30, 2005, 04:14:39 pm
How about adding some forum archives? In plain format, without bells and whistles, and only members can access the forums (or something). I'm sure most of the bandwidth is used because people read the forums rather than the website.
Title: Re: Bandwidth limit exceeded
Post by: mandrav on November 30, 2005, 05:43:02 pm
How about adding some forum archives? In plain format, without bells and whistles, and only members can access the forums (or something). I'm sure most of the bandwidth is used because people read the forums rather than the website.

Our bandwidth limit has been raised so it will probably be a while until this happens again ;)

And if need be, I 'll raise it again. So don't you worry.
Title: Re: Bandwidth limit exceeded
Post by: takeshimiya on November 30, 2005, 09:01:46 pm
Can be made a mirror if the server burns or something?

There is any special software to make a mirror?
Title: Re: Bandwidth limit exceeded
Post by: rickg22 on November 30, 2005, 09:07:39 pm
We could mirror at sourceforge. Only the main page, tho.
Title: Re: Bandwidth limit exceeded
Post by: takeshimiya on November 30, 2005, 09:33:45 pm
Why not everything?
I don't know anything on how to make a mirror.
Title: Re: Bandwidth limit exceeded
Post by: rickg22 on November 30, 2005, 10:26:34 pm
why not everything: Because the mirror and the main page would get out of sync. Remember the forums are a database system, not a set of webpages.

How to make a mirror? Just copy the files :P
Title: Re: Bandwidth limit exceeded
Post by: takeshimiya on November 30, 2005, 10:30:52 pm
I mean, automatically.
Title: Re: Bandwidth limit exceeded
Post by: David Perfors on November 30, 2005, 11:33:27 pm
I mean, automatically.
Use a script to copy the files ;)
Title: Re: Bandwidth limit exceeded
Post by: takeshimiya on December 01, 2005, 12:14:22 am
Mm, I mean some program that will check if there's changes on the page, and then copy them (pretty much like CVS/SVN does).
Title: Re: Bandwidth limit exceeded
Post by: David Perfors on December 01, 2005, 10:40:21 am
I saw the webpages in the cvs.. when they are in the svn now, it should be possible to checkout to the sf.net servers...
Title: Re: Bandwidth limit exceeded
Post by: takeshimiya on December 01, 2005, 11:12:59 am
Yes, some days ago the webpages was in SVN /trunk/web, but they are now in /web (svn://svn.berlios.de/codeblocks/web).

What I'd suggest is a cronjob in SF Shell, doing a SVN /web check-out to the SF host every 24 hours or so.
Title: Re: Bandwidth limit exceeded
Post by: David Perfors on December 01, 2005, 11:44:08 am
or only when the side is updated. when the "webmaster" commits some changes to the SVN he probably do an update to the cb.org server, so he also could do an update to the sf.net server ;) just make a script for it...
Why not every 24 hours? well, the site doesn't change that much (I think :lol:)
Title: Re: Bandwidth limit exceeded
Post by: takeshimiya on December 01, 2005, 12:09:27 pm
Well, that's another option.
The bad side is that every webmaster (Yiannis, Rick, Per, ...) will need to have direct access, know how to use, and opted-in to the SF shell services.

Note that a 24 hs. solution with a script running on SF would only do an SVN update, which is nothing if nothing changed.
Title: Re: Bandwidth limit exceeded
Post by: Urxae on December 01, 2005, 12:19:48 pm
I don't know if berlios lets people set up post-commit hooks, but if they do that would probably be part of the best solution:
If you don't trust the Berlios admins, that script may be a security risk if implemented in the most obvious way though (pwds or private keys on berlios).
Maybe have it request a php page that, when loaded, runs svn update from the site?
Title: Re: Bandwidth limit exceeded
Post by: takeshimiya on December 01, 2005, 12:38:12 pm
Yeah, that's another option, but I doubt berlios will support post-commit hooks. Who knows :)