Chunky by FelipeFS
Chunky by FelipeFS
GPWiki.org
It is currently Thu Oct 30, 2014 3:51 pm

All times are UTC




Post new topic Reply to topic  [ 203 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10, 11  Next
Author Message
 Post subject: Re: Site Refresh
PostPosted: Sat Jan 04, 2014 8:08 pm 
Bibliotherapist
User avatar

Joined: Wed Nov 03, 2004 1:28 pm
Posts: 7114
Location: Wilts, Englandshire
OK Pieman, the tutorial template is fixed. There's probably plenty of URL related issues in the Wiki. Please keep an eye out for them.

_________________
10 PRINT "Bad Monkey ";
20 GOTO 10


Top
 Profile  
 
 Post subject: Re: Site Refresh
PostPosted: Sat Jan 04, 2014 10:58 pm 
Digerati

Joined: Thu Sep 09, 2004 1:17 pm
Posts: 1816
Location: burrowed
Codehead wrote:
Oof, another outage today. 90+ IPs, all PHP workers going flat out again. :\


yeah the site was inavailable for a good couple hours. :(

_________________
Long pork is people!

wzl's burrow


Top
 Profile  
 
 Post subject: Re: Site Refresh
PostPosted: Sat Jan 04, 2014 11:38 pm 
Ankle Nibbler
User avatar

Joined: Tue Sep 25, 2012 12:57 pm
Posts: 142
Location: Adelaide, Australia
Yeah that meta viewport is correct, goes into HEAD.

What is the setup? I'm guessing nginx + php-fpm + mysql? I use that on 2x 2G linodes for our largest site at work and it does 400k pageviews a day so you should have plenty of steam. I can give any advice if you want but not at the moment because I am on my phone.

_________________
Chaotic Rage - a fast paced, shooter game that's a little odd, but still fun.


Top
 Profile  
 
 Post subject: Re: Site Refresh
PostPosted: Sun Jan 05, 2014 8:04 am 
Bibliotherapist
User avatar

Joined: Wed Nov 03, 2004 1:28 pm
Posts: 7114
Location: Wilts, Englandshire
Josh you have a PM.

_________________
10 PRINT "Bad Monkey ";
20 GOTO 10


Top
 Profile  
 
 Post subject: Re: Site Refresh
PostPosted: Tue Jan 07, 2014 9:20 pm 
Bibliotherapist
User avatar

Joined: Wed Nov 03, 2004 1:28 pm
Posts: 7114
Location: Wilts, Englandshire
OK, Added the META width tag. I've also tweaked the PHP-FPM some more and we're not getting to the bottom of the worker pile any more. However, waves of high traffic will still cause problems.

Did a bit of tweaking on the front page to limit the length of titles in the boxes. Will try to do an alternating color scheme as per weezl's idea.

_________________
10 PRINT "Bad Monkey ";
20 GOTO 10


Top
 Profile  
 
 Post subject: Re: Site Refresh
PostPosted: Sun Jan 12, 2014 2:16 am 
Bibliotherapist
User avatar

Joined: Wed Nov 03, 2004 1:28 pm
Posts: 7114
Location: Wilts, Englandshire
Just when you think you're on top of it. :confused

PHP has crashed late in the evening the past two nights. Same thing both times, threads respawning, but then time out, respawn, time out, etc.

Logging level turned up and we'll see what gets picked up tomorrow.

_________________
10 PRINT "Bad Monkey ";
20 GOTO 10


Top
 Profile  
 
 Post subject: Re: Site Refresh
PostPosted: Sun Jan 12, 2014 9:50 pm 
Bibliotherapist
User avatar

Joined: Wed Nov 03, 2004 1:28 pm
Posts: 7114
Location: Wilts, Englandshire
Hmm, the logo rotation script might be causing issues. There are IPs in the log that seem to open the GPWiki index page, then dom nothing with it for hours. However, the logo rotation AJAX call just keeps firing away every 30s. An Italian IP racked up over 1000 requests, with no other pages viewed.

_________________
10 PRINT "Bad Monkey ";
20 GOTO 10


Top
 Profile  
 
 Post subject: Re: Site Refresh
PostPosted: Mon Jan 13, 2014 1:01 am 
Ankle Nibbler
User avatar

Joined: Tue Sep 25, 2012 12:57 pm
Posts: 142
Location: Adelaide, Australia
If you leave a tab open in the background, the JS keeps running.

You could do the random image part entirely in JS so it's only downloading the image (an easy thing to do for nginx). Just dump all image file names into an array on initial page load, and then json_encode that list. The js can then randomly pick from the list and update the src attribute on the image.

Or ditch the js logo rotation and only have a static random image.

_________________
Chaotic Rage - a fast paced, shooter game that's a little odd, but still fun.


Top
 Profile  
 
 Post subject: Re: Site Refresh
PostPosted: Mon Jan 13, 2014 2:18 am 
Digerati

Joined: Thu Sep 09, 2004 1:17 pm
Posts: 1816
Location: burrowed
Or remove the automated rotation alltogether, only picking a new image on a site-change.
That would be interesting enough, and probably have a more consistent feel. (and ultimately getting rid of the issues alltogether, if they originate in the script :P)

_________________
Long pork is people!

wzl's burrow


Top
 Profile  
 
 Post subject: Re: Site Refresh
PostPosted: Mon Jan 13, 2014 10:14 am 
Bibliotherapist
User avatar

Joined: Wed Nov 03, 2004 1:28 pm
Posts: 7114
Location: Wilts, Englandshire
I came up with two solutions:

Kill the logo swap timer after 10 iterations. If the page is still open after 5 minutes, the viewer has either gone away or is busy looking at something other than the logo.

Do what Josh said, load the image names once and just pull the image files from the server. No PHP required.

However, for the moment, I've just killed the Javascript to see if that helps keep the site running.

_________________
10 PRINT "Bad Monkey ";
20 GOTO 10


Top
 Profile  
 
 Post subject: Re: Site Refresh
PostPosted: Wed Jan 15, 2014 10:41 am 
Bibliotherapist
User avatar

Joined: Wed Nov 03, 2004 1:28 pm
Posts: 7114
Location: Wilts, Englandshire
Well killing off the logo rotations seems to have helped. Two days uptime! :yeah

I'm getting into a massive project at work which will is starting to eat up all my time, but I do want to keep on improving the site.
The project is running till the end of Feb, so I won't be able to spare much time for site mods, but I think that now the Wiki is more open again, we can begin to spring clean and re-org.

I was thinking that some of the articles could be more neutral and language agnostic, with links to language or platform specific implementations at the bottom. The Time Based Modelling article for example is based on VB. A general explanation of the concept, with linked implementations would be more helpful and less prone to becoming outdated.

Also, Pieman started a conversation HERE about tidying the Wiki. I don't really want to delete any content, but some articles need to be archived or deprecated. We have a deprecation template, but is that enough?

_________________
10 PRINT "Bad Monkey ";
20 GOTO 10


Top
 Profile  
 
 Post subject: Re: Site Refresh
PostPosted: Wed Jan 15, 2014 1:42 pm 
Digerati

Joined: Thu Sep 09, 2004 1:17 pm
Posts: 1816
Location: burrowed
Codehead wrote:
Well killing off the logo rotations seems to have helped. Two days uptime! :yeah


That is fantastic! :D

Yeah, the wiki content definitely needs some smoothing. I'll look around and see what i can do.

_________________
Long pork is people!

wzl's burrow


Top
 Profile  
 
 Post subject: Re: Site Refresh
PostPosted: Thu Jan 16, 2014 9:24 am 
Bytewise
User avatar

Joined: Sun Aug 05, 2012 9:32 pm
Posts: 268
This forum looks great now :) you can already feel how it comes back to life :D ^^

_________________
Did you ever wonder, how time works?


Top
 Profile  
 
 Post subject: Re: Site Refresh
PostPosted: Fri Jan 17, 2014 10:31 am 
Bytewise
User avatar

Joined: Sun Aug 05, 2012 9:32 pm
Posts: 268
sorry to double post, but why are all the links in Recently featured projects pointing to http://www.gpwiki.org/iotd/ -> project of the month?

_________________
Did you ever wonder, how time works?


Top
 Profile  
 
 Post subject: Re: Site Refresh
PostPosted: Fri Jan 17, 2014 3:09 pm 
Digerati

Joined: Thu Sep 09, 2004 1:17 pm
Posts: 1816
Location: burrowed
Image of the day is the thing we always used, even if the name is quite misleading, since there's about 5 submissions per year :P

Featured projects is an idea that came up in the discussion and made more sense. We didn't get on working that out yet, and i'd suggest we don't until the mainpages design is finalized so we don't end up in a bunch of redundant work. Unless, of course, you have an idea and want to come up with something :spin

_________________
Long pork is people!

wzl's burrow


Top
 Profile  
 
 Post subject: Re: Site Refresh
PostPosted: Fri Jan 17, 2014 10:03 pm 
Bibliotherapist
User avatar

Joined: Wed Nov 03, 2004 1:28 pm
Posts: 7114
Location: Wilts, Englandshire
The IotD stuff is a placeholder, that I'd forgotten about. :x

I'm working on a new database driven page, but work keeps getting in the way.

_________________
10 PRINT "Bad Monkey ";
20 GOTO 10


Top
 Profile  
 
 Post subject: Re: Site Refresh
PostPosted: Wed Jan 29, 2014 9:10 pm 
Digerati

Joined: Thu Sep 09, 2004 1:17 pm
Posts: 1816
Location: burrowed
I realized, we get a lot of topic views. I wonder how many of those are from bots and how many are genuine.

_________________
Long pork is people!

wzl's burrow


Top
 Profile  
 
 Post subject: Re: Site Refresh
PostPosted: Thu Jan 30, 2014 1:18 am 
Ankle Nibbler
User avatar

Joined: Tue Sep 25, 2012 12:57 pm
Posts: 142
Location: Adelaide, Australia
Codehead wrote:
I'm working on a new database driven page, but work keeps getting in the way.


Do you want a hand with this?

_________________
Chaotic Rage - a fast paced, shooter game that's a little odd, but still fun.


Top
 Profile  
 
 Post subject: Re: Site Refresh
PostPosted: Thu Jan 30, 2014 5:45 pm 
Digerati

Joined: Thu Sep 09, 2004 1:17 pm
Posts: 1816
Location: burrowed
Btw, is there a way to have wiki articles to automatically include a link for discussions at the bottom that would automatically create a thread on the forums, or if it exists, link to it (maybe in a specific wiki-discussion subforum)? It might spark some more activity in here :D

_________________
Long pork is people!

wzl's burrow


Top
 Profile  
 
 Post subject: Re: Site Refresh
PostPosted: Thu Jan 30, 2014 5:52 pm 
Bibliotherapist
User avatar

Joined: Wed Nov 03, 2004 1:28 pm
Posts: 7114
Location: Wilts, Englandshire
TheJosh wrote:
Codehead wrote:
I'm working on a new database driven page, but work keeps getting in the way.


Do you want a hand with this?


Sure. I have a database outline and a skeleton page. Do you want to SSH in, or should I just send you the files to work on?

_________________
10 PRINT "Bad Monkey ";
20 GOTO 10


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 203 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10, 11  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group