Tags:
create new tag
, view all tags

Bug: Grave Inline Search Error when Web Size grows very big

When more than a thousand Topics are in a Web, the WebChanges, WebIndex and all Inline Search does not yield ANY results! The Apache error log file states: sh: /usr/bin/egrep: arg list too long

any workarounds despite reducing the arg list ie topics of the web by deleting ? is there an official maximum of Topics in a Web ?

Test case

Environment

AIX 4.3.3.0 Apache / TWiki

TWiki version: 01 Dec 2001
TWiki plugins:  
Server OS: AIX 4.3.3.0
Web server: IBM HTTP Server 1.3.6
Perl version: v5.6.0 built for aix
Client OS: win32
Web Browser: ie5

-- SvenVowe - 12 May 2003

Follow up

First of all, congratulations on having a successful TWiki smile ... See Google:twiki+xargs (ArgumentListTooLong) for a fairly simple solution to this. Should really go into the TWiki core as a commented-out line in TWiki.cfg, ready to be uncommented when sites hit this limit (which varies depending on the Unix version by the way).

-- RichardDonkin - 12 May 2003

Fix record

This is now fixed, is in TWikiAlphaRelease and at TWiki.org. This is part of working on SearchTopicNameAndTopicText, ExcludeWebTopicsFromSearch, SearchWithNoPipe, ArgumentListIsTooLongForSearch, SearchWebHasTooManyParameters, SiteMapIsSlow.

How: The Search module first gets all topics in a web, then calls the external grep with sets of up to 512 files at a time.

-- PeterThoeny - 01 Nov 2003

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2004-08-20 - CrawfordCurrie
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2015 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.