On Fri, Aug 23, 2019 at 2:30 PM Michael Andersen <mich...@steelcode.com> wrote: > > Are you suggesting that there might be enough unpreemtable goroutines to fill > all the P's? I do have several cgo goroutines sitting in syscalls, but my > understanding was that the scheduler would "preempt" that by moving the M off > the P and creating a new M.
That is how it is supposed to work, yes. That process can take up to 10ms, but that doesn't explain what you are seeing. Ian -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcUZo%3DCeqNW2szzmy8XynVpiGX9AcvNGshs-UKWu1%2Bqgog%40mail.gmail.com.