{"action":"created","issue":{"url":"https://api.github.com/repos/zabawaba99/firego/issues/55","repository_url":"https://api.github.com/repos/zabawaba99/firego","labels_url":"https://api.github.com/repos/zabawaba99/firego/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/zabawaba99/firego/issues/55/comments","events_url":"https://api.github.com/repos/zabawaba99/firego/issues/55/events","html_url":"https://github.com/zabawaba99/firego/issues/55","id":177531486,"number":55,"title":"runtime/cgo: pthread_create failed: Resource temporarily unavailable","user":{"login":"duyhtq","id":4691695,"avatar_url":"https://avatars.githubusercontent.com/u/4691695?v=3","gravatar_id":"","url":"https://api.github.com/users/duyhtq","html_url":"https://github.com/duyhtq","followers_url":"https://api.github.com/users/duyhtq/followers","following_url":"https://api.github.com/users/duyhtq/following{/other_user}","gists_url":"https://api.github.com/users/duyhtq/gists{/gist_id}","starred_url":"https://api.github.com/users/duyhtq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duyhtq/subscriptions","organizations_url":"https://api.github.com/users/duyhtq/orgs","repos_url":"https://api.github.com/users/duyhtq/repos","events_url":"https://api.github.com/users/duyhtq/events{/privacy}","received_events_url":"https://api.github.com/users/duyhtq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-16T22:15:55Z","updated_at":"2016-09-16T22:27:08Z","closed_at":null,"body":"i keep running into this error in production.  it doesn't happen right away.  it only happens after running for about 10 hours.  i've been trying to debug it for a week without any success.  does anyone have this issue before?  any advice is much appreciated.\r\n\r\nnote: i'm running it on 32 bit arm board (raspberry pi or nvidia tegra k1).  i'm running the same code on my laptop / desktop and haven't seen any similar crash yet, but it may be just a matter of time that it will crash.\r\n\r\nthanks.\r\n\r\nruntime/cgo: pthread_create failed: Resource temporarily unavailable\r\nSIGABRT: abort\r\nPC=0xb6dac926 m=264\r\ngoroutine 0 [idle]:\r\ngoroutine 0 [idle]:\r\ngoroutine 8 [running]:\r\nruntime.systemstack_switch()\r\n        /usr/local/go/src/runtime/asm_arm.s:192 +0x4 fp=0x10925764 sp=0x10925760\r\nruntime.goready(0x109628f0, 0x0)\r\n        /usr/local/go/src/runtime/proc.go:274 +0x34 fp=0x10925778 sp=0x10925764\r\nruntime.goroutineReady(0x408f08, 0x109628f0, 0x0)\r\n        /usr/local/go/src/runtime/time.go:82 +0x34 fp=0x10925788 sp=0x10925778\r\nruntime.timerproc()\r\n        /usr/local/go/src/runtime/time.go:196 +0x2ec fp=0x109257dc sp=0x10925788\r\nruntime.goexit()\r\n        /usr/local/go/src/runtime/asm_arm.s:990 +0x4 fp=0x109257dc sp=0x109257dc\r\ncreated by runtime.addtimerLocked\r\n        /usr/local/go/src/runtime/time.go:116 +0x1c4\r\n        \r\ngoroutine 17 [syscall, 122 minutes, locked to thread]:\r\nruntime.goexit()\r\n        /usr/local/go/src/runtime/asm_arm.s:990 +0x4\r\n        \r\ngoroutine 49 [IO wait]:\r\nnet.runtime_pollWait(0xb63d1148, 0x72, 0x10abc000)\r\n        /usr/local/go/src/runtime/netpoll.go:160 +0x60\r\nnet.(*pollDesc).Wait(0x10960638, 0x72, 0x0, 0x0)\r\n        /usr/local/go/src/net/fd_poll_runtime.go:73 +0x34\r\nnet.(*pollDesc).WaitRead(0x10960638, 0x0, 0x0)\r\n        /usr/local/go/src/net/fd_poll_runtime.go:78 +0x30\r\nnet.(*netFD).Read(0x10960600, 0x10abc000, 0x400, 0x400, 0x0, 0xb5390018, 0x1096c000)\r\n        /usr/local/go/src/net/fd_unix.go:250 +0x1c4\r\nnet.(*conn).Read(0x1094e078, 0x10abc000, 0x400, 0x400, 0x0, 0x0, 0x0)\r\n        /usr/local/go/src/net/net.go:172 +0xc8\r\ncrypto/tls.(*block).readFromUntil(0x10d965a0, 0xb5398bc8, 0x1094e078, 0x5, 0x0, 0x0)\r\n        /usr/local/go/src/crypto/tls/conn.go:460 +0xc8\r\ncrypto/tls.(*Conn).readRecord(0x109741c0, 0x5c0917, 0x0, 0x0)\r\n        /usr/local/go/src/crypto/tls/conn.go:562 +0x240\r\ncrypto/tls.(*Conn).Read(0x109741c0, 0x10bd2000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\r\n        /usr/local/go/src/crypto/tls/conn.go:939 +0x13c\r\nnet/http.noteEOFReader.Read(0xb63dba78, 0x109741c0, 0x10a066c4, 0x10bd2000, 0x1000, 0x1000, 0x3fe20, 0x0, 0x0)\r\n        /usr/local/go/src/net/http/transport.go:1690 +0x5c\r\nnet/http.(*noteEOFReader).Read(0x10d94290, 0x10bd2000, 0x1000, 0x1000, 0x1, 0x0, 0x0)\r\n        <autogenerated>:284 +0xd0\r\nbufio.(*Reader).Read(0x10d15d40, 0x10bd2000, 0x1000, 0x1000, 0x10bd8be4, 0x0, 0x0)\r\n        /usr/local/go/src/bufio/bufio.go:197 +0x10c\r\nnet/http.(*body).readLocked(0x10bcf590, 0x10bd2000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\r\n        /usr/local/go/src/net/http/transfer.go:651 +0x94\r\nnet/http.(*body).Read(0x10bcf590, 0x10bd2000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\r\n        /usr/local/go/src/net/http/transfer.go:643 +0x118\r\nnet/http.(*bodyEOFSignal).Read(0x10bcf5c0, 0x10bd2000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\r\n        /usr/local/go/src/net/http/transport.go:1616 +0x20c\r\nbufio.(*Reader).fill(0x10bd8f6c)\r\n        /usr/local/go/src/bufio/bufio.go:97 +0x1c4\r\nbufio.(*Reader).ReadSlice(0x10bd8f6c, 0x1096400a, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/local/go/src/bufio/bufio.go:328 +0x264\r\nbufio.(*Reader).ReadLine(0x10bd8f6c, 0x0, 0x0, 0x0, 0x109da000, 0x0, 0x0)\r\n        /usr/local/go/src/bufio/bufio.go:357 +0x60\r\ngithub.com/duyhtq/maya/firego.(*Firebase).Watch.func1(0x10c52000, 0x10a12f20, 0x109610c0)\r\n        /home/ubuntu/gows/src/github.com/duyhtq/maya/firego/watch.go:148 +0x234\r\ncreated by github.com/duyhtq/maya/firego.(*Firebase).Watch\r\n        /home/ubuntu/gows/src/github.com/duyhtq/maya/firego/watch.go:246 +0x468\r\n        \r\ngoroutine 47 [select, 122 minutes]:\r\nnet/http.(*persistConn).readLoop(0x10a06690)\r\n        /usr/local/go/src/net/http/transport.go:1185 +0xbf0\r\n\r\ngoroutine 50 [chan receive, 122 minutes]:\r\ngithub.com/duyhtq/maya/firego.(*Firebase).Watch.func1.1(0x10a12f20, 0x10d943a0, 0x10d94398, 0x10c52000)\r\n        /home/ubuntu/gows/src/github.com/duyhtq/maya/firego/watch.go:124 +0x30\r\ncreated by github.com/duyhtq/maya/firego.(*Firebase).Watch.func1\r\n        /home/ubuntu/gows/src/github.com/duyhtq/maya/firego/watch.go:131 +0x144\r\n\r\ntrap    0x0\r\nerror   0x0\r\noldmask 0x0\r\nr0      0x0\r\nr1      0x2b14\r\nr2      0x6\r\nr3      0x326ff450\r\nr4      0x326ff910\r\nr5      0x326ff450\r\nr6      0x0\r\nr7      0x10c\r\nr8      0x1\r\nr9      0x0\r\nr10     0x114e1d40\r\nfp      0x720120\r\nip      0x10c\r\nsp      0x326fead8\r\nlr      0xb6dbaebf\r\npc      0xb6dac926\r\ncpsr    0x20000030\r\nfault   0x0\r\nexit status 2"},"comment":{"url":"https://api.github.com/repos/zabawaba99/firego/issues/comments/247723181","html_url":"https://github.com/zabawaba99/firego/issues/55#issuecomment-247723181","issue_url":"https://api.github.com/repos/zabawaba99/firego/issues/55","id":247723181,"user":{"login":"duyhtq","id":4691695,"avatar_url":"https://avatars.githubusercontent.com/u/4691695?v=3","gravatar_id":"","url":"https://api.github.com/users/duyhtq","html_url":"https://github.com/duyhtq","followers_url":"https://api.github.com/users/duyhtq/followers","following_url":"https://api.github.com/users/duyhtq/following{/other_user}","gists_url":"https://api.github.com/users/duyhtq/gists{/gist_id}","starred_url":"https://api.github.com/users/duyhtq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duyhtq/subscriptions","organizations_url":"https://api.github.com/users/duyhtq/orgs","repos_url":"https://api.github.com/users/duyhtq/repos","events_url":"https://api.github.com/users/duyhtq/events{/privacy}","received_events_url":"https://api.github.com/users/duyhtq/received_events","type":"User","site_admin":false},"created_at":"2016-09-16T22:27:07Z","updated_at":"2016-09-16T22:27:07Z","body":"nope, not at all."}}
{"actor":{"display_login":"duyhtq"}}