[pmwiki-users] Large wiki's

bram bram.brambring at pts.nl
Fri Sep 23 11:49:36 CDT 2005


Patrick R. Michaud wrote:

>On Fri, Sep 23, 2005 at 10:43:37AM +0200, bram wrote:
>  
>
>>Just a note on the performance of large wiki's:
>>
>>
>>http://www.pmwiki.org/wiki/PmWiki/FlatFileAdvantages
>>
>>I created a 8500 file wiki for fun and testing. Basic pagehandling is fine
>>no performance issues. Search is acceptable. However creating the
>>.linkindex file from scratch is a problem. The host I run the site on (and
>>my test-machine) has a time out of 30 seconds. I disabled the linkindex,
>>however no backlinks ( pagelist link={$FullName}) are to slow.
>>    
>>
>
>Well, to get the initial .linkindex file created one can
>(temporarily) extend the PHP timeout to something larger, e.g., with
>the following in local/config.php:
>
>    set_time_limit(60);
>
>
>
>However, I think I'm going to address this problem by setting a time
>limit on .linkindex, say, 10-15 seconds (controlled by a config
>variable, of course).  So, after working 10-15 seconds on updating
>.linkindex with new information, the system stops with what it has
>done so far and continues on to normal page generation.
>
>So, on systems that are starting with a large initial set of pages,
>generation of the .linkindex file is spread over several page 
>accesses.  Then once .linkindex is generated everything goes speedily
>after that.
>
>How's that sound?
>
>Pm
>  
>

Sounds great,

I can live without the linkindex, however there might be large wiki's
with the same problem.

I'm not sure I can change the php-timeout. I will try it.






More information about the pmwiki-users mailing list