Comments (10)
我也是: GDB 跟踪:
(gdb) set args -c /root/opensource/phxqueue/etc/store_server.0.conf
(gdb) r
Starting program: /root/opensource/phxqueue/bin/store_main -c /root/opensource/phxqueue/etc/store_server.0.conf
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Could not create logging file: No such file or directory
COULD NOT CREATE A LOGGINGFILE 20170914-050051.5153!Could not create logging file: No such file or directory
COULD NOT CREATE A LOGGINGFILE 20170914-050051.5153!Could not create logging file: No such file or directory
COULD NOT CREATE A LOGGINGFILE 20170914-050051.5153!ERR: MakeArgs ret -1
[Inferior 1 (process 5153) exited with code 0377]
from phxqueue.
你好,我们查一下原因。
from phxqueue.
我的也是./bin/store_main -c ./etc/store_server.0.conf
Segmentation fault (core dumped)
from phxqueue.
+1
from phxqueue.
Fixed。是一个日志组件引起的core,用临时措施先规避了。后面我们会完全修复这个bug。
Fixed. There is some issue in log component that causes the core, it has avoided by temporary measures. We'll fix this bug completely later.
1cc429a
from phxqueue.
重新编译成功后,执行程序报了如下错误
[root@localhost phxqueue-master]# bin/store_main -c etc/store_server.0.conf
server already started, 1 io threads 10 workers
listen succ, ip 127.0.0.1 port 5100
[root@localhost phxqueue-master]# bin/store_main -c etc/store_server.1.conf
server already started, 1 io threads 10 workers
listen succ, ip 127.0.0.1 port 5200
[root@localhost phxqueue-master]# bin/store_main -c etc/store_server.2.conf
store_server.2没有输出
[root@localhost phxqueue-master]# ps -ef|grep store_main
root 11765 2811 10 19:27 pts/1 00:01:44 bin/store_main -c etc/store_server.0.conf
root 12467 12420 10 19:28 pts/2 00:01:34 bin/store_main -c etc/store_server.1.conf
root 13298 12445 0 19:33 pts/3 00:00:00 bin/store_main -c etc/store_server.2.conf
root 13544 13415 0 19:43 pts/5 00:00:00 grep store_main
[root@localhost phxqueue-master]# bin/consumer_main -c etc/consumer_server.0.conf
[root@localhost phxqueue-master]# bin/test_producer_echo_main
produce echo "jrDe7nbYgZ" failed return 10105!
[root@localhost consumer.0]# tail -f test.ERROR
E0914 19:40:32.338951 13196 logger_google.cpp:79] ERR: PN8phxqueue8consumer8ConsumerE::ChildRun:499 DoLock ret -1 vpid 35
E0914 19:40:34.339504 13196 logger_google.cpp:79] ERR: P10LockClient::ProtoGetLockInfo:170 phxrpc Open err. ip 127.0.0.1 port 7100
E0914 19:40:34.349123 13196 logger_google.cpp:79] ERR: PN15phxqueue_phxrpc8consumer8ConsumerE::GetLockInfo:92 ProtoGetLockInfo ret -1
E0914 19:40:34.349733 13196 logger_google.cpp:79] ERR: P10LockClient::ProtoGetLockInfo:170 phxrpc Open err. ip 127.0.0.1 port 7200
E0914 19:40:34.350112 13196 logger_google.cpp:79] ERR: PN15phxqueue_phxrpc8consumer8ConsumerE::GetLockInfo:92 ProtoGetLockInfo ret -1
E0914 19:40:34.350487 13196 logger_google.cpp:79] ERR: P10LockClient::ProtoGetLockInfo:170 phxrpc Open err. ip 127.0.0.1 port 7300
E0914 19:40:34.350874 13196 logger_google.cpp:79] ERR: PN15phxqueue_phxrpc8consumer8ConsumerE::GetLockInfo:92 ProtoGetLockInfo ret -1
E0914 19:40:34.352484 13196 logger_google.cpp:79] ERR: PN8phxqueue8consumer13HeartBeatLockE::DoLock:724 ERR: GetLockInfo ret -1
E0914 19:40:34.353129 13196 logger_google.cpp:79] ERR: PN8phxqueue8consumer13HeartBeatLockE::Lock:785 ERR: DoLock ret -1 vpid 35
[root@localhost log]# tail -f store.0/test.ERROR
E0914 19:48:22.315274 14309 logger_google.cpp:79] ERR: PN8phxqueue5store16KeepMasterThreadE::KeepMaster:245 MASTERSTAT: ERR: Propose err. paxos_ret 404 paxos_group_id 15 buf.length 27
E0914 19:48:23.815553 14309 logger_google.cpp:79] ERR: PN8phxqueue5store16KeepMasterThreadE::KeepMaster:245 MASTERSTAT: ERR: Propose err. paxos_ret 404 paxos_group_id 18 buf.length 27
E0914 19:48:25.342494 14309 logger_google.cpp:79] ERR: PN8phxqueue5store16KeepMasterThreadE::KeepMaster:245 MASTERSTAT: ERR: Propose err. paxos_ret 404 paxos_group_id 21 buf.length 27
E0914 19:48:26.842792 14309 logger_google.cpp:79] ERR: PN8phxqueue5store16KeepMasterThreadE::KeepMaster:245 MASTERSTAT: ERR: Propose err. paxos_ret 404 paxos_group_id 24 buf.length 27
E0914 19:48:28.291803 14309 logger_google.cpp:79] ERR: PN8phxqueue5store16KeepMasterThreadE::KeepMaster:245 MASTERSTAT: ERR: Propose err. paxos_ret 404 paxos_group_id 27 buf.length 27
E0914 19:48:30.233376 14309 logger_google.cpp:79] ERR: PN8phxqueue5store16KeepMasterThreadE::KeepMaster:245 MASTERSTAT: ERR: Propose err. paxos_ret 404 paxos_group_id 30 buf.length 27
E0914 19:48:31.734184 14309 logger_google.cpp:79] ERR: PN8phxqueue5store16KeepMasterThreadE::KeepMaster:245 MASTERSTAT: ERR: Propose err. paxos_ret 404 paxos_group_id 33 buf.length 27
E0914 19:48:33.518514 14309 logger_google.cpp:79] ERR: PN8phxqueue5store16KeepMasterThreadE::KeepMaster:245 MASTERSTAT: ERR: Propose err. paxos_ret 404 paxos_group_id 36 buf.length 27
E0914 19:48:35.019265 14309 logger_google.cpp:79] ERR: PN8phxqueue5store16KeepMasterThreadE::KeepMaster:245 MASTERSTAT: ERR: Propose err. paxos_ret 404 paxos_group_id 39 buf.length 27
E0914 19:48:37.500082 14309 logger_google.cpp:79] ERR: PN8phxqueue5store16KeepMasterThreadE::KeepMaster:245 MASTERSTAT: ERR: Propose err. paxos_ret 404 paxos_group_id 42 buf.length 27
请帮忙查看,非常感谢~
from phxqueue.
Set skip_lock = 1 in topicconfig.conf if not use Lock.
Set use_dynamic_scale = 0 in topicconfig.conf if not use Scheduler.
若未部署Lock和Schedluer,请参阅README如上修改这两项配置。
或者pull最新代码 5c1b8c8 ,最新代码的etc/topicconfig.conf
中已按如上修改。
from phxqueue.
能不能提供一个docker image的下载地址,pull国外的镜像老是超时 :-(
from phxqueue.
docker pull phxqueue/phxqueue
把镜像加速设置成阿里的加速地址。。
话说这个phxqueue的镜像真的是太大了。 1.42GB.
from phxqueue.
docker 启动的时候执行/usr/local/bin/docker-entrypoint.sh命令,导致想kill掉这些进程的时候出现好多僵尸进程kill不掉,这种方式不太好
root 8 1.4 0.0 0 0 ? Zs 09:50 1:05 [store_main]
root 10 1.4 0.0 0 0 ? Zs 09:50 1:06 [store_main]
root 12 0.0 0.0 0 0 ? Zs 09:50 0:00 [consumer_main]
root 14 0.0 0.0 0 0 ? Zs 09:50 0:00 [consumer_main]
root 16 0.0 0.0 0 0 ? Zs 09:50 0:00 [consumer_main]
root 18 1.2 0.0 0 0 ? Zs 09:50 0:55 [lock_main]
root 20 1.1 0.0 0 0 ? Zs 09:50 0:55 [lock_main]
root 22 1.1 0.0 0 0 ? Zs 09:50 0:55 [lock_main]
root 23 0.0 0.0 0 0 ? Z 09:50 0:00 [consumer_main]
root 24 0.0 0.0 0 0 ? Z 09:50 0:00 [consumer_main]
root 25 0.1 0.0 0 0 ? Z 09:50 0:05 [consumer_main]
from phxqueue.
Related Issues (20)
- bash build.sh 报错 HOT 1
- make[1]: *** 没有规则可以创建“test_propose_batch”需要的目标“test_propose_batch.o”。 停止 HOT 1
- 有计划支持C#的时间表吗 HOT 27
- PhxQueue可以用于跨大洲的消息队列吗?如果可以,性能和实时性如何? HOT 2
- 是否支持延迟投递的消息 HOT 1
- make报错 error: 'BaseDispatcher' in namespace 'phxrpc' does not name a template type HOT 1
- 启动store_server 报错 HOT 1
- should be auto read_sz = fread(buf.get(), 1, fileStat.st_size, fp ); instead of auto read_sz = fread(buf.get(), fileStat.st_size, 1, fp ) ?
- phxqueue文档能否丰富下? HOT 1
- 自动build失败 HOT 1
- Branch master sha1 df6c8de, git submodule phxrpc did not contain a1b7ce5c5ae633bac3d9df85ee874a1e8a82d353 HOT 2
- 执行build.sh编译,报错 HOT 3
- 消息队列与消息总线 HOT 1
- KeepSyncThread master 5s做一次消费进度同步,主从自动切换时会不会导致重复消费? HOT 1
- phxqueue/phxqueue/comm/utils/memory_util.h
- 假如一个storeId三个节点,某一个paxos instance实例slave所在节点重启,另外一个slave数据又有落后,可能会直接导致客户端消息发送失败?
- phxqueue的运行环境
- build.sh 出错
- phxqueue/producer/producer.cpp:105中打印顺序反了导致coredump
- 问下这个开源项目还有人维护吗? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phxqueue.