Giter VIP home page Giter VIP logo

Comments (10)

shangmacun avatar shangmacun commented on September 1, 2024

我也是: 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.

unixliang avatar unixliang commented on September 1, 2024

你好,我们查一下原因。

from phxqueue.

tinyshu avatar tinyshu commented on September 1, 2024

我的也是./bin/store_main -c ./etc/store_server.0.conf
Segmentation fault (core dumped)

from phxqueue.

guyannanfei25 avatar guyannanfei25 commented on September 1, 2024

+1

from phxqueue.

unixliang avatar unixliang commented on September 1, 2024

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.

luxinmu avatar luxinmu commented on September 1, 2024

重新编译成功后,执行程序报了如下错误
[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.

unixliang avatar unixliang commented on September 1, 2024

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.

guyannanfei25 avatar guyannanfei25 commented on September 1, 2024

能不能提供一个docker image的下载地址,pull国外的镜像老是超时 :-(

from phxqueue.

wangxingge avatar wangxingge commented on September 1, 2024

docker pull phxqueue/phxqueue
把镜像加速设置成阿里的加速地址。。

话说这个phxqueue的镜像真的是太大了。 1.42GB.

image

from phxqueue.

guyannanfei25 avatar guyannanfei25 commented on September 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.