Are you using the full index flag? If so it might the culprit. In any case, godoc must initially scan the whole stdlib and GOPATH trees which must show some CPU load burst.
-j
Are you using the full index flag? If so it might the culprit. In any case, godoc must initially scan the whole stdlib and GOPATH trees which must show some CPU load burst
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
What is the command line you are using to invoke godoc?
--
No news on this.We made godoc more parallel in recent months so it will start up and finish indexing quicker rather than dragging on for a long time. Maybe you see more CPU usage up front now, but it's just while it's indexing the world. You can disable indexing.
--
I wonder if your godoc is scanning more than you expect. How large is your $GOPATH/src ? Does it contain symlinks elsewhere? Does it contain lots of non go source? Is your GOPATH on a network volume ?
Could you please start godoc, wait til you think it has reached a crescendo of load then hit the process with cntl-\ (or SIGQUIT) and make the full stack dump available. It should be pretty easy to figure out what is going on from that.