Revision history for ExtremeSlownessWorkaround


Revision [23442]

Last edited on 2016-05-20 07:38:48 by AlexFranke [Replaces old-style internal links with new pipe-split links.]
Additions:
>>This issue was [[http://wush.net/trac/wikka/ticket/240 | patched]] in the SVN code. Host lookup will be configurable in future releases of Wikka ##1.2##.>>===Symptoms===
A patch that DrPain posted in the comments of this page that works for most Wikka versions to force it to stop checking DNS for hostnames first is to [[http://wush.net/trac/wikka/browser/branches/1.1.6.7/libs/Wakka.class.php#L1669 | find in /libs/Wakka.class.php]] the section:
Deletions:
>>This issue was [[http://wush.net/trac/wikka/ticket/240 patched]] in the SVN code. Host lookup will be configurable in future releases of Wikka ##1.2##.>>===Symptoms===
A patch that DrPain posted in the comments of this page that works for most Wikka versions to force it to stop checking DNS for hostnames first is to [[http://wush.net/trac/wikka/browser/branches/1.1.6.7/libs/Wakka.class.php#L1669 find in /libs/Wakka.class.php]] the section:


Revision [21012]

Edited on 2010-02-03 15:12:11 by AlexFranke [Replaces old-style internal links with new pipe-split links.]
Additions:
For unregistered visitors the Wikka site is very slow while registered (logged-in) visitors don't have any problem. May also cause "Fatal error: Maximum execution time of 30 seconds exceeded in [path]\libs\Wakka.class.php on line 1848".
Deletions:
For unregistered visitors the Wikka site is very slow while registered (logged-in) visitors don't have any problem.


Revision [20759]

Edited on 2009-08-22 13:49:46 by JeyRey [added patch and updated target]
Additions:
>>This issue was [[http://wush.net/trac/wikka/ticket/240 patched]] in the SVN code. Host lookup will be configurable in future releases of Wikka ##1.2##.>>===Symptoms===
A patch that DrPain posted in the comments of this page that works for most Wikka versions to force it to stop checking DNS for hostnames first is to [[http://wush.net/trac/wikka/browser/branches/1.1.6.7/libs/Wakka.class.php#L1669 find in /libs/Wakka.class.php]] the section:
%%(php) function GetUserName() { if ($user = $this->GetUser()) $name = $user["name"]; else if (!$name = gethostbyaddr($_SERVER["REMOTE_ADDR"])) $name = $_SERVER["REMOTE_ADDR"]; return $name; }%%
and change it to:
%%(php) function GetUserName() { if ($user = $this->GetUser()) $name = $user["name"]; else $name = $_SERVER["REMOTE_ADDR"]; return $name; }%%
Deletions:
>>This issue was [[http://wush.net/trac/wikka/ticket/240 patched]] in the SVN code. Host lookup will be configurable in Wikka ##1.1.7##.>>===Symptoms===


Revision [19089]

Edited on 2008-01-28 00:14:02 by DarTar [Modified links pointing to docs server]

No Differences

Revision [16489]

Edited on 2007-05-03 09:18:58 by DarTar [adding link to tracker]
Additions:
>>This issue was [[http://wush.net/trac/wikka/ticket/240 patched]] in the SVN code. Host lookup will be configurable in Wikka ##1.1.7##.>>===Symptoms===
Deletions:
===Symptoms===


Revision [11049]

Edited on 2005-09-15 14:24:12 by RobinW [adding link to tracker]
Additions:
~& You could uncomment the ##gethostbyaddr()## in ##""GetUserName""()## in ##wikka.php##. Everything will work but you will get the IP's of guest visitors instead of the hostnames, when they store a page, for example. This can also be a temporary solution if you're experiencing temporary troubles with the DNS servers. --- -- RobinW


Revision [6392]

Edited on 2005-02-28 17:12:48 by FabriceFrassaint [Added a trick]
Additions:
=====Extreme slowness for unregistered users=====

===Symptoms===
For unregistered visitors the Wikka site is very slow while registered (logged-in) visitors don't have any problem.

===Cause===
By default, Wikka does a DNS name lookup for the node an unregistered user is connecting form. If the DNS lookup from the server is slow, this will result in very long response times. For logged-in users such a lookup doesn't take place, so they don't experience such slowness.

===Applies to===
All current Wikka versions.

===Solution===
//will follow//

~&I added an email field mandatory for anonymous user when they enter comments and got rid of the php function "gethostbyaddr" in wikka.php. Nevertheless, I didn't add it for new page creation.


----
Deletions:
=====Extreme slowness for unregistered users=====

===Symptoms===
For unregistered visitors the Wikka site is very slow while registered (logged-in) visitors don't have any problem.

===Cause===
By default, Wikka does a DNS name lookup for the node an unregistered user is connecting form. If the DNS lookup from the server is slow, this will result in very long response times. For logged-in users such a lookup doesn't take place, so they don't experience such slowness.

===Applies to===
All current Wikka versions.

===Solution===
//will follow//

----


Revision [5245]

Edited on 2005-01-26 20:51:27 by JavaWoman [initial - solution to follow]
Additions:
=====Extreme slowness for unregistered users=====
For unregistered visitors the Wikka site is very slow while registered (logged-in) visitors don't have any problem.
By default, Wikka does a DNS name lookup for the node an unregistered user is connecting form. If the DNS lookup from the server is slow, this will result in very long response times. For logged-in users such a lookup doesn't take place, so they don't experience such slowness.
All current Wikka versions.
//will follow//
Deletions:
=====Problem description=====
//This page is a **template** intended for documentation of **workarounds** for unusual Wikka problems. This page belongs to CategoryTemplate (which contains more handy templates). To create a Wikka **workaround** page, [[http://wikka.jsnx.com/WorkaroundTemplate/clone clone this page]] (most workaround page names end in 'Workaround' so it's useful to stick to that convention) and replace the title with a problem description (in a few words). Then remove this paragraph and provide actual page content in the outline below.//


Revision [5243]

The oldest known version of this page was created on 2005-01-26 20:45:52 by JavaWoman [initial - solution to follow]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki