[pmwiki-users] overdoing pagelists?

Patrick R. Michaud pmichaud at pobox.com
Tue Jun 19 13:20:33 CDT 2007


On Tue, Jun 19, 2007 at 02:08:12PM -0400, Paul Lewis wrote:
> Hi,
> 
> I have pmwiki 2.2 beta something site that has been disabled by the host 
> due to what they say is php scripts running too long. They 
> couldn't/wouldn't tell me which scripts were causing the problem. It's a 
> large site (4000>) wiki pages.
> 
> I've weeded config.php to eliminate all unnecessary cookbook includes 
> that I could find, but that still hasn't solved the problem.
> 
> I'm using pagelist at the site a lot to provide displays of records by 
> author, title, and other access points of interest. I'm of course 
> reluctant to remove these very helpful indexes, but I guess I will if I 
> must.
> 
> I'm just tossing this out there to see if anyone might have dealt with a 
> similar problem.

You might try using the pagelist cache.  Create a directory called 'work.d',
give it 777 permissions, and add the following to local/config.php:

    $PageListCacheDir = 'work.d';

If pages are updated infrequently, this could save a significant
amount of work on the host.

Pm



More information about the pmwiki-users mailing list