Hi Michael,
Thanks for replying, we did identify this as well. Inside `findFunction` it
first tries to see if the `function` is a user defined, and if yes returns
that. If not then it tries to find it within `builtIn` func map. The
`builtIn` funcMap is populated using `sync.Once` and we can cle
I would try an external sampling. The stack trace you are looking at is
somewhat artificial. A native sampling will help pin down what exactly is
consuming the cpu (switching to thread mode in htop can be a substitute). You
might also run strace on the pid when it gets in this state to give addi
What version of GoLang? tried different ones?
-Eric
http://www.google.com/profiles/eric.hubbard
On Tue, Oct 25, 2022 at 5:28 PM Steven Sokol wrote:
> I don't think so. I don't have it capped in the systemd configuration and
> it's not using very much memory even in the runaway state. Here's
I don't think so. I don't have it capped in the systemd configuration and
it's not using very much memory even in the runaway state. Here's a
screenshot of htop - check out the fvUnisocket process at the top of the
list:
https://user-images.githubusercontent.com/350268/197785991-a8a9691b-4499-4
On Tue, Oct 25, 2022 at 7:38 AM Elemer Pixard wrote:
>
> I am trying to create a generic function which returns
> a Container with a slice of the specified type T:
> https://go.dev/play/p/GS_x9Y8HOMK
> Is this not supported or am I doing something wrong ?
I'm not quite sure why that doesn't work.
Are you certain you haven’t capped the memory and all of the GC threads are
spinning trying to claim/allocate memory?
> On Oct 25, 2022, at 4:49 PM, Steven Sokol wrote:
>
> Weird one. I have a go application that, on occasion, will suddenly jump from
> some very low CPU usage (1% - 10%) to 400
On Oct 25, 2022, at 2:28 PM, 'Daniel Lepage' via golang-nuts
wrote:
>
> In contrast, the modern Go version buries the "normal" flow in a pile of
> error handling, and IMO is a lot harder to follow:
>
> foo, err := Foo()
> if err != nil {
> return fmt.Errorf("enforcing foo limit: %w", err)
Weird one. I have a go application that, on occasion, will suddenly jump
from some very low CPU usage (1% - 10%) to 400% (4 core system). I run this
app at a heightened priority and it can nearly lock the machine (Pi CM4) up.
I can kill it with SIGKILL and I'm able to get a stack trace by sendin
On Mon, Oct 24, 2022 at 7:18 PM Ian Lance Taylor wrote:
> On Sun, Oct 23, 2022 at 9:31 PM 'Daniel Lepage' via golang-nuts
> wrote:
>
> ...
>
>
> > 3. Streamlining shouldn't only apply to error handling that terminates
> the function.
> >
> > Unlike panics, errors are values, and should be treate
Hi @mb0,
> the first thing i would try is run an extensive memory test.
what tests do you mean? how can I run them? can you point me to a
link/video or a list of tools that can help me in doing so? or any other
useful link/reference will be great.
Thanks in advance.
On Saturday, 22 October 2022
On Fri, Oct 21, 2022 at 08:17:16AM -0700, David Harel wrote:
> Newbie on golang. Using sqlc: https://github.com/kyleconroy/sqlc in the
> environment created by Karl Keefer:
> https://github.com/karlkeefer/pngr/actions/workflows/build.yml, thanks Karl.
> My queries use querier which is auto gener
I am trying to create a generic function which returns
a Container with a slice of the specified type T:
https://go.dev/play/p/GS_x9Y8HOMK
Is this not supported or am I doing something wrong ?
Regards.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" gr
Weird. I am scratching my head.
At this point if I was debugging it myself on your system I would rerun
cmake passing it the "--trace-expand" flag (which will generate giant
volumes of output), then look in the trace to see what is happening when
the cmake rules in question fire. You should see so
On Tue, Oct 25, 2022 at 03:43:21PM +0400, Konstantin Khomoutov wrote:
>> However, that does not work well for TLS. The reason is that the Go HTTP
>> client has special logic in case a custom dialer returns a *tls.Conn. That
>> logic will be disabled.
>
> The Conn funtion of the crypto/tls packa
On Wed, Oct 12, 2022 at 09:01:46AM -0700, Christian Worm Mortensen wrote:
(I have rehashed the options you've presented, to help commenting on them.)
[...]
> 2) I can make a my own struct and return from my custom dialer:
>
> type myConn struct {
> net.Conn
> dialInfo string
> }
>
> Howeve
> Do you have tools/gollvm/libgo/zgoarch.go.tmp in your build area? What
sort of content is in that file?
No
$ ninja -v -d explain tools/gollvm/libgo/zgoarch.go
ninja: error: unknown target 'tools/gollvm/libgo/zgoarch.go'
$ gcc -dumpmachine
x86_64-pc-linux-gnu
$ clang -dumpmachine
x86_64-pc-lin
16 matches
Mail list logo