0

我正在使用版本Neo4j 3.5.5(社区)graphaware / neo4j-php-clientgraphaware / neo4j-php-ogm 库,一切都很顺利。

我也在使用Supervisord (3.2.4),因为我需要使用php-amqplib / php-amqplibphp-amqplib / rabbitmq-bundle库来运行RabbitMQ 消费者 (3.6.16) 。

这是我的配置

dbms.directories.import=import
dbms.connector.bolt.enabled=true
dbms.connector.http.enabled=true
dbms.connector.https.enabled=true
dbms.jvm.additional=-XX:+UseG1GC
dbms.jvm.additional=-XX:-OmitStackTraceInFastThrow
dbms.jvm.additional=-XX:+AlwaysPreTouch
dbms.jvm.additional=-XX:+UnlockExperimentalVMOptions
dbms.jvm.additional=-XX:+TrustFinalNonStaticFields
dbms.jvm.additional=-XX:+DisableExplicitGC
dbms.jvm.additional=-Djdk.tls.rejectClientInitiatedRenegotiation=true
dbms.windows_service_name=pepe
dbms.jvm.additional=-Dunsupported.dbms.udc.source=tarball
wrapper.java.additional=-Dneo4j.ext.udc.source=docker
dbms.tx_log.rotation.retention_policy=100M size
dbms.security.procedures.unrestricted=apoc.*
dbms.memory.pagecache.size=512M
dbms.memory.heap.max_size=512M
dbms.memory.heap.initial_size=512M
dbms.directories.logs=/logs
dbms.connectors.default_listen_address=0.0.0.0
dbms.connector.https.listen_address=0.0.0.0:7473
dbms.connector.http.listen_address=0.0.0.0:7474
dbms.connector.bolt.listen_address=0.0.0.0:7687
apoc.import.file.use_neo4j_config=1
apoc.import.file.enabled=1
apoc.export.file.enabled=1
HOME=/var/lib/neo4j
EDITION=community
dbms.unmanaged_extension_classes=org.neo4j.graphql=/graphql

RabbitMQ 消息仅包含触发消息的用户的电子邮件,以按该电子邮件过滤并修改我的 neo4j 数据库中的属性。

当从 RabbitMQ 队列接收到消息时,通常一切正常。但是,当 RabbitMQ 队列经过很长时间没有收到消息(1 或 2 小时)时,当它收到消息时,RabbitMQ 队列会失去消费者,并在 neo4j 日志中写入:

2019-10-31 20: 27: 51.795 + 0000 WARN [onbtpHouseKeeper] Fatal error occurred when handling a client connection, remote peer unexpectedly closed connection: [id: 0x9b711ca5, L: /10.0.1.18: 7687 - R: /10.0 .1.77: 39560]
2019-10-31 20: 43: 09.298 + 0000 WARN [onbtpHouseKeeper] Fatal error occurred when handling a client connection, remote peer unexpectedly closed connection: [id: 0xd8522c49, L: /10.0.1.18: 7687 - R: /10.0 .1.77: 47928]
2019-10-31 20: 54: 04.658 + 0000 WARN [onbtpHouseKeeper] Fatal error occurred when handling a client connection, remote peer unexpectedly closed connection: [id: 0x27147a75, L: /10.0.1.18: 7687 - R: /10.0 .1.77: 48782]
4

0 回答 0