On a vanilla OACS 4.5/ Postgres 7.2.1 install, I added about
2 gigs of static content (a mix of HTML and image files) in
a subsite and let the "Static pages" module loose on that
subsite. The initial indexing run already took a couple
of days, I think (fortunately, I was able to escape on
vacation). After starting this, the site was usable only
when I re-niced the running nsd/ postmaster processes to
a lower priority.
Now, after a database/ server restart, it looks like
search_indexer is taking up all of the machine's
time (and, over time, memory too). Even with re-nicing,
many pages on the site (especially the Site Map) are
unusable.
The log shows many instances of this...
NOTICE: identifier "acs_object_util__get_object_type" will be truncated to "acs_object_util__get_object_typ"
... and, more seldom, this:
[11/Dec/2002:16:06:13][16005.2051][-sched-] Error: Ns_PgExec: result status: 7 message: ERROR: Cannot insert a duplicate key into unique index index12_key
[11/Dec/2002:16:06:13][16005.2051][-sched-] Error: Aborting transaction due to error:
Database operation "dml" failed
I am only guessing here, but it seems as if these messages
come out of the search_indexer procedure...
My guess at this time is that the initial indexer run did not
finish at all, and search_indexer is trying to look
at the whole 2 gigs of HTML and images again. Is this
really supposed to be this slow, and is patience my only
hope? Or can I do anything to make this go
faster?
Alternatively, how can I pull the 2 gigs of stuff out of
OACS without breaking data integrity or anything else? Is
it enough to simply move the directory to a different name?
Thanks for any help!
Helge