求助freebsd下 sphinx 2.0.3 启动出错

匿名t3a 发布于 2012/02/04 12:37
阅读 374
收藏 0
freebsd 8 64bit
sphinx 2.0.3

 /usr/local/sphinx/bin/searchd 启动
出现
WARNING: process shared mutex unsupported, MVA update disabled ( pthread_mutexattr_setpshared, errno = 22 )

是什么原因 

GG了很久没到解决办法


sphinx 配置

source src

{

type = mysql

sql_host = local

sql_user = root

sql_pass = 123456

sql_db = dbname

sql_port = 3306

sql_query_pre =  SET NAMES utf8

 

sql_query = SELECT id, trade,city,companyname, description,status FROM company

sql_attr_uint = status

#sql_attr_multi = uint trade from field

sql_query_info = SELECT * FROM companyWHERE id=$id

}

 

index test

{

source = src

path = /usr/local/sphinx/var/data/test1

# docinfo = extern

# charset_type = sbcs

 

        docinfo                 = extern

        mlock                   = 0

        morphology              = none

        min_word_len            = 1

        charset_type            = utf-8

        min_prefix_len          = 0

        html_strip              = 1

        charset_table           = 0..9, A..Z->a..z, _, a..z, U+410..U+42F->U+430..U+44F, U+430..U+44F

        ngram_len               = 1

        ngram_chars             = U+3000..U+2FA1F

}

 

indexer

{

mem_limit = 32M

}

 

 

searchd

{

# listen = 9312

# listen = 9306:mysql41

listen = /usr/local/sphinx/var/log/sphinx.sock

log = /usr/local/sphinx/var/log/searchd.log

query_log = /usr/local/sphinx/var/log/query.log

read_timeout = 5

max_children = 30

pid_file = /usr/local/sphinx/var/log/searchd.pid

max_matches = 1000

seamless_rotate = 1

preopen_indexes = 1

unlink_old = 1

compat_sphinxql_magics = 0

mva_updates_pool = 32M

workers = fork

#workers = none # fork

}


加载中
0
匿名t3a
匿名t3a
FreeBSD 8.2-RELEASE
返回顶部
顶部