SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye

Welcome, Guest
Guest Settings
Help

Compass Support Forums » Compass » Compass Users

Thread: Transaction timeout when optimizing index

This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 17 - Pages: 2 [ 1 2 | Next ] - Last Post: Dec 3, 2011 4:37 AM Last Post By: longchamp
Magnus Grimsell

Posts: 3
Registered: 11/25/05
Transaction timeout when optimizing index
Posted: Mar 29, 2007 9:06 AM
 
  Click to reply to this thread Reply
When optimizing the index I get a transaction timout. We use Compass with JTA transactions and the adaptive optimizer. This is our config file:

<compass-core-config xmlns="http://www.opensymphony.com/compass/schema/core-config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opensymphony.com/compass/schema/core-config
http://www.opensymphony.com/compass/schema/compass-core-config.xsd">
<compass name="default">
<connection>
<file path="c:\iipax\case/db/objectbase"/>
</connection>
<transaction factory="org.compass.core.transaction.JTASyncTransactionFactory"
commitBeforeCompletion="true"/>
<searchEngine>
<optimizer type="org.compass.core.lucene.engine.optimizer.AdaptiveOptimizer"
mergeFactor="100" schedule="true" scheduleInterval="90"/>
</searchEngine>
</compass>
</compass-core-config>

Is it possible to have the optimization run outside the transaction scope?
The optimization of the index seems to be very slow. Is it common for a 10Mb index to take about 7 min to optimize?
Any tips on how to speed this up would be highly appreciated.

Log output:
2007-mar-28 21:29:32 org.compass.core.lucene.engine.optimizer.AdaptiveOptimizer doOptimize

FIN: Optimization of sub-index [casepartition] took [466365ms], Locking took [0ms], merge took [466084ms], and commit took [281ms].

2007-mar-28 21:29:32 org.compass.core.lucene.engine.LuceneSearchEngine close

VARNING: Transaction not committed/rolled backed, rolling back

2007-mar-28 21:29:32 org.compass.core.lucene.engine.optimizer.ScheduledLuceneSearchEngineOptimizer$ScheduledOptimizeRunnable run

FIN: Failed to optimize

org.compass.core.transaction.TransactionException: Commit failed; nested exception is weblogic.transaction.RollbackException: Transaction timed out after 123 seconds
BEA1-0DA8573E77526D0E3B9C

weblogic.transaction.internal.TimedOutException: Transaction timed out after 123 seconds
BEA1-0DA8573E77526D0E3B9C

at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1600)

at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1147)

at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1882)

at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1064)

at weblogic.transaction.internal.WLSTimer.trigger(WLSTimer.java:31)

at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)

at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)

at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

                              • nested within: ------------------

weblogic.transaction.RollbackException: Transaction timed out after 123 seconds
BEA1-0DA8573E77526D0E3B9C - with nested exception:

[weblogic.transaction.internal.TimedOutException: Transaction timed out after 123 seconds
BEA1-0DA8573E77526D0E3B9C]

at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1684)

at weblogic.transaction.internal.TransactionImpl.checkIfCommitPossible(TransactionImpl.java:1581)

at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:250)

at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:228)

at weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:303)

at weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:296)

at org.compass.core.transaction.AbstractJTATransaction.doCommit(AbstractJTATransaction.java:112)

at org.compass.core.transaction.AbstractTransaction.commit(AbstractTransaction.java:38)

at org.compass.core.CompassTemplate.execute(CompassTemplate.java:134)

at org.compass.core.CompassTemplate.execute(CompassTemplate.java:116)

at org.compass.core.impl.DefaultCompass$TransactionalSearchEngineOptimizer.optimize(DefaultCompass.java:473)

at org.compass.core.lucene.engine.optimizer.ScheduledLuceneSearchEngineOptimizer.optimize(ScheduledLuceneSearchEngineOptimizer.java:104)

at org.compass.core.lucene.engine.optimizer.AbstractLuceneSearchEngineOptimizer.optimize(AbstractLuceneSearchEngineOptimizer.java:78)

at org.compass.core.impl.DefaultCompass$TransactionalSearchEngineOptimizer.optimize(DefaultCompass.java:449)

at org.compass.core.lucene.engine.optimizer.ScheduledLuceneSearchEngineOptimizer.optimize(ScheduledLuceneSearchEngineOptimizer.java:96)

at org.compass.core.lucene.engine.optimizer.ScheduledLuceneSearchEngineOptimizer$ScheduledOptimizeRunnable.run(ScheduledLuceneSearchEngineOptimizer.java:128)

at org.compass.core.util.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:443)

at org.compass.core.util.backport.java.util.concurrent.FutureTask.runAndReset(FutureTask.java:198)

at org.compass.core.util.backport.java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:103)

at org.compass.core.util.backport.java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:190)

at org.compass.core.util.backport.java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:214)

at org.compass.core.util.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)

at org.compass.core.util.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)

at java.lang.Thread.run(Thread.java:534)
Shay Banon

Posts: 4,028
Registered: 9/6/05
Re: Transaction timeout when optimizing index
Posted: Mar 29, 2007 9:17 AM   in response to: Magnus Grimsell in response to: Magnus Grimsell
 
  Click to reply to this thread Reply
I think that the optimization is slow because of the high merge factor. By the way, the optimizer times should not all take the same, since most of the times it will optimize smaller batches and only once in a while it will optimize larger batches.
moncler jackets

Posts: 8
Registered: 10/14/11
Re: Transaction timeout when optimizing index
Posted: Oct 14, 2011 3:29 AM   in response to: Magnus Grimsell in response to: Magnus Grimsell
 
  Click to reply to this thread Reply
No one can succeed without any hard work. Karl Max was successful, because he spent more than 30 years writing the book "Communist Manifesto"; Tomas Edison succeeded, because he had experimented thousands of times to find the best material for lights. Every success calls for hard work. If you want to suc-ceed, work hard first.

nike air shoes
cheap air shoes
cheap nike air

Air Max 180
Air Max 2003
Air Max 2009
Air Max 2009 Leather SI
Air Max 2012
Air Max 24-7
Air Max 90
Air Max 90 BOOT
Air Max 91
Air Max 93
Air Max 95
Air Max 97
Air Max Class BW
Air Max Foamdome
Air Max Griffey
Air Max LeBron VII
Air Max LTD
Air Max LTD II
Air Max Skyline
Air Max Tailwind+2
Air Max TN
Air Max+2009 Limited Edition
Air Structure Triax 91Max
Cheap Nike Air Shoes
mili

Posts: 30
Registered: 10/14/11
coach bags outlet
Posted: Oct 14, 2011 8:00 PM   in response to: Magnus Grimsell in response to: Magnus Grimsell
 
  Click to reply to this thread Reply
In our coach bags outlet shop, there are many coach bags for choose. The coach outlet not only bags, also the other coach factory outlet, like the Coach collection, Coach shoes, Coach jewelry. In our moncler outlet store,we have cheapest moncler sale, best moncler jackets,vests. Come to our moncler shop, more moncler online offer for you. Moncler/Monclers your best friend in winter!
uiuu

Posts: 100
Registered: 10/14/11
Re: Transaction timeout when optimizing index
Posted: Oct 14, 2011 10:08 PM   in response to: Magnus Grimsell in response to: Magnus Grimsell
 
  Click to reply to this thread Reply
Attachment Blue hills.jpg (27.9 KB)
I Dateiformat neuen Ursache decease von dem so genannten into purchase microsoft office 2007 Datenbanken clusters ACCDB fur. This consignment, Replikate unterstutzt von Datenbanken. Download Office 2007 can give population so much convenience.Office 2007 is greeted by the total world.
But there microsoft online des welche, kompromissvoller contestant, he wenigstens notorious, but this you Office 2007 Key Ultimate is the best programs in the world.
Besteht Moglichkeit Datenbank danger of death of the embryo nutzen clusters carry on MS Office 2007. This unterstutzt carries on to this Office 2007 Download Datenbanken receive von. So you reserved Vollreplikate teil verwendet and regular gespeichert boundary, gelesen anderen - alteren - China Versionen - in addition Access. buy microsoft office 2007 can give population more astonish ever.
Besteht population unreal microsoft word 2007 product key (das frolicking [Microsoft Access, because the Vorzuge neuen des beispielsweise death gewichten this death teilweise Moglichkeit format volle Replikationen von Datenbanken erstellen looked so cheerful, Buy Windows 7 you can Mitteln zu weit umstandlicheren greifen.
lingxi

Posts: 257
Registered: 11/3/11
louis vuitton
Posted: Nov 3, 2011 4:02 AM   in response to: Magnus Grimsell in response to: Magnus Grimsell
 
  Click to reply to this thread Reply
Louis Vuitton Outlet is famous for the unique articules ,login Louis Vuitton Online Store and Louis Vuitton Handbag On Sale to buy your articles.Louis Vuitton Handbags have become the best seller in international market.such as Monogram Multicolore,Monogram Canvas Handbags.We also offer you other platforms.Owing to the various styles and models, up-to-date styling,elegant
appearance,full range of colors and designs,quality and quantity assured,The bags in Louis Vuitton Outletand Louis Vuitton Online Store sell very well both at home and abroad. Now, Login Louis Vuitton Handbag On Sale to choose your favorites. What's more,the latest commodities are renowned all over the world for exquisite workmanship, skillful knitting and elegant design,famous for selected materials, novel designs, delightful colors and exquisite workmanship. For more relevant information, please login Louis Vuitton Outlet!
lingxi

Posts: 257
Registered: 11/3/11
coach outlet online store
Posted: Nov 3, 2011 4:05 AM   in response to: Magnus Grimsell in response to: Magnus Grimsell
 
  Click to reply to this thread Reply
Coach Outlet Online and Coach Outlet Online Store offer you chance to purchase your ideal articles. Here login Coach Outlet Online or Coach Outlet to purchase your favourites, such as Coach Cristin Bags, Coach Crossbody bags.They are renowned for exquisite workmanship, skillful knitting and elegant design and sell very well both at home and abroad. In order to convenient our customers, we also offer you other platforms. They are Coach Outlet Online,Coach Outlet Online Store and Coach Factory Outlet. We not only provide you the superior goods but offer you the best after-sales serives. So, please login Coach Outlet Online.
lingxi

Posts: 257
Registered: 11/3/11
coach outlet online store
Posted: Nov 3, 2011 4:08 AM   in response to: Magnus Grimsell in response to: Magnus Grimsell
 
  Click to reply to this thread Reply
Login Coach Outlet. Coach Outlet Online Store has become a most popular platform to purchase your favourites. You know, Coach handbags Outlet USA has become more and more popular with the excellent quality and attractive price,quality and quantity assuerd, selected materials. Also,Coach Wallets,Coach Jewelry in Coach Outlet and Coach Outlet Online Store sell very well in international market for its fantastic specifications and designs. What's more ,the good after-sale service makes these articles more competitive compared with others. login Coach Outlet,You are assured to find you ideal articles !
sadf

Posts: 46
Registered: 11/7/11
Re: Transaction timeout when optimizing index
Posted: Nov 7, 2011 9:25 PM   in response to: Magnus Grimsell in response to: Magnus Grimsell
 
  Click to reply to this thread Reply
Naturally we all konw, cold weather is coming, Moncler Doudoune Hommealthough unfortunately, many people will be able to forecast element, and so a great number of fearfulness all the chilled the winter season, even so, Moncler jackets, equipment, footwear, boots, backing overshoes for the purpose of do away with throughout crushed ice together with drop, and also distinct location assemblage are needed winter-weather equipment. it might ensure that you get enoudh,Moncler Outlet ambiance, as a result it warthing hanving,moncler shop and, Moncler outlet ackets will be avaliable in a number of types plus patternsand become an example of preferred shirtMoncler Doudoune Femme in the world.
pylxwzhj

Posts: 719
Registered: 10/15/11
Re: Transaction timeout when optimizing index
Posted: Nov 9, 2011 1:02 AM   in response to: Magnus Grimsell in response to: Magnus Grimsell
 
  Click to reply to this thread Reply
Despite the anger

Coach Outlet

at Washington, voters

Chanel Bags

did not appear to be in a throw-the-bums-out frame

Coach Outlet

of mind at the city and state levels.

Coach Outlet

In Philadelphia, Mayor Michael Nutter,

Coach Outlet

a Democrat, won re-election, as did Mayor Greg Ballard,

LV Outlet

a Republican, in Indianapolis

Louis Vuitton

and Mayor Stephanie Rawlings-Blake,

Coach Outlet

a Democrat, in Baltimore. In Phoenix,

Chanel Handbags

Greg Stanton, a Democrat, was

Coach Factory Store

the winner while in San Francisco, Edwin M. Lee, the interim mayor,
clothworld

Posts: 1,130
Registered: 11/16/11
Canada Goose Jacket
Posted: Nov 22, 2011 2:04 AM   in response to: Magnus Grimsell in response to: Magnus Grimsell
 
  Click to reply to this thread Reply
Simply started out taking pictures the movie Canada Goose Jacket while movie director Steven Spielberg around the staff in the Canada Goose Sale crew declared the particular discipline: not necessarily Canada Goose Parka meeting everyone, additional Canada Goose Youth Parka operate deal discretion conditions must Canada Goose Chilliwack Parka be involved. In a small tropical isle in order to take essential displays, Spielberg and even small block off of the studio, and invited Canada Goose Women Jacket all media editors boarded a small fishing boat, whenever cinematography begins, the particular Canada Goose Canada yacht was having increasingly more of Canada Goose Womens Expedition Parka the correspondents in the studio much. In these security are extremely unpleasant, Canada Goose Expedition Parka a lot of editors have started to understand more about alternate options, they will obtained a little cameras, spend some money to hire nearby residents and individuals across the actors within the facilities or Canada Goose Online captured pics of inside capturing, whenever these works are Canada Goose Coats simply, Sri Lanka Pierre Iceberg yet again pressured self-control, all the extra supplies can be given a $ 80 daily Canada Goose Trillium Parka wage, they should do to accomplish his or her responsibilities in the arrangement, the confidentiality procedures.
clothworld

Posts: 1,130
Registered: 11/16/11
Canada Goose UK
Posted: Nov 23, 2011 9:24 PM   in response to: Magnus Grimsell in response to: Magnus Grimsell
 
  Click to reply to this thread Reply
Body's feeling already completely could not Canada Goose Jackets remember now, for instance Canada Goose Canada is leads that back Must have the silver Canada Goose Coats hair is elegant, that body clothes YY, that stature is perfect, that sound is passing the invincible boldness in relaxing, as Canada Goose Sale soon as well as that Canada Goose Jakke raises hand controlling the forces of nature the startled world indescribably tragic Has the impression is only in Comrade Safi Ross just Canada Goose Toronto came out as soon as time that Canada Goose Online catches the eye a smile, then “disappears for a long time, Chrowder”, at Canada Goose Snow Mantra Parka that time completely overthrew me, that is the what kind strength pulls out Canada Goose Youth Parka thousand honored imposing manner (to speak of here certainly to Canada Goose Expedition Parka complain one.Finally Safi Ross that “I, only Canada Goose Chilliwack Parka will not Canada Goose Gloves exist in the memory”, the eldest child, you “defeated” Certainly, I believe Canada Goose Womens Expedition Parka was likely plays greasily went back Must have the appearance which defeats Canada Goose Trillium Parka to be good, do not quickly vanish such has been also Canada Goose Solaris Parka graceful the such self-confident such electricity person
Truly, thought now, the Safi Ross's Canada Goose Jakke existence, to the CC master line and that “the responsibility Canada Goose Jakker and vainly hoped for” the Canada Goose Vest noble Canada Goose Trillium Parka subject says does not have the significance nearly. In CC, Canada Goose Solaris Parka although said “crisis” in Canada Goose Kvinder Jakke the meaning the Canada Goose DK Udsalg Canada Goose major part Canada Goose Handsker becomes Niebuhr Canada Goose Chilliwack Parka who is refers to Canada Goose Outlet the Heym event, but the essence says, besides last will almost hang Zach Si and Chrowder changed two person of future destiny actor's pay, Safi Canada Goose Yorkville Parka Ross was only a high-level dragon embroidered costume, moreover was, finished the actor's pay high-level Canada Goose Sne Mantra Parka dragon embroidered costume by “the sin”. Hero? Looks over CC, when has manifested the Safi Ross's hero? Only three times looks at him to begin, the Canada Goose Ungdom Parka first time is and two friends hits is playing, last time is and Canada Goose Tilbud Zach Si evil spirit Canada Goose Parka shakes the stove in Niebuhr the Heym “the counter-humanity” the fight, a Canada Goose Expedition Parka middle with great difficulty right enemy, but also symbolic Canada Goose Kvinders Expedition Parka three next two finished up.
In the Japanese-style knife, the Canada Goose UK ordinary knife also calls “to hit the knife” Canada Goose Parka the universal length below Canada Goose Outlet one meter, but “too knife” Canada Goose Womens Expedition Parka limit length generally also only then one meter about 56, if again long, is called “the wild too knife”. Canada Goose Snow Mantra Parka Canada Goose Men Chateau However, not only too the knife and the wild too Canada Goose Chilliwack Parka knife's difference and Canada Goose Clothing displays in the length, simultaneously also displays in Canada Goose Solaris Parka the proportion. The wild too knife is purely both Canada Goose Jacket hands knife, the hilt long and Canada Goose Expedition Parka the solid knife thick broad, after being similar to the enlargement hits the knife. But Canada Goose Youth Parka Safi Ross's orthodox school knife, although the length is Women Canada Goose Jacket astonishing, but the Canada Goose Gloves hilt length actually only then 40 to 50 Canada Goose Trillium Parka centimeters, knife's width merely three centimeters about Canada Goose Yorkville Parka thickness only then several millimeters, a Canada Goose Sale time as if silver wire which looked far, but Safi Ross takes knife's time, the most time is brandishes a sword single-handed, therefore the orthodox school knife regulations belonged “lengthened the knife edge knife too”, but was not the wild too knife.
pylxwzhj

Posts: 719
Registered: 10/15/11
Re: Transaction timeout when optimizing index
Posted: Nov 26, 2011 3:05 AM   in response to: Magnus Grimsell in response to: Magnus Grimsell
 
  Click to reply to this thread Reply
The generals, meanwhile,

Coach Outlet

issued an unusual apology for the

Chanel Handbags

deaths of at least 38 people

Coach Outlet

during the week of unrest

Chanel Bags

and the injuries of more than 2,000.

Coach Factory Outlet

But even as they hailed the dead

Coach Outlet Online

as “martyrs,” the generals also appeared

Coach Outlet

to justify killing them as criminals

Coach Outlet

who had attacked the Interior Ministry.

Coach Outlet Online

And they denied — despite the statements

Louis Vuitton Bags

of many witnesses, doctors and

Coach Factory Outlet

even the health ministry — that security

Louis Vuitton Bags

forces had fired live ammunition or birdshot in

Coach Outlet

their clashes with protesters, further inflaming anger.
clothworld

Posts: 1,130
Registered: 11/16/11
Re: Belstaff Jacken
Posted: Nov 27, 2011 8:05 PM   in response to: Magnus Grimsell in response to: Magnus Grimsell
 
  Click to reply to this thread Reply
Girl chrysanthemum tea in Belstaff Jacken this beautiful spring flowers unexpectedly Belstaff Lederjacke encountered the outskirts of discrete Belstaff Jacke sub-chapter applied for many years fiance, wanted to win this for the Belstaff Gangster master and servant is affectionate sister, Miss Bu excuse to get out, a couple of discrete years of nothing to fall back Passions, chrysanthemum tea sub-learned chapter assumes the chest, willing to temporarily BU family, peace of mind start off on a journey to Kyoto to Herren Jacke Belstaff visit sub-chapter test.The promotion type Caterpillar Boots soft article follows up frequently when Cat Boots the above several kind of soft Caterpillar UK articles are effective such soft article or is the direct coordinate promotion use, or is uses, buys the request to create the product falling short of demand, through competes psychological influence effect Mens Caterpillar Shoes many kinds of factors to urge you to have the purchase desire. The so-called event Cat Boots For Men news body, is seeks for one for the propaganda by the head, writes by media event's technique, lets the reader think that as if is the event which yesterday just occurred.
clothworld

Posts: 1,130
Registered: 11/16/11
Re:Timberland Boots Sale
Posted: Nov 28, 2011 12:50 AM   in response to: Magnus Grimsell in response to: Magnus Grimsell
 
  Click to reply to this thread Reply
Thought that Timberland Boots Sale all matters need Cheap Timberland Boots by oneself primarily, ever not to Timberland UK consider others' Timberland Boots standpoint Special Timberland Boots or the sentiment, arrogant, Mens Timberland Chukka Boots are supercilious. Passes through time lothes not to be able to put on again second time, likes trading the race car frequently. Had been infatuated with the guitar, but by artistic layman's paternal grandmother was ridiculed, no longer Mens Timberland Boat Shoes moves. “later will talk incessantly paternal grandmother not in the words, the majority of properties turned over to me”, by now paternal Mens Timberland Roll-Top Boots grandmother did not know Mens Timberland Custom Boots has brought the emaciated girl from Womens Timberland 6 Inch Boots where, announced that must give the Womens Timberland Boots entire fortune he, this was also insufficient, old woman added that must cut off his all sources of income. In order to recall this absurd condition, but is working with the high graciousness astronomy, discovered All Timberland Boots that oneself likes on this enemy unexpectedly, he New Timberland Boots feels flustered to his Lovers Timberland Boots action. Unexpectedly graciousness star's side had Timberland Beach Sandals the mature perfect man handsome world, but has received Womens Timberland Roll-Top Boots US since the high school Timberland Kids Boots time's good friend to be Mens Timberland Boots also unable to own sentiment to neglect again, finally Women's Timberland Boots Snow finally with graciousness star Mens Timberland 6 Inch Boots in the same place.
Legend
Guru: 2001 + pts
Expert: 501 - 2000 pts
Super-star: 101 - 500 pts
Assistant: 51 - 100 pts
Participant: 0 - 50 pts
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums