web analytics

Oops some people got cached…

Written By: - Date published: 11:56 pm, November 2nd, 2009 - 13 comments
Categories: admin - Tags:

Sysop

Sysop

Sorry to anyone who thought that The Standard hadn’t published anything today. The site had in fact been pretty active for a Monday. You got caught by a wee mistake by me*

I moved the site to a more accessible location on the server in preparation for updates in the free time between now and New Years. But I made a screwup in the permissions for the SuperCache directories and siteXML files*. It managed to feed yesterdays pages from the cache to some of our audience today.

Some browsers and proxy caches served up the old cached pages conforming to the site hints. Most requested new pages. I’ll be going back through the logs to figure out what exactly was happening – it should allow me to tweak more performance out of the hardware by shifting caching rules. Of course that will make it more obvious if I ever screw up the same way again.

But it is a lot more productive and transparent than letting it silently disenfranchise readers. After all I’m not a NACT elitist who finds that there are more favors to be gained if everything is kind of opaque and Key-like – like their versions of of the EFA and ETS (reminds me of the Muldoon era of gerrymandered electorates and SMP’s mostly) 😈

Then I would also be able to see the fault myself during testing. There was a lot of testing yesterday. But after it was reported by addicts in the afternoon, I tested on Ubuntu linux, iPhone and Windoze 2000/XP/Vista on linux virtualbox. I also tested on browsers, Firefox, Safari, Seamonkey, Opera, Konquerer, and even Internet Explorer versions 6-8 on appropriate platforms. I also tested on 3 different internet links for possible proxy errors. No errors. That was all that I had on me at the time, so eventually I went to the house of a reader to look at the damn error in the evening..

My only OS/X box is hooked up as a media PC to the TV at home. OS/X doesn’t run in a linux hosted virtualbox legally because of Apples crappy hardware restricted license. So following the prophet Murphy, that seems to be what was affected with both Firefox and Safari getting the problem. I’d be interested if other people had a Groundhog day that wasn’t on a mac…

All fixed now*

Lynn

The Standard Icon (Hi)* For the techies. I moved the code from a system location to one accessible to my personal login, and linked it back to the original location. I changed the user ownership of all files to my login and apache’s group on the server. The problem was that the existing relevant write and execute permissions for the cache were on the user not the group. They were octal 640 and 740 rather 660 and 770 respectively. So after I changed user ownership to myself wordpress didn’t have permission to write new cache files or to delete the existing ones.

.

13 comments on “Oops some people got cached…”

  1. Noko 1

    I thought I was getting cache material, but I was leaning towards blaming Telecom first 😉

    But yeah, I got it on Iceweasel (Firefox clone) on Debian Linux.

  2. lprent 2

    Xtra or a local web proxy was my first thought as well. Xtras more than a decade instability of their DNS system does not exactly Inspire confidence. But it showed on the same mac laptop on orcon as well.

  3. outofbed 3

    me too, I thought everyone went away for the weekend
    (Opera on linux mint)

  4. BLiP 4

    Happened to me but only briefly – I’m running Firefox. Seemed to work after the first couple of reloads.

    Fix the Search thingy? 🙂

  5. lprent 5

    Blip: been trying to. I have now tested 6 search engines. The problem is the 130k and rapidly rising comments that either the engines don’t index or they fall over indexing or they chew too much time indexing.

    I have hopes for a background search engine called sphinx but haven’t had time to finish testing.

    • BLiP 5.1

      Only winding you up, mate. These days I do the “text site:thestandard.org.nz” Google thingywotsit – seems to work alright so long as the bit I’m looking for more than, say, a week old.

      • the sprout 5.1.1

        yeah lynn i was wondering if a good interim kludge might be to just have Search as a google page with the ‘site: standard etc’ preloaded?

        • lprent 5.1.1.1

          My experiments have indicated that we don’t get a particularly ordered mix. But I’ll try it out again… This search while complete, isn’t exactly the best ordering. Plus it repeats a hell of a lot as the name pops up in all of the tag search pages etc…

          • felix 5.1.1.1.1

            Still probably more usable than the current search though.

          • the sprout 5.1.1.1.2

            hmm, i see what you mean. on the other hand at least a google search can still easily handle a long string of terms to help refine the output.
            anyway, just a thought. obviously you’ve already thought of that – surprise surprise.

    • rocky 5.2

      I reviewed some search software in one of my previous jobs. Nutch and Sphinx came out on top. Both are stable and reliable, and run at the command line level so there’s no such think as crashing and falling over because of the size. They both index things nicely so searches from the site should be fast 🙂

      • lprent 5.2.1

        I’ll have a look at Nutch.

        The biggest hassle is that I have to get the pages down as a file for sphinx to scan. I stalled looking at the API for a in-memory way of passing the page. There is a plugin wrapper for Sphinx – but it isn’t particularly good.

        However it does seem to be the only way I can maintain a good search engine without crippling the wordpress with the volumes of posts and comments whenever it has to do a reindex

  6. rocky 6

    Nutch is good – you can just give it the URL and tell it to index from the front page.

Recent Comments

Recent Posts

  • Major funding boost for Predator Free Banks Peninsula
    A pest free Banks Peninsula/Te Pātaka o Rākaihautū is one step closer with a $5.11 million boost to accelerate this project and create jobs, announced Conservation Minister Eugenie Sage in Canterbury today. “This is a game changer for this ambitious project to restore the native wildlife and plants on Ōtautahi/Christchurch’s doorstep ...
    BeehiveBy beehive.govt.nz
    16 hours ago
  • Major investment for indoor sports in Hawke’s Bay
    A Government grant of $6.4 million will expand the Pettigrew Arena in Taradale with new indoor courts of national standard. “The project is likely to take 18 months with approximately 300 people employed through the process,” Grant Robertson said. “The expansion will increase the indoor court space up to 11 ...
    BeehiveBy beehive.govt.nz
    16 hours ago
  • New infrastructure for Far North tourist town
    The Far North tourist destination of Mangonui is to receive Government funding to improve waterfront infrastructure, open up access to the harbour and improve water quality, Infrastructure Minister Shane Jones has announced. A total of $6.5 million from the $3 billion set aside in the COVID-19 Response and Recovery Fund ...
    BeehiveBy beehive.govt.nz
    1 day ago
  • Government remains committed to Women’s Cricket World Cup
    The Government has re-affirmed its commitment to supporting the hosting of the ICC Women’s Cricket World Cup, which the ICC has delayed from 2021 to 2022. “This is obviously a disappointing decision for cricket players and fans around the world and for the White Ferns and their supporters here at ...
    BeehiveBy beehive.govt.nz
    2 days ago
  • Green light for Te Awa River Ride in $220m nationwide cycleways investment
    Cyclists and walkers will now have a safer way to get around Taupō, Tūrangi, and between Hamilton and Cambridge, with funding for shared paths and Te Awa River Ride, Associate Minister of Transport Julie Anne Genter announced today. “The Te Awa River Ride is the latest part of massive growth ...
    BeehiveBy beehive.govt.nz
    2 days ago
  • Six major ‘shovel-ready’ cycleways funded in Christchurch
    Six major cycle routes will be completed in Christchurch thanks to funding from the Government’s investment in shovel-ready infrastructure as part of the COVID-19 recovery Associate Minister of Transport Julie Anne Genter announced today. $125 million will be invested to kick-start construction and fund the completion of the following cycleway ...
    BeehiveBy beehive.govt.nz
    2 days ago
  • New Police facilities for Whanganui
    Plans are underway for a brand new state-of-the-art hub for Whanganui’s justice and social agencies, following confirmation the ageing Whanganui Central Police Station is to be replaced. Police Minister Stuart Nash has announced $25 million in new infrastructure spending to improve facilities for the wider community, and for staff who ...
    BeehiveBy beehive.govt.nz
    2 days ago
  • Relativity adjustment for Waikato-Tainui and Ngāi Tahu
    An adjustment payment has been made to Waikato-Tainui and Ngāi Tahu under the relativity mechanisms in their 1995 and 1997 Treaty of Waitangi settlements, Minister for Treaty of Waitangi Negotiations Andrew Little announced today. The latest payments to Waikato-Tainui and Ngāi Tahu are $2,700,000 and $2,600,000 respectively to ensure the ...
    BeehiveBy beehive.govt.nz
    2 days ago
  • Auckland rail upgrades pick up steam
    Deputy Prime Minister Winston Peters and Transport Minister Phil Twyford today kicked off the start of the Auckland NZ Upgrade Programme rail projects which will support over 400 jobs and help unlock our biggest city. Both ministers marked the start of enabling works on the third main rail line project ...
    BeehiveBy beehive.govt.nz
    2 days ago
  • PGF support for Wairoa creates jobs
    The Provincial Growth Fund (PGF) investment of $3.78 million in Wairoa will create much needed economic stimulus and jobs, Under-Secretary for Regional Economic Development Fletcher Tabuteau announced today. PGF projects announced today include: $200,000 loan to Nuhaka Kiwifruit Holdings Ltd (operated by Pine Valley Orchard Ltd) to increase the productivity ...
    BeehiveBy beehive.govt.nz
    3 days ago
  • Public and Māori housing to trial renewable energy technology
    Tenants in public and Māori housing may be benefiting from their own affordable renewable energy in future – a fund to trial renewable energy technology for public and Māori housing has today been announced by Energy and Resources Minister Megan Woods and Associate Minister for Housing (Māori Housing) Nanaia Mahuta. ...
    BeehiveBy beehive.govt.nz
    3 days ago
  • $2.7m for Hokianga infrastructure
    Hokianga will receive $2.7 million to redevelop four of its wharves and upgrade its water supply, Regional Economic Development Minister Shane Jones has announced. Far North District Council will receive $1.8 million from the Provincial Growth Fund for the work on the wharves. “The work will include the construction of ...
    BeehiveBy beehive.govt.nz
    3 days ago
  • New fund to support housing and construction sector
    A $350 million Residential Development Response Fund is being established to support the residential construction sector and to minimise the economic impact from COVID-19, the Housing Minister Dr Megan Woods has announced. “The Residential Development Response Fund will help to progress stalled or at-risk developments that support our broader housing ...
    BeehiveBy beehive.govt.nz
    3 days ago
  • Government investment to boost Auckland’s community recycling network
    As part of a broader plan to divert waste from landfill, the Government today announced $10.67 million for new infrastructure as part of the Resource Recovery Network across the Auckland region. “This key investment in Auckland’s community recycling network is part of the Government’s Infrastructure Reference Group ‘shovel ready’ projects ...
    BeehiveBy beehive.govt.nz
    3 days ago
  • Te Papa transformation starts at Cameron Road
    The Government is investing $45 million in the first stage of an ambitious urban development project for Tauranga that will employ up to 250 people and help the region grow, Urban Development Minister Phil Twyford announced today. Phil Twyford says the funding has been allocated out of the $3 billion ...
    BeehiveBy beehive.govt.nz
    3 days ago
  • Low-emissions options for heavy transport a step closer
    Getting low-emission trucks on the road is a step closer with investment in infrastructure to support hydrogen vehicles, the Energy and Resources Minister Megan Woods has announced. The Infrastructure Reference Group has provisionally approved $20 million for New Plymouth company Hiringa Energy to establish a nationwide network of hydrogen-fuelling stations. ...
    BeehiveBy beehive.govt.nz
    3 days ago
  • New training centre to upskill workers
    A new trades training centre to upskill the local workforce will be built in the South Waikato town of Tokoroa through funding from the Government’s COVID-19 Response and Recovery Fund, Education Minister Chris Hipkins and Regional Economic Development Minister Shane Jones have announced. The Government will contribute $10.84 million from ...
    BeehiveBy beehive.govt.nz
    3 days ago
  • Subsequent children legislation to change
    The Government has agreed to repeal part of the Oranga Tamariki Act subsequent children provisions, Minister for Children Tracey Martin announced today. “There are times when children need to go into care for their safety – the safety and care of children must always be paramount,” Minister Martin said. “But ...
    BeehiveBy beehive.govt.nz
    3 days ago
  • Funding to expand mental health support for Pacific peoples
    A $1.5 million boost to grow primary mental health and addiction services for Pacific peoples in Auckland, Hamilton and Canterbury will lead to better outcomes for Pacific communities, Associate Health Minister Jenny Salesa says.  Pasifika Futures has received funding to expand services through The Fono, Aotearoa New Zealand’s largest by ...
    BeehiveBy beehive.govt.nz
    3 days ago
  • Funding boost for sustainable food and fibre production
    Twenty-two projects to boost the sustainability and climate resilience of New Zealand’s food and fibres sector have been announced today by Agriculture Minister Damien O’Connor. The $18m funding will deliver practical knowledge to help farmers and growers use their land more sustainably, meet environmental targets, remain prosperous, and better understand ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Mature Workers Toolkit launched on business.govt.nz
    Employment Minister Willie Jackson welcomes an initiative that assists employers to get mature workers into New Zealand small businesses. The disadvantages that older people face in the workplace was highlighted in the whole of Government Employment Strategy.  In order to address this, a Mature Workers Toolkit has been developed and ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Trans-Tasman cooperation in a COVID-19 world
    New Zealand and Australia reaffirmed today the need for the closest possible collaboration as they tackle a global environment shaped by COVID-19, Foreign Affairs Minister Winston Peters said. “In these challenging times, our close collaboration with Australia is more vital than ever,” said Mr Peters. Mr Peters and his Australian ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Pike recovery efforts now in unexplored territory
    The recovery and forensic examination of the loader driven by survivor Russell Smith means the underground team are now moving into an area of the Pike River Mine that has not been seen since the explosion, Minister Responsible for Pike River Re-entry Andrew Little said. “The fifth and last robot ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Government confirms CovidCard trial to go ahead
    The Government has confirmed a community-wide trial of CovidCard technology as it explores options for COVID-19 contact tracing. “Effective contact tracing is a vital part of the COVID-19 response,” Minister of Health Chris Hipkins said. “While manual processes remain the critical component for contact tracing, we know digital solutions can ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Enhanced process for iwi aquaculture assets
    The government is proposing changes to aquaculture legislation to improve the process for allocating and transferring aquaculture assets to iwi. Fisheries Minister Stuart Nash has introduced the Maori Commercial Aquaculture Claims Settlement Amendment Bill to Parliament. It proposes a limited new discretionary power for Te Ohu Kaimoana Trustee Limited (ToKM). ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Bill introduced to fix National’s Family Court reform failures
    The Minister of Justice has today introduced the Family Court (Supporting Children in Court) Legislation Bill – the next step in the ongoing programme of work to fix the failed 2014 Family Court reforms led by then Justice Minister Judith Collins.  The Bill arises from the report of the Independent ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • DOC takes action to adapt to climate change
    A new Department of Conservation (DOC) action plan tackles the impacts of climate change on New Zealand’s biodiversity and DOC managed infrastructure including tracks, huts and cultural heritage. Minister of Conservation Eugenie Sage says extreme weather events around the country have really brought home our vulnerability to changing weather patterns. ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Reduced international Antarctic season commences
    A heavily scaled back international Antarctic season will commence this week, Foreign Affairs Minister Winston Peters and Research, Science and Innovation Minister Megan Woods have confirmed. “Antarctica is the only continent that is COVID-19 free,” Mr Peters said. “Throughout the global pandemic, essential operations and long-term science have continued at ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • New high performance sports hub for Upper Hutt
    The Government is providing up to $30 million to help fund the NZ Campus of Innovation and Sport in Upper Hutt - an investment that will create 244 jobs. “The sports hub is designed to be a world-leading shared service for a range of sports, offering the level of facilities ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Govt keeps projects on road to completion
    Transport Minister Phil Twyford announced today transport projects currently in construction will continue at pace due to extra Government support for transport projects to mitigate the impact of COVID-19. To keep the $16.9 billion 2018-21 National Land Transport Programme going the Government has allocated funding from the COVID Response and ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • First project utilising $50 million ‘shovel ready’ fund for rural broadband announced
    $50 million for further rural broadband digital connectivity has been allocated from the $3 billion infrastructure fund in the COVID Response and Recovery Fund has been announced by Shane Jones, Minister for Infrastructure and Kris Faafoi, Minister for Broadcasting, Communications and Digital Media. The investment will go to boosting broadband ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Ultra-fast Broadband programme hits major milestone with more than one million connections
    The Minister for Broadcasting, Communications and Digital Media has congratulated the Ultra-fast Broadband (UFB) programme on its major milestone of connecting more than 1 million New Zealand households and businesses to UFB. “This milestone has been 10 years in the making and demonstrates the popularity of the UFB network. “Uptake ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Vaping legislation passes
    Landmark legislation passed today puts New Zealand on track to saving thousands of lives and having a smokefree generation sooner rather than later, Associate Health Minister, Jenny Salesa says. The Smokefree Environments and Regulated Products (Vaping) Amendment Bill regulates vaping products and heated tobacco devices. “There has long been concern ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Government repeals discriminatory law
    A discriminatory law that has been a symbol of frustration for many people needing and providing care and support, has been scrapped by the Government. “Part 4A of the New Zealand Public Health and Disability Amendment Bill (No 2) was introduced under urgency in 2013 by a National Government,” Associate ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • More competitive fuel market on the way
    Kiwi motorists are set to reap the benefits of a more competitive fuel market following the passing of the Fuel Industry Bill tonight, Energy and Resources Minister Megan Woods says.  “This Act is where the rubber meets the road in terms of our response to the recommendations made in the ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Government delivers on rental reforms promise
    The Government has delivered on its promise to New Zealanders to modernise tenancy laws with the passing of the Residential Tenancies Amendment (RTA) Bill 2020 today, says Associate Minister of Housing (Public Housing), Kris Faafoi. “The Residential Tenancies Act 1986 was out-dated and the reforms in the RTA modernise our ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • New rules in place to restore healthy rivers
    New rules to protect and restore New Zealand’s freshwater passed into law today. Environment Minister David Parker and Agriculture Minister Damien O’Connor welcomed the gazetting of the new national direction on freshwater management. “These regulations deliver on the Government’s commitment to stop further degradation, show material improvements within five years and ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Foreign Minister announces new Consul-General in Los Angeles
    Foreign Affairs Minister Winston Peters has announced the appointment of Jeremy Clarke-Watson as New Zealand’s new Consul-General in Los Angeles. “New Zealand and the United States share a close and dynamic partnership, based on a long history of shared values and democratic traditions,” Mr Peters said. “Mr Clarke-Watson is a ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Rental reforms provide greater support for victims of family violence
    Victims of family violence can end a tenancy with two days’ notice Landlords can terminate tenancies with 14 days’ notice if tenants assault them Timeframe brought forward for limiting rent increases to once every 12 months Extension of time Tenancy Tribunal can hear cases via phone/video conference Reform of New ...
    BeehiveBy beehive.govt.nz
    4 days ago
  • Apprenticeships support kicks off today
    Two employment schemes – one new and one expanded – going live today will help tens of thousands of people continue training on the job and support thousands more into work, the Government has announced. Apprenticeship Boost, a subsidy of up to $12,000 per annum for first year apprentices and ...
    BeehiveBy beehive.govt.nz
    4 days ago