From owner-freebsd-questions@FreeBSD.ORG Tue Jan 3 12:34:37 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 01499106566C for ; Tue, 3 Jan 2012 12:34:37 +0000 (UTC) (envelope-from abalour@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id B176B8FC0C for ; Tue, 3 Jan 2012 12:34:36 +0000 (UTC) Received: by ggnp1 with SMTP id p1so13431569ggn.13 for ; Tue, 03 Jan 2012 04:34:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=HHzxzWD0bi4dwXJUhuUVGm1C1mvciWoYbPF/zIPRvxs=; b=wl2XWQOFNKS+FLmA1mKouIBbWD7SvGogffeG2y0bHXCcgdS4gPsVS98jCNABxAVCTm IuP1fahDMqbYNpd8doaOt8rTEt2fdXC6cRyyyvWRtF2HpwKIwoV5kINcpBU/NsK7eT0x WHrdKtVmKYpy/82MdXHfWEngFBRP2osIM2tbE= Received: by 10.101.213.31 with SMTP id p31mr20246578anq.57.1325592633318; Tue, 03 Jan 2012 04:10:33 -0800 (PST) MIME-Version: 1.0 Sender: abalour@gmail.com Received: by 10.100.231.16 with HTTP; Tue, 3 Jan 2012 04:10:07 -0800 (PST) In-Reply-To: References: From: Ross Cameron Date: Tue, 3 Jan 2012 14:10:07 +0200 X-Google-Sender-Auth: ebC3SlHu73mL7SekuvaJwhYpInI Message-ID: To: "Muhammet S. AYDIN" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: 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: Tue, 03 Jan 2012 12:34:37 -0000 Hi there Huhammet What are the contents of the following files on you're CentOS 6.x shards ? /etc/security/limits.conf and /etc/security/limits.d/90-nproc.conf What version of MongoDB are you running, is it from packages (if so who's) or is it self compiled? Have you tried running the MongoDB shards on the most recent CentOS 5.x release? If so what differences do you note, if any? This could help diagnose the source of you're problems. Also what is the current stack size of you're MongoDB shards (set via the -s parameter) ? And lastly what is the system load like at the heaviest transaction points (vmstat and iostat can help you out there) ? If this is a branded name server set what is the exact model and hardware configuration? Are you running 32bit or 64bit instances of MongoDB on 32bit or 64bit CentOS 6.x ? Regards,... Ross Cameron eMail : ross.cameron@unix.net Phone : +27 (0)79 491-9954 On Mon, Jan 2, 2012 at 9:12 PM, Muhammet S. AYDIN wrote: > 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >