Skip to main content.
home | support | download

Back to List Archive

SWISH-e on OS X - not completing.

From: Worth Bishop <wbishop(at)not-real.twosensemedia.com>
Date: Tue Oct 17 2006 - 15:49:20 GMT
Problem:  SWISH-E does not seem to complete indexing large directory (2.1 
Gb, 252 subdirectories, mostly MP3, MP4, m4a files of 1 to 15Mb) on Mac OS X 
box.

Works & completes normally on smaller directories with few subdirectories.

Correction efforts:  Combed mailing list archives & Googled. Found similar 
but different issues, some 5 years old, nothing to offer solution. Tried 
economy mode.

System specs:

     SWISH-E 2.4.3
     MAC OS X Server 10.4.7 (8jl35)
     Processor:  2 x 2.3 GHz
     Memory:  2048 MB

Swish.conf:

     # Swish configuration file.

     # What directory to index
     IndexDir /Volumes/data/weblogs
     IndexDir 
/Library/Tomcat/blojsom_root/webapps/ROOT/blojsom_resources/meta

     # Output file
     IndexFile /Volumes/data/swish_index/weblogs.swish

     # What files to index
     IndexOnly .htm .html .txt .mp3

     # Tell Swish-e that .txt files are to use the text parser
     IndexContents TXT* .txt .meta

     # Otherwise, use the HTML parser
     DefaultContents HTML*

     # Replacing path info
     ReplaceRules replace "/Volumes/data/weblogs" "/weblog"
     ReplaceRules replace "/Library/Tomcat/blojsom_root/webapps/ROOT/" "/"

Command line command - first attempts:

     Command:   /usr/local/bin/swish-e -c 
/Volumes/data/swish_index/gpswish.conf

     After 18 hours, top reports:

      PID     COMMAND      %CPU   TIME      #TH   #PRTS  #MREGS  RPRVT 
RSHRD  RSIZE   VSIZE
     11958     swish-e               0.0%    8:58:44       1          13 
11203    1.66G     444K     1.42G    2.76G

     Files created:

     weblogs.swish.prop.temp
     weblogs.swish.temp

Command line command - second attempt in economy mode (after upping file 
limit):

     Command:   /usr/local/bin/swish-e -e -c 
/Volumes/data/swish_index/gpswish.conf

     After 1 hour, top reports:
    PID     COMMAND      %CPU   TIME      #TH   #PRTS  #MREGS  RPRVT  RSHRD 
RSIZE   VSIZE
   19074       swish-e             99.9%   49:10.59    1         13 
1764       434M+    668K   434M+   463M+

    Files created:

    627 swtmploc###  files
    weblogs.swish.prop.temp
    weblogs.swish.temp

Note:  I've used SWISH-E for several years on a FreeBSD box with few 
problems - works great. Fairly new to OS X...

Any thoughts/suggestions would be greatly appreciated.
Received on Tue Oct 17 08:49:30 2006