From owner-freebsd-questions@FreeBSD.ORG Mon Jan 2 19:36:01 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47775106566C for ; Mon, 2 Jan 2012 19:36:01 +0000 (UTC) (envelope-from whalberg@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id D18668FC0C for ; Mon, 2 Jan 2012 19:36:00 +0000 (UTC) Received: by eaaf13 with SMTP id f13so20394573eaa.13 for ; Mon, 02 Jan 2012 11:35:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=TB0ZxtgvlMg1LaPRlYpQrYiOQ14agn3HxJWuL7E0r/U=; b=O7vwIUe82fsJuhBS6xs1+q8jenR+eO/uv4fYqfW1QpWVEdOnZUe3hGoisFZws18uQU 1N6feqz93NqPYNAK3vcY/u4lY1ecrPhStU70WEoy6oKjoB9EOvjc7tniZh7Wxt0AvzCR fUv9NvDVixO/oMjGfhrlThO2q8qsnW7quZLVA= MIME-Version: 1.0 Received: by 10.205.139.76 with SMTP id iv12mr11663524bkc.100.1325531558301; Mon, 02 Jan 2012 11:12:38 -0800 (PST) Received: by 10.204.42.19 with HTTP; Mon, 2 Jan 2012 11:12:38 -0800 (PST) Date: Mon, 2 Jan 2012 21:12:38 +0200 Message-ID: From: "Muhammet S. AYDIN" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: freebsd server limits question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jan 2012 19:36:01 -0000 Hello everyone. My first post here and I'd like to thank everyone who's involved within the FreeBSD project. We are using FreeBSD on our web servers and we are very happy with it. We have an online messaging application that is using mongodb. Our members send messages to "the voice" show's (turkish version) contestants. Our two mongodb instances ended up in two centos6 servers. We have failed. So hard. There were announcements and calls made live on tv. We had +30K/sec visitors to the app. When I looked at the mongodb errors, I had thousands of these: http://pastie.org/private/nd681sndos0bednzjea0g. You may be wondering why I'm telling you about centos. Well, we are making the switch from centos to freebsd FreeBSD. I would like to know what are our limits? How we can set it up so our FreeBSD servers can handle min 20K connections (mongodb's connection limit)? Our two servers have 24 core CPUs and 32 GBs of RAM. We are also very open to suggestions. Please help me out here so we don't fail deadly, again. ps. this question was asked in the forums as well however as someone suggested in the forums, i am posting it here too. -- Muhammet S. AYDIN http://compector.com http://mengu.net