DaemonForums  

Go Back   DaemonForums > DaemonForums.org > News

News News regarding BSD and related.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 28th September 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default 1 million established tcp sessions

http://blog.whatsapp.com/index.php/2011/09/one-million/

Quote:
[...]achieved 1 million established tcp sessions on a single machine (and with memory and cpu to spare!)

$ netstat -an | grep -c EST
1016313

[...]

For those curious how we did it, the technology on the backend is simple: FreeBSD + Erlang
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #2   (View Single Post)  
Old 28th September 2011
CyberJet's Avatar
CyberJet CyberJet is offline
Real Name: Ramon
BSD Student
 
Join Date: Feb 2009
Location: Miami FL
Posts: 98
Default

I'm curious, what did the million tcp connections accomplished?
Reply With Quote
  #3   (View Single Post)  
Old 28th September 2011
Ninguem Ninguem is offline
Banned
 
Join Date: Jun 2011
Posts: 137
Default

A very efficient DHCP or bootp server.
Reply With Quote
  #4   (View Single Post)  
Old 29th September 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

Not sure if that was a joke, but, DHCP/bootp do not use TCP.
Reply With Quote
  #5   (View Single Post)  
Old 30th September 2011
CyberJet's Avatar
CyberJet CyberJet is offline
Real Name: Ramon
BSD Student
 
Join Date: Feb 2009
Location: Miami FL
Posts: 98
Default

BSD666, I just ran the command:

netstat -an |grep -c EST on an OBSD 4.9, I get 0.

Can you please elaborate on how/what your server did to get 1,000,000 TCP connections. Just curious.

Thank you.
Reply With Quote
  #6   (View Single Post)  
Old 30th September 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

This is not my server ...

You get 1M connections by having lots of people connect to you ... :-|

The command above will produce the amount of tcp connections with the state ESTABLISHED, I don't know what the command is for OpenBSD, but IIRC it's the same. Look at netstat(1) if you're curious.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #7   (View Single Post)  
Old 30th September 2011
CyberJet's Avatar
CyberJet CyberJet is offline
Real Name: Ramon
BSD Student
 
Join Date: Feb 2009
Location: Miami FL
Posts: 98
Default

Thank you.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PF sessions/s rate evaluation Vauteck OpenBSD Security 1 16th August 2011 10:09 AM
Authorities dismantle botnet with 13 million infected PCs J65nko News 0 3rd March 2010 12:49 AM
Analysis of 32 million breached passwords J65nko News 1 21st January 2010 09:37 PM
openBSD4.4 + Chrooted apache1.3 + php5 + sessions wolf3d OpenBSD Packages and Ports 1 2nd July 2009 11:07 AM
pf: Does pf have the ability to src-track created/established connections? gen2ly OpenBSD Security 3 27th February 2009 03:10 PM


All times are GMT. The time now is 03:55 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick