You are here: Foswiki>Tasks Web>Item10725 (05 Sep 2011, PaulHarvey)Edit Attach

Item10725: Some webs keep failing with "Could not perform search. Error was: query error: JS_NewObject failed for global"

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: MongoDBPlugin
Branches:
Reported By: PaulHarvey
Waiting For: PaulHarvey
Last Change By: PaulHarvey
The full log entry from the MongoDB side is attached.

I've seen it happen prior to my recent m4 update but now appears to be happening very regularly.

This can even cause MongoDB to segfault.

This error message is the target of this bug item, but came from a long running series of observations noted in Item10672.

I am turning up verbose logging as advised by Scott.

Apparently we've got periods in the db names. Can we filter them out? Scott seems to think they're a problem.

-- PaulHarvey - 09 May 2011

I'm pretty sure the cause is the same as Item10670. In fact, these may be considered duplicates, perhaps.

-- PaulHarvey - 13 May 2011

Here's one:

TaxonProfile/Definitions.FlOz_VolumeFigure: SEARCH{"(form.name='TaxonProfile.Relati
onships.RelationshipForm' OR form.name='TaxonProfile/Relationships.RelationshipForm' OR form.name='TaxonProfile/Relationships/Re
lationshipForm' OR form.name='TaxonProfile.Relationships/RelationshipForm' OR form.name='RelationshipForm') AND
                Source/Namespace = 'WC' AND Destination/Namespace = 'WC'

-- PaulHarvey - 18 May 2011

Also getting a lot of
SEARCH crash: System.DefaultWidgets: SEARCH{"1"...
Caused the following error:
Can't call method "getRevisionInfo" on unblessed reference

Even with mongo disabled

-- PaulHarvey - 18 May 2011

This is waiting on me to build the courage to turn off my memory-leak safeguards on the production site (daily restart, custom mongod with 8M -> 128M memory JS engine). And then to try to invent a test-case which is reproducible for the 10gen guys to work with.

-- PaulHarvey - 01 Jun 2011

Less urgent now - we run with mongod 1.9 (development releases), which doesn't seem to fall over even after a week between restarts.

-- PaulHarvey - 07 Jul 2011

This task seems to have run its course. Closing. See also Item10672

-- PaulHarvey - 05 Sep 2011

 

ItemTemplate edit

Summary Some webs keep failing with "Could not perform search. Error was: query error: JS_NewObject failed for global"
ReportedBy PaulHarvey
Codebase trunk
SVN Range
AppliesTo Extension
Component MongoDBPlugin
Priority Normal
CurrentState Closed
WaitingFor PaulHarvey
Checkins distro:9cf643e7a178 MongoDBPlugin:1a80d4c55d20
TargetRelease n/a
ReleasedIn n/a
I Attachment Action Size Date Who Comment
_seta.loglog _seta.log manage 12 K 09 May 2011 - 04:31 PaulHarvey mongod primary log
Topic revision: r10 - 05 Sep 2011, PaulHarvey
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy