apache / apache/dubbo-php-framework

发现一个问题,provider启动时manger进程会意外退出

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
400
Forks
87
PR merge metrics
No merged PRs in 30d

Description

WARNING swServer_signal_hanlder: Fatal Error: manager process exit. status=0, signal=11.

`
class ZookeeperClient
{

public function __destruct()
{
$this->closeLog();
unset($this->zookeeper);
$this->logger->info('zookeeperClient destruct');
}

`

__destruct方法 要先unset($this->zookeeper); 再 $this->closeLog();

`
class ZookeeperClient
{

public function __destruct()
{
unset($this->zookeeper);
$this->closeLog();
$this->logger->info('zookeeperClient destruct');
}
`

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the ZookeeperClient class and inspect its __destruct method, especially the order of closeLog() and unsetting zookeeper. Reproduce the provider startup if possible, then verify that the destructor unsets zookeeper before closing the log and that the manager process no longer exits with signal 11.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.