/xxx/common/function.php on line 323`
这是方法是写日志,用的是file_put_contents方法,按理说写完日志就关掉了文件连接了,而我的work就看了3个进程调试发现是curl_init造成的,但是有关闭,系统却一直保持连接
```php
protected function _wget($url, $post_data = null)
{$response = curl_exec($ch);
if ($response === false) {
system_log('获取远程数据失败true);
if ($ret) {
return $ret;
}
system_log('获取远程数据返回异常内容$response);
} else {
system_log('获取远程数据返回异常状态码:' . $http_code . ',返回内容为:' .