ShaneTian edited a comment on issue #1429:
URL: https://github.com/apache/incubator-brpc/issues/1429#issuecomment-861117639


   > 方便跑一下[heap 
profiler](https://github.com/apache/incubator-brpc/blob/master/docs/cn/heap_profiler.md)么?
   
   @zyearn 使用如下命令报错,
   ```bash
   $ tools/pprof --text localhost:9002/pprof/heap
   Use of uninitialized value $line in substitution (s///) at tools/pprof line 
2705.
   http://localhost:9002/pprof/symbol doesn't exist
   ```
   但是 server 代码没有开启 auth,请问是怎么回事呢?
   ```cpp
   // Start the server.
   BRPC_NAMESPACE::ServerOptions options;
   options.internal_port = FLAGS_internal_port;
   options.idle_timeout_sec = FLAGS_idle_timeout_s;
   options.thread_local_data_factory = &thread_data_factory;
   if (server.Start(FLAGS_port, &options) != 0) {
       LOG(ERROR) << "Failed to start server";
       return -1;
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to