Share » Forums » Extensions » eZ Find » OptimizeOnCommit enabled implies long...

OptimizeOnCommit enabled implies long publishing time?

OptimizeOnCommit enabled implies long publishing time?

Tuesday 14 April 2009 7:56:21 am - 4 replies

Author Message

Xavier Serna

Thursday 16 April 2009 12:38:43 am

Hi Carlos,

this is the same problem here with big indices. Each Optimize operation causes a regeneration of the whole index files, it's the reason for this publishing delay.
I believe that disabling optimize on commit and optimizing indices via cronjob once a day it's ok, we have these setup here too.

regards!

--
Xavier Serna
eZ Publish Certified Developer
Departament de Software
Microblau S.L. - http://www.microblau.net
+34 937 466 205

Carlos Revillo

Thursday 16 April 2009 12:47:54 am

Thanks Xavier,

Disabling it and setting the cron job seems to be a good solution.
Maybe eZ Systems can put a comment on the ezfind.ini talking about this.

Regards.

Jon Ramster

Tuesday 08 February 2011 8:03:00 am

Hello all

Sorry to add a reply to such an old thread, but we recently had the same problem. On Publishing the eZ Find Java process would max the CPU out for 25 seconds on a small site! We had no option but to disable this to get an acceptable speed...

Jon

Paul Borgermans

Tuesday 08 February 2011 11:47:30 am

Disabling optimize on commit is indeed something you should disable for any site that has more than a few hundres of objects (most do ;) )

You can set up a cron job that optimizes the index once a week or once a day. See the cronjobs directory in ezfind.

If commits are taking too long, consider using the commitWithin ini setting in eZ Find 2.3 (specifying a time that is 2x the average commmit time -- see the logs for that, tyoically i would recommend 5000, which is 5 secs). This is a bit like delayed indexing, but then handled by the backend Solr.

hth

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu