Author Topic: Web site changes (http://linux.co.uk)  (Read 5497 times)

0 Members and 1 Guest are viewing this topic.

Offline Mad Penguin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1483
  • Karma: 10024
  • Gender: Male
    • View Profile
    • Awards
Re: Web site changes (http://linux.co.uk)
« Reply #15 on: July 20, 2010, 07:57:04 pm »
Mmm, I moved it to the top of the sidebar .. just need a different / more efficient search bar is all .. I'll get round to looking unless someone knows a good one for WP?

Offline Mad Penguin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1483
  • Karma: 10024
  • Gender: Male
    • View Profile
    • Awards
Re: Web site changes (http://linux.co.uk)
« Reply #16 on: July 22, 2010, 12:49:59 pm »
Ok, now we're just getting silly ...  ;D

Quote
# ab -c12 -n1000 http://linux.co.uk/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking linux.co.uk (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests


Server Software:        lighttpd/1.4.26
Server Hostname:        linux.co.uk
Server Port:            80

Document Path:          /
Document Length:        42985 bytes

Concurrency Level:      12
Time taken for tests:   3.051 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      43294662 bytes
HTML transferred:       42985000 bytes
Requests per second:    327.81 [#/sec] (mean)
Time per request:       36.607 [ms] (mean)
Time per request:       3.051 [ms] (mean, across all concurrent requests)
Transfer rate:          13859.75 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.0      0       0
Processing:    19   36  12.9     34     135
Waiting:       19   36  12.9     34     135
Total:         19   36  13.0     34     135

Percentage of the requests served within a certain time (ms)
  50%     34
  66%     38
  75%     41
  80%     43
  90%     48
  95%     57
  98%     79
  99%     89
 100%    135 (longest request)


The Linux Community Forum

Re: Web site changes (http://linux.co.uk)
« Reply #16 on: July 22, 2010, 12:49:59 pm »

Offline Mad Penguin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1483
  • Karma: 10024
  • Gender: Male
    • View Profile
    • Awards
Re: Web site changes (http://linux.co.uk)
« Reply #17 on: July 22, 2010, 09:04:28 pm »
Ok, if I've cracked the sticky page issue (!) then speed is now pretty consistent at between 325 and 360 pages / sec ..  :)

Forum is up to ~ 16 pages / sec. (from ~ 3)

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: Web site changes (http://linux.co.uk)
« Reply #18 on: July 22, 2010, 09:15:02 pm »
what was up with stickies ?... I never knew there was a problem.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Mad Penguin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1483
  • Karma: 10024
  • Gender: Male
    • View Profile
    • Awards
Re: Web site changes (http://linux.co.uk)
« Reply #19 on: July 22, 2010, 09:49:09 pm »
Mmm, clicking a link sometimes either pauses 30s or never happens.

I *think* it's fixed .. have added "disable-time" => 0 to lighttpd's config, removed the rrdtool graphs and removed double definitions of server.log ..

Am managing to run "ab -c10000 -c50" against one of the sites and it comes back clean with zero failures ..

Not "feeling" some of the stickyness I saw earlier ...

Still 'experimenting' with xcache memory usage / pools etc .. starting to look more 'stable' now tho'...

This is what I'm talking about - real-world change in Forum response time;


And the change to one of the other PHP websites, spot the step, Phase I was WP-SuperCache, Phase II was xcache.


The Linux Community Forum

Re: Web site changes (http://linux.co.uk)
« Reply #19 on: July 22, 2010, 09:49:09 pm »

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: Web site changes (http://linux.co.uk)
« Reply #20 on: July 22, 2010, 10:07:41 pm »
Gottcha... I thought you meant there was a problem setting a topic/post "Sticky":)
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Mad Penguin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1483
  • Karma: 10024
  • Gender: Male
    • View Profile
    • Awards
Re: Web site changes (http://linux.co.uk)
« Reply #21 on: July 23, 2010, 12:21:17 am »
Ok, well it's maintenance day tomorrow and I have to pull one of the core servers that hosts the mail system, the lighttpd server, and a customer VPS, amongst other things .. [one of the drives in it's array failed badly and I use cheap / non hot swap HDD's]

So, I've just [live] migrated all the services off that box onto other cloud nodes leaving it idle / ready for shutdown.

Downtime, around 1s in total .. so linux.co.uk and the forums are running in degraded mode atm .. notice the slowdown?   ;)

I love clouds ..  :-* .. once upon a time I'd either have been paying through the nose for hot-swap kit, or scheduling 2h downtime, or spending a couple of days in advance patching a backup service ... all I need now is for hardware manufacturers to stop turning out crappy drives and I'll be happy ..  ::)

Offline Mad Penguin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1483
  • Karma: 10024
  • Gender: Male
    • View Profile
    • Awards
Re: Web site changes (http://linux.co.uk)
« Reply #22 on: July 24, 2010, 04:35:13 pm »
Ok, but I hate software raid.

Tips of the day;
  • use RAID6 instead of RAID5.
  • get / use mdadm 3.1.2 or better
Command line of the day to rebuild a completely screwed RAID 5 array. This is useful if /dev/sda2 has failed, you have replaced it, but one of the other disks then errored while trying to build in the replacement /dev/sda2. Warning: incorrect use of this command and/or incorrect parameters can serious damage your .. well .. everything.

mdadm --create /dev/md0 -vv --assume-clean --level=5 --chunk=64 --layout left-symmetric --raid-devices=5 missing /dev/sdb2 /dev/sdc2 /dev/sdd2 /dev/sde2

Then of course you need to re-map the failed blocks on the device that errored (badblocks) and following that, re-add the replacement sda2 and watch it rebuild .. hopefully .. ask me later ..
« Last Edit: July 24, 2010, 04:37:22 pm by Mad Penguin »

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1691
  • Karma: 49
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • Awards
Re: Web site changes (http://linux.co.uk)
« Reply #23 on: July 26, 2010, 03:20:30 pm »
Linux.co.uk is much faster :o
Forums are much quicker aswell...  shame about the search bar on the website though :/
If you try to look through Windows, you can see what the person is doing.
If you try to look through a Penguin, it WILL bite you.

The Linux Community Forum

Re: Web site changes (http://linux.co.uk)
« Reply #23 on: July 26, 2010, 03:20:30 pm »

Offline Mad Penguin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1483
  • Karma: 10024
  • Gender: Male
    • View Profile
    • Awards
Re: Web site changes (http://linux.co.uk)
« Reply #24 on: July 26, 2010, 05:09:46 pm »
Yes, there's still a search function if you hit one of the sub pages (News etc) .. I will put something back, but that particular plugin was *really* terribly in terms of performance ..

Offline Mad Penguin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1483
  • Karma: 10024
  • Gender: Male
    • View Profile
    • Awards
Re: Web site changes (http://linux.co.uk)
« Reply #25 on: July 28, 2010, 04:53:30 pm »
Ok, I've added the search bar back on the site .. just without the performance hitting "live" feature .. :)

Offline Smither

  • Jr. Member
  • **
  • Posts: 58
  • Karma: 0
  • Gender: Male
  • Certified youtube browser
    • View Profile
    • Awards
Re: Web site changes (http://linux.co.uk)
« Reply #26 on: August 25, 2010, 10:45:06 pm »
I've lost count of how many times you've changed the website URL. :P

Offline Mad Penguin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1483
  • Karma: 10024
  • Gender: Male
    • View Profile
    • Awards
Re: Web site changes (http://linux.co.uk)
« Reply #27 on: August 26, 2010, 10:25:57 am »
Erm, website url has *never* changed .. ???

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal