Skip to content

throw: runtime·mapaccess1: key not in map after creating a few houndred goroutines? #197

@gopherbot

Description

@gopherbot

by jonas.falck:

What steps will reproduce the problem?
1.
start my server program. Program keeps http connection alive and waits for
5 sek then returns anything pushed into the queue. (this will become an
ajax push server in the future). 
2.
Launch first 250 http instances to server to test load.
#!/bin/bash
for i in $(seq 1 250)
do
   ab -n 10000 -t 100000000000 "http://localhost:12345/?fetch&;sess=$i" &
done

3.
This is okey until you launch another 250 http requests. 
Then server dies with attached errors.

GOARCH=amd64
GOROOT=/home/jonaz/go
GOOS=linux


Which revision are you sync'ed to?  (hg log -l 1)
changeset:   4052:b72ec78019b4


Please provide any additional information below.

Attachments:

  1. error (653391 bytes)
  2. server.6 (50575 bytes)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions