{"action":"opened","issue":{"url":"https://api.github.com/repos/kohler/tamer/issues/3","labels_url":"https://api.github.com/repos/kohler/tamer/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/kohler/tamer/issues/3/comments","events_url":"https://api.github.com/repos/kohler/tamer/issues/3/events","html_url":"https://github.com/kohler/tamer/issues/3","id":68595201,"number":3,"title":"Tammer can't manage more than 1024 (FD_SETSIZE) concurrent connections","user":{"login":"mingodad","id":462618,"avatar_url":"https://avatars.githubusercontent.com/u/462618?v=3","gravatar_id":"","url":"https://api.github.com/users/mingodad","html_url":"https://github.com/mingodad","followers_url":"https://api.github.com/users/mingodad/followers","following_url":"https://api.github.com/users/mingodad/following{/other_user}","gists_url":"https://api.github.com/users/mingodad/gists{/gist_id}","starred_url":"https://api.github.com/users/mingodad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mingodad/subscriptions","organizations_url":"https://api.github.com/users/mingodad/orgs","repos_url":"https://api.github.com/users/mingodad/repos","events_url":"https://api.github.com/users/mingodad/events{/privacy}","received_events_url":"https://api.github.com/users/mingodad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-15T07:00:31Z","updated_at":"2015-04-15T07:00:31Z","closed_at":null,"body":"Hello !\r\n\r\nTesting tammer I found that it can not manage more than 1024 (FD_SETSIZE) connections, it dies at \"wasset[action] = FD_ISSET(fd, &fdsets_[action]);\" this code line. It seems that on systems that support epoll the code that is used to manage events with \"select\" is still in use.\r\n\r\nUsing httpress (https://bitbucket.org/yarosla/httpress/wiki/Home):\r\n```\r\nhttpress -t 2 -n 1000000 -c 1200 -k http://192.168.1.2:11111/\r\n```\r\nI get this error:\r\n```\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib/x86_64-linux-gnu/libthread_db.so.1\".\r\n*** buffer overflow detected ***: /home/u1/tamer/ex/.libs/lt-tamer-httpd terminated\r\n```\r\n\r\nGDB backtrace:\r\n```\r\nProgram received signal SIGABRT, Aborted.\r\n0x00007ffff6e1ccc9 in raise () from /lib/x86_64-linux-gnu/libc.so.6\r\n(gdb) bt\r\n#0  0x00007ffff6e1ccc9 in raise () from /lib/x86_64-linux-gnu/libc.so.6\r\n#1  0x00007ffff6e200d8 in abort () from /lib/x86_64-linux-gnu/libc.so.6\r\n#2  0x00007ffff6e59394 in ?? () from /lib/x86_64-linux-gnu/libc.so.6\r\n#3  0x00007ffff6ef0c9c in __fortify_fail () from /lib/x86_64-linux-gnu/libc.so.6\r\n#4  0x00007ffff6eefb60 in __chk_fail () from /lib/x86_64-linux-gnu/libc.so.6\r\n#5  0x00007ffff6ef0be7 in __fdelt_warn () from /lib/x86_64-linux-gnu/libc.so.6\r\n#6  0x00007ffff7ba5b70 in update_fds (this=<optimised out>) at dtamer.cc:315\r\n#7  tamer::(anonymous namespace)::driver_tamer::loop (this=0x619030, flags=<optimised out>)\r\n    at dtamer.cc:378\r\n#8  0x0000000000401ef3 in loop () at ../tamer/driver.hh:98\r\n#9  main (argc=1, argv=0x7fffffffdc28) at tamer-httpd.tcc:90\r\n```"}}