failed to enable thread support on FreeBSD 7.0

0 views
Skip to first unread message

foxbab

unread,
Oct 8, 2008, 5:43:12 AM10/8/08
to memcachedb
Hi all:

I've managed to install memcachedb-1.0.4 on my server running
FreeBSD 7.0.

It works ok through the comand line,however I failed to enable the
thread support when running as a daemon.

I tried :

/usr/local/bin/memcachedb -p21201 -d -r -u root -f test.db -H /usr/
local/memcachedb/ -P /usr/local/memcachedb/logs/21201.pid -O
192.168.0.1:31201 -R 192.168.0.2:31201 -S

Server 192.168.0.1 is the master.

It seems that everything is okay, and I can see the process by
typing "ps aux|grep memcachedb", but when I tried to telnet to it and
type " stats ", nothing appeared.

Then I add the parameter "-t 1" where launching the daemon, and it
works fine.

By the way, It works fine on FreeBSD 6.0. So I think it may be a
problem caused by the change of thread implementation in FreeBSD 7.0,
that is libthr replaced libpthread as the default thread
implementation.

Could anyone help about this?

thanks all. :-)

Reply all
Reply to author
Forward
0 new messages