mysql - Facing trouble with Sphinx Indexer Update -


i have sphinx (version sphinx 2.0.5-release ) running on server. faced problem indexing. have cron set runs every 2 hours , rotates indexers. problem database fields got updated data. corresponding indexers failed updated data. sphinx running , not stopped.

is there way check if indexer updated ? or time last updated ? can notify myself after every indexer rotation indexer updated ?

is there way check if indexer updated ?

can capture output of indexer, , pipe log file.

3 */2 * * * * indexer | ts >> /var/log/indexer

or time last updated ?

well can check file dates of index files check when index regenerated. useful show example indexer created indexes (with .new. in filename) searchd hasnt loaded them.

so can notify myself after every indexer rotation indexer updated ?

generally using email feature of cron pretty good. http://www.cyberciti.biz/faq/linux-unix-crontab-change-mailto-settings/

use --quiet indexer, outputs errors.

... if want can check integrity, need application specific. understands content of data. eg if there is index updates continouslly, run a sphinx query, , check there records in last few hours. or run database query, , sphinx query, , compare output. run script regulally via cron too.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -