apache / apache/dubbo-php-framework
发现一个问题,provider启动时manger进程会意外退出
- 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