My bet is it is either all the goroutines are blocked waiting on the database, or serving something unexpected like the fav icon is somehow related.
Thanks for your replies!
There is indeed one handler, where I'm using the following pattern (and currently only there in production) and I always asked myself if this is correct. Here is the (pseudo) code:
http://play.golang.org/p/gDl7tOo7Z6
It would be nice if someone can have a look and give me some feedback, because this is the way I usually retrieve data from the database. Until now without any problems.
Dave, maybe the mysql database of our production server has different settings than on my local machine and can't handle the concurrency. I don't know what this should be, but maybe I set the GOMAXPROCS back to 1 to find out.
Here is a snippet of the "full goroutine stack dump":
goroutine 104 [chan send, 1455 minutes]: domain.com/myproject/app.(*details).getData1(0xc208325b00, 0xc208334a20) D:/Go/src/domain.com/myproject/app/details.go:302 +0x8c0 created by domain.com/myproject/app/newDetails D:/Go/src/domain.com/myproject/app/details.go:121 +0x150 goroutine 311 [chan send, 1453 minutes]: domain.com/myproject/app.(*details).getData2(0xc2085566c0, 0xc2084c7ce0) D:/Go/src/domain.com/myproject/app/details.go:393 +0xf61 created by domain.com/myproject/app/newDetails D:/Go/src/domain.com/myproject/app/details.go:122 +0x172
--
You received this message because you are subscribed to a topic in the Google Groups "golang-nuts" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/golang-nuts/YJPPpTQhBpo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.