Visitors to my wiki are complaining of regularly-occurring 503 "Service
Temporarily Unavailable" errors, or just simply the site not loading through
their browsers. I investigated the errors and they seem to occur
unpredictably every minute or so and only last for 10 seconds or so. If I
open a different browser while the first is getting 503s, the other browser
IS able to connect.
I looked at my load numbers and the site seems to be under load from several
search engine bots. The actual load number is frequently over 20k (which
I've heard is high), sometimes spiking to 40, and a few times I cough it at
over 80!?? My host said I had 200 hits per minute when I asked about the
issue.
My hardware is a quad core 5 series xenon at 2.3ghz, with 6GB of RAM. I have
php's memory limit set to 256mb. My ram never seems to be more than 25%
full.
Could this be causing the random 503s? I am not using a robots.txt file,
could bots be indexing stuff they shouldn't be and in turn slowing the site?
Thanks!
Hello,
I have a V1.11.0 medaiwiki running on my local intranet and I force user's to be "approved" in in order to see any content by adding the following lines to my localsettings.php file:
$wgGroupPermissions['*']['read'] = false;
$wgGroupPermissions['approved']['read'] = false;
If a user externally links to an article in my wiki they are kindly informed that they must log in first.
After they log in, they are invited to continue-on to the article they originally requested.
For all articles and standard special pages, this works very nicely....
But this is not the case for my custom special pages :-(
If a user externally links to a "Special Page" in my wiki that I have made they get an error as follows:
Invalid special page name ""
Backtrace:
#0 C:\www\webroot\b2wiki\includes\Title.php(1305): SpecialPage::getTitleFor(false)
#1 C:\www\webroot\b2wiki\includes\Wiki.php(133): Title->userCanRead()
#2 C:\www\webroot\b2wiki\includes\Wiki.php(43):
MediaWiki->preliminaryChecks(Object(Title), Object(StubObject),
Object(WebRequest))
#3 C:\www\webroot\b2wiki\index.php(89):
MediaWiki->initialize(Object(Title), Object(StubObject),
Object(User), Object(WebRequest))
#4 {main}
The special pages work fine for user's that are logged in.
I'm wondering if the symptoms alone here are enough to get a diagnosis from one of the many experts online here.
Truest thanks in advance,
- Rich (revansx)
1. Re: requiring extensions on localsettings file blanks out the
wiki (John Thomson (Stoneway Consulting))
Works! great!
Oded H. Breiner
On Mon, Feb 2, 2009 at 2:00 PM, <mediawiki-l-request(a)lists.wikimedia.org>wrote:
> Send MediaWiki-l mailing list submissions to
> mediawiki-l(a)lists.wikimedia.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> or, via email, send a message with subject or body 'help' to
> mediawiki-l-request(a)lists.wikimedia.org
>
> You can reach the person managing the list at
> mediawiki-l-owner(a)lists.wikimedia.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of MediaWiki-l digest..."
>
>
> Today's Topics:
>
> 1. Re: requiring extensions on localsettings file blanks out the
> wiki (John Thomson (Stoneway Consulting))
> 2. Some page are not update (Addady)
> 3. Re: display author (Helmut Schneider)
> 4. Re: Site errors caused by load? (Philip Beach)
> 5. Re: Some page are not update (Platonides)
> 6. Re: requiring extensions on localsettings file blanks out the
> wiki (Platonides)
> 7. Re: Some page are not update (Addady)
> 8. Re: Site errors caused by load? (Benjamin Lees)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 01 Feb 2009 10:05:57 -0500
> From: "John Thomson (Stoneway Consulting)"
> <thomsonj(a)stonewayconsulting.ca>
> Subject: Re: [Mediawiki-l] requiring extensions on localsettings file
> blanks out the wiki
> To: MediaWiki announcements and site admin list
> <mediawiki-l(a)lists.wikimedia.org>
> Message-ID: <4985BA55.90904(a)stonewayconsulting.ca>
> Content-Type: text/plain; charset=us-ascii; format=flowed
>
> To be clear, you added an extension and now you see a blank page? A few
> things to look at:
>
> Try enabling error_reporting from within PHP (php.ini) and see what you
> get.
> Confirm your paths and syntax for your new extension call within the
> LocalSettings.php.
> Check the discussions tab for the extension you downloaded, do others
> have similar issues?
>
> Good luck.
>
> John
>
> Oded Haim Breiner wrote:
> > Requiring extensions on localsettings file blanks out the wiki, can
> anyone
> > help?
> >
> > Oded
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l(a)lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
> >
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 01 Feb 2009 22:50:26 +0200
> From: Addady <addady(a)active.co.il>
> Subject: [Mediawiki-l] Some page are not update
> To: mediawiki-l(a)lists.wikimedia.org
> Message-ID: <49860B12.1000402(a)active.co.il>
> Content-Type: text/plain; charset=windows-1255; format=flowed
>
> Hello,
>
> Some of my wiki page are not update. Although those page have newer
> version an old version of the pages is display to guests. It is possible
> to see the new version in the page history or after I login.
>
>
> It not look like client cache problem. I cleared the browser cache
> (Pressing Shift key + Refresh bottom) and try different type of browsers
> from different ISPs.
>
> Also I disable the my wiki squid proxy.
>
>
> Please advise
>
>
> Addady
>
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sun, 1 Feb 2009 22:31:02 +0100
> From: "Helmut Schneider" <jumper99(a)gmx.de>
> Subject: Re: [Mediawiki-l] display author
> To: mediawiki-l(a)lists.wikimedia.org
> Message-ID: <gm54an$rvf$1(a)ger.gmane.org>
> Content-Type: text/plain; format=flowed; charset="iso-8859-1";
> reply-type=original
>
> Platonides <Platonides(a)gmail.com> wrote:
> > Helmut Schneider wrote:
> >> is there an extension or similiar to automatically display the author
> >> of an article (not the history button)?
> >>
> >> Thanks, Helmut
> >
> > http://www.mediawiki.org/wiki/Manual:$wgMaxCredits
>
> Excellent.
>
> --
> No Swen today, my love has gone away
> My mailbox stands for lorn, a symbol of the dawn
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Sun, 1 Feb 2009 13:17:33 -0500
> From: Philip Beach <beachboy4231(a)gmail.com>
> Subject: Re: [Mediawiki-l] Site errors caused by load?
> To: MediaWiki announcements and site admin list
> <mediawiki-l(a)lists.wikimedia.org>
> Message-ID: <4aa160902011017r18351c52vf31cd884c72e2b29(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Ok thanks, but how can I be sure it's working before all my pages drop
> off google (if it were wrong). Is there some way to validate it in
> the context of my site?
>
> Thanks again
>
>
> On 2/1/09, Benjamin Lees <emufarmers(a)gmail.com> wrote:
> > TryUser-agent: *
> > Disallow: /index.php
> > Disallow: /skins/
> > Disallow: /Special:Search
> > Disallow: /Special:Random
> >
> > Some other good rules to include are
> > Disallow: /MediaWiki:
> > Disallow: /Template:
> >
> > and maybe
> > Disallow: /Category:
> >
> > On Sun, Feb 1, 2009 at 2:06 AM, Philip Beach <beachboy4231(a)gmail.com>
> wrote:
> >
> >> Haha true about rotting RAM, I'll look into that. I am not using
> wikimedia
> >> style URL's, sadly :( it just didn't happen when the site was first set
> up
> >> and I can't move it now, for various reasons. All of my files are in the
> >> web-root /. However, through an apache alias, my url is
> >> mywiki.com/Pagename.
> >>
> >> How would robots.txt look for that? Would I simply drop the preceeding
> >> /wiki, like this?
> >>
> >> User-agent: *
> >> Disallow: /Special:Search
> >> Disallow: /Special:Random
> >>
> >> Thanks a ton!
> >>
> >> On Sun, Feb 1, 2009 at 1:47 AM, Benjamin Lees <emufarmers(a)gmail.com>
> >> wrote:
> >>
> >> > Assuming you have Wikimedia-style URLs:
> >> > User-agent: *
> >> > Disallow: /w/
> >> > Disallow: /wiki/Special:Search
> >> > Disallow: /wiki/Special:Random
> >> >
> >> > Your server will be able to handle a lot more if you set up as much
> >> caching
> >> > as you can <http://www.mediawiki.org/wiki/Manual:Cache>. No sense
> >> letting
> >> > all that spare RAM rot. :)
> >> >
> >> >
> >> > On Sat, Jan 31, 2009 at 10:02 PM, Philip Beach <
> beachboy4231(a)gmail.com
> >> > >wrote:
> >> >
> >> > > I already have checked the access logs. It appears that Google and
> >> Yahoo
> >> > > are
> >> > > indeed generating a lot of traffic. Good idea Rob, I've been working
> >> > > on
> >> > > this
> >> > > for a while.
> >> > >
> >> > > Just out of curiosity, what should my robots.txt look like for
> >> Mediawiki.
> >> > > Does anything need to be disallowed?
> >> > >
> >> > > On Sat, Jan 31, 2009 at 8:30 PM, Platonides <Platonides(a)gmail.com>
> >> > wrote:
> >> > >
> >> > > > You should check the access logs for which is causing the error.
> >> > > >
> >> > > >
> >> > > > _______________________________________________
> >> > > > MediaWiki-l mailing list
> >> > > > MediaWiki-l(a)lists.wikimedia.org
> >> > > > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >> > > >
> >> > > _______________________________________________
> >> > > MediaWiki-l mailing list
> >> > > MediaWiki-l(a)lists.wikimedia.org
> >> > > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >> > >
> >> > _______________________________________________
> >> > MediaWiki-l mailing list
> >> > MediaWiki-l(a)lists.wikimedia.org
> >> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >> >
> >> _______________________________________________
> >> MediaWiki-l mailing list
> >> MediaWiki-l(a)lists.wikimedia.org
> >> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >>
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l(a)lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
>
>
>
> ------------------------------
>
> Message: 5
> Date: Sun, 01 Feb 2009 22:57:37 +0100
> From: Platonides <Platonides(a)gmail.com>
> Subject: Re: [Mediawiki-l] Some page are not update
> To: mediawiki-l(a)lists.wikimedia.org
> Message-ID: <gm55sg$ee$1(a)ger.gmane.org>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Addady wrote:
> > Hello,
> >
> > Some of my wiki page are not update. Although those page have newer
> > version an old version of the pages is display to guests. It is possible
> > to see the new version in the page history or after I login.
> >
> >
> > It not look like client cache problem. I cleared the browser cache
> > (Pressing Shift key + Refresh bottom) and try different type of browsers
> > from different ISPs.
> >
> > Also I disable the my wiki squid proxy.
> >
> >
> > Please advise
> >
> >
> > Addady
>
> Try purging the page.
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Sun, 01 Feb 2009 15:46:46 +0100
> From: Platonides <Platonides(a)gmail.com>
> Subject: Re: [Mediawiki-l] requiring extensions on localsettings file
> blanks out the wiki
> To: mediawiki-l(a)lists.wikimedia.org
> Message-ID: <gm4ckm$ehs$3(a)ger.gmane.org>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Oded Haim Breiner wrote:
> > Requiring extensions on localsettings file blanks out the wiki, can
> anyone
> > help?
> >
> > Oded
>
> The extension you add is producing a PHP error. The php error make a
> blank page. You will be able to see the actual error in the error log.
> Use a newer version of the extension / contact the extension author.
>
>
>
>
> ------------------------------
>
> Message: 7
> Date: Mon, 02 Feb 2009 08:45:14 +0200
> From: Addady <addady(a)active.co.il>
> Subject: Re: [Mediawiki-l] Some page are not update
> To: MediaWiki announcements and site admin list
> <mediawiki-l(a)lists.wikimedia.org>
> Cc: Platonides(a)gmail.com
> Message-ID: <4986967A.3030803(a)active.co.il>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi,
>
>
> Purging the page didn't solve the problem.
>
>
> Addady
>
>
> Platonides wrote:
>
> > Addady wrote:
> >
> >> Hello,
> >>
> >> Some of my wiki page are not update. Although those page have newer
> >> version an old version of the pages is display to guests. It is possible
> >> to see the new version in the page history or after I login.
> >>
> >>
> >> It not look like client cache problem. I cleared the browser cache
> >> (Pressing Shift key + Refresh bottom) and try different type of browsers
> >> from different ISPs.
> >>
> >> Also I disable the my wiki squid proxy.
> >>
> >>
> >> Please advise
> >>
> >>
> >> Addady
> >>
> >
> > Try purging the page.
> >
> >
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l(a)lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
>
>
>
> ------------------------------
>
> Message: 8
> Date: Mon, 2 Feb 2009 03:34:28 -0500
> From: Benjamin Lees <emufarmers(a)gmail.com>
> Subject: Re: [Mediawiki-l] Site errors caused by load?
> To: MediaWiki announcements and site admin list
> <mediawiki-l(a)lists.wikimedia.org>
> Message-ID:
> <b8e96a340902020034v340b74b6j78695634c9c06c1e(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Google offers such a tool with their Webmaster Tools <
> https://www.google.com/webmasters/tools>; I'm sure there are plenty of
> similar tools out there.
>
> On Sun, Feb 1, 2009 at 1:17 PM, Philip Beach <beachboy4231(a)gmail.com>
> wrote:
>
> > Ok thanks, but how can I be sure it's working before all my pages drop
> > off google (if it were wrong). Is there some way to validate it in
> > the context of my site?
> >
> > Thanks again
> >
> >
> > On 2/1/09, Benjamin Lees <emufarmers(a)gmail.com> wrote:
> > > TryUser-agent: *
> > > Disallow: /index.php
> > > Disallow: /skins/
> > > Disallow: /Special:Search
> > > Disallow: /Special:Random
> > >
> > > Some other good rules to include are
> > > Disallow: /MediaWiki:
> > > Disallow: /Template:
> > >
> > > and maybe
> > > Disallow: /Category:
> > >
> > > On Sun, Feb 1, 2009 at 2:06 AM, Philip Beach <beachboy4231(a)gmail.com>
> > wrote:
> > >
> > >> Haha true about rotting RAM, I'll look into that. I am not using
> > wikimedia
> > >> style URL's, sadly :( it just didn't happen when the site was first
> set
> > up
> > >> and I can't move it now, for various reasons. All of my files are in
> the
> > >> web-root /. However, through an apache alias, my url is
> > >> mywiki.com/Pagename.
> > >>
> > >> How would robots.txt look for that? Would I simply drop the preceeding
> > >> /wiki, like this?
> > >>
> > >> User-agent: *
> > >> Disallow: /Special:Search
> > >> Disallow: /Special:Random
> > >>
> > >> Thanks a ton!
> > >>
> > >> On Sun, Feb 1, 2009 at 1:47 AM, Benjamin Lees <emufarmers(a)gmail.com>
> > >> wrote:
> > >>
> > >> > Assuming you have Wikimedia-style URLs:
> > >> > User-agent: *
> > >> > Disallow: /w/
> > >> > Disallow: /wiki/Special:Search
> > >> > Disallow: /wiki/Special:Random
> > >> >
> > >> > Your server will be able to handle a lot more if you set up as much
> > >> caching
> > >> > as you can <http://www.mediawiki.org/wiki/Manual:Cache>. No sense
> > >> letting
> > >> > all that spare RAM rot. :)
> > >> >
> > >> >
> > >> > On Sat, Jan 31, 2009 at 10:02 PM, Philip Beach <
> > beachboy4231(a)gmail.com
> > >> > >wrote:
> > >> >
> > >> > > I already have checked the access logs. It appears that Google and
> > >> Yahoo
> > >> > > are
> > >> > > indeed generating a lot of traffic. Good idea Rob, I've been
> working
> > >> > > on
> > >> > > this
> > >> > > for a while.
> > >> > >
> > >> > > Just out of curiosity, what should my robots.txt look like for
> > >> Mediawiki.
> > >> > > Does anything need to be disallowed?
> > >> > >
> > >> > > On Sat, Jan 31, 2009 at 8:30 PM, Platonides <Platonides(a)gmail.com
> >
> > >> > wrote:
> > >> > >
> > >> > > > You should check the access logs for which is causing the error.
> > >> > > >
> > >> > > >
> > >> > > > _______________________________________________
> > >> > > > MediaWiki-l mailing list
> > >> > > > MediaWiki-l(a)lists.wikimedia.org
> > >> > > > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> > >> > > >
> > >> > > _______________________________________________
> > >> > > MediaWiki-l mailing list
> > >> > > MediaWiki-l(a)lists.wikimedia.org
> > >> > > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> > >> > >
> > >> > _______________________________________________
> > >> > MediaWiki-l mailing list
> > >> > MediaWiki-l(a)lists.wikimedia.org
> > >> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> > >> >
> > >> _______________________________________________
> > >> MediaWiki-l mailing list
> > >> MediaWiki-l(a)lists.wikimedia.org
> > >> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> > >>
> > > _______________________________________________
> > > MediaWiki-l mailing list
> > > MediaWiki-l(a)lists.wikimedia.org
> > > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> > >
> >
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l(a)lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
>
>
> ------------------------------
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
>
> End of MediaWiki-l Digest, Vol 65, Issue 3
> ******************************************
>
Hello,
Some of my wiki page are not update. Although those page have newer
version an old version of the pages is display to guests. It is possible
to see the new version in the page history or after I login.
It not look like client cache problem. I cleared the browser cache
(Pressing Shift key + Refresh bottom) and try different type of browsers
from different ISPs.
Also I disable the my wiki squid proxy.
Please advise
Addady
Hi,
is there an extension or similiar to automatically display the author of an
article (not the history button)?
Thanks, Helmut
--
No Swen today, my love has gone away
My mailbox stands for lorn, a symbol of the dawn