2010/11/15 <[email protected]> > Some hints : > > http://groups.google.com/group/ape-project/msg/7dba5f063fe236b3 > > On Mon, 15 Nov 2010 03:46:06 +0100, <[email protected]> wrote: > > Hey, > > > > Can you check your syslog/dmesg to check if there is something wrong > (may > > be with iptables table) ? >
I haven't use server side js. just use CONNECT and CHECK in cmd.c and I haven't tunning any of these files: - /proc/sys/net/core/somaxconn - /proc/sys/net/netfilter/nf_conntrack_max - /proc/sys/net/ipv4/tcp_* this is the dmesg output recently: http://pastebin.com/pknRMSee > > Also, does the connection is refused or it is half-opened ? > > > what's the difference between refused and half-opened? netstat -lpn tell me that aped is still listened on port 80. But browser can't connect to http://0.push.mangoq.com > > Can you also check the number of opened file by the APE process when it > > doesn't respond ? > > > [r...@localhost ~]# lsof -p 30120 | wc -l 5937 > > Thanks. > > > > Anthony > > > > On Mon, 15 Nov 2010 10:40:18 +0800, ma liang <[email protected]> > wrote: > >> hei, ape > >> I used wget to simulate 60k users online. (just CONNECT and > >> CHECK) as following: > >> onuser.sh:========sesssid=`wget -q -O - "http://0.push.mangoq.com/2/?[{ > >> [1]"cmd": "CONNECT", "chl": 1, "params": {"uin": "$1"}}]" 2>/dev/null > >> |awk -F 'sessid":"|"}},{"time"' '{print $2}'` sleep 3wget -q -O - > >> "http://0.push.mangoq.com/2/?[{ [2]"cmd": "CHECK", "chl": 1, "sessid": > >> "$sesssid"}] " 2>&1 >>status/check$sesssid.log do wget -q -O - > >> "http://0.push.mangoq.com/2/?[{ [3]"cmd": "CHECK", "chl": 1, "sessid": > >> "$sesssid"}] " 2>&1 >>status/check$sesssid.log done > >> test.sh=====m=0for ((i=0;i192.168.8.42:47751 [6] (ESTABLISHED)aped > >> 30120 daemon *396u IPv4 109334482 TCP > >> 0.push.mangoq.com:http->192.168.8.42:47766 [7] (ESTABLISHED) > >> > >> -- > >> You received this message because you are subscribed to the Google > >> Groups "APE Project" group. > >> To post to this group, send email to [email protected] > >> To unsubscribe from this group, send email to > >> > >> [email protected]<ape-project%[email protected]> > >> For more options, visit this group at > >> http://groups.google.com/group/ape-project?hl=en [8] > >> --- > >> APE Project (Ajax Push Engine) > >> Official website : http://www.ape-project.org/ [9] > >> Git Hub : http://github.com/APE-Project/ [10] > >> > >> > >> Links: > >> ------ > >> [1] http://0.push.mangoq.com/2/?[{ > >> [2] http://0.push.mangoq.com/2/?[{ > >> [3] http://0.push.mangoq.com/2/?[{ > >> [4] http://0.push.mangoq.com/ > >> [5] http://192.168.8.42:47748 > >> [6] http://192.168.8.42:47751 > >> [7] http://192.168.8.42:47766 > >> [8] http://groups.google.com/group/ape-project?hl=en > >> [9] http://www.ape-project.org/ > >> [10] http://github.com/APE-Project/ > > -- > You received this message because you are subscribed to the Google > Groups "APE Project" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<ape-project%[email protected]> > For more options, visit this group at > http://groups.google.com/group/ape-project?hl=en > --- > APE Project (Ajax Push Engine) > Official website : http://www.ape-project.org/ > Git Hub : http://github.com/APE-Project/ > -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
