I have 3 crons running in my application in production. 1st cron fetched 
around 10k data and started to process. While the second cron tried to 
fetch data and process it, IO memory issue occurred. Runtime panic.

goroutine 250054613 [select, 129 minutes]:
runtime.gopark(0x1a3efa0, 0x0, 0x19cf5b8, 0x6, 0x18, 0x1)
golang/go/src/runtime/proc.go:287 +0x12c fp=0xc4226acbc0 sp=0xc4226acb90 
pc=0x42f3bc
runtime.selectgo(0xc4226acf10, 0xc4d08518c0)
golang/go/src/runtime/select.go:395 +0x1149 fp=0xc4226ace38 sp=0xc4226acbc0 
pc=0x43f869



goroutine 248386142 [IO wait, 63 minutes]:
runtime.gopark(0x1a3ef38, 0x7f47a61751b0, 0x19cfe1f, 0x7, 0xc42001e01b, 0x5)
golang/go/src/runtime/proc.go:287 +0x12c fp=0xc420ebfa88 sp=0xc420ebfa58 
pc=0x42f3bc
runtime.netpollblock(0x7f47a6175188, 0x72, 0x8000)
golang/go/src/runtime/netpoll.go:366 +0xaa fp=0xc420ebfad0 sp=0xc420ebfa88 
pc=0x42a4ca
internal/poll.runtime_pollWait(0x7f47a6175188, 0x72, 0x0)
golang/go/src/runtime/netpoll.go:173 +0x57 fp=0xc420ebfaf8 sp=0xc420ebfad0 
pc=0x429ac7
internal/poll.(*pollDesc).wait(0xc4202a9f98, 0x72, 0xffffffffffffff00, 
0x25ea780, 0x25dea08)
golang/go/src/internal/poll/fd_poll_runtime.go:85 +0xae fp=0xc420ebfb30 
sp=0xc420ebfaf8 pc=0x49b87e
internal/poll.(*pollDesc).waitRead(0xc4202a9f98, 0xc4fcab4000, 0x8000, 
0x8000)
golang/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d fp=0xc420ebfb68 
sp=0xc420ebfb30 pc=0x49b8fd
internal/poll.(*FD).Read(0xc4202a9f80, 0xc4fcab4000, 0x8000, 0x8000, 0x0, 
0x0, 0x0)
golang/go/src/internal/poll/fd_unix.go:126 +0x18a fp=0xc420ebfbb8 
sp=0xc420ebfb68 pc=0x49c69a
net.(*netFD).Read(0xc4202a9f80, 0xc4fcab4000, 0x8000, 0x8000, 0x11, 0x0, 
0x0)
golang/go/src/net/fd_unix.go:202 +0x52 fp=0xc420ebfc20 sp=0xc420ebfbb8 
pc=0x505cc2
net.(*conn).Read(0xc4212b0180, 0xc4fcab4000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
golang/go/src/net/net.go:176 +0x6d fp=0xc420ebfc88 sp=0xc420ebfc20 
pc=0x518aad
bufio.(*Reader).Read(0xc568be77a0, 0xc4210ce038, 0x9, 0x9, 0x9, 0x0, 0x0)
golang/go/src/bufio/bufio.go:213 +0x30b fp=0xc420ebfd20 sp=0xc420ebfc88 
pc=0x59620b
io.ReadAtLeast(0x25e0640, 0xc568be77a0, 0xc4210ce038, 0x9, 0x9, 0x9, 
0xc42026d080, 0x1, 0x0)
golang/go/src/io/io.go:309 +0x86 fp=0xc420ebfd80 sp=0xc420ebfd20 pc=0x478276
io.ReadFull(0x25e0640, 0xc568be77a0, 0xc4210ce038, 0x9, 0x9, 0x6b15804, 
0x6b15804fcd8af2c, 0x5bdca537)
golang/go/src/io/io.go:327 +0x58 fp=0xc420ebfdd8 sp=0xc420ebfd80 pc=0x4783e8

Can someone please shed some light on this behaviour.

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to