Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jan 2012 14:10:07 +0200
From:      Ross Cameron <ross.cameron@unix.net>
To:        "Muhammet S. AYDIN" <whalberg@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: freebsd server limits question
Message-ID:  <CAM95-_6i2SfUghYyTkp0371Rjknfu-qe7Ww-NGv_L1g_3CXzdA@mail.gmail.com>
In-Reply-To: <CAP28s1DhhsSV%2Bz8BuRDVjHypD%2BpECuXQEH5BKjJRKMorcWL0rw@mail.gmail.com>
References:  <CAP28s1DhhsSV%2Bz8BuRDVjHypD%2BpECuXQEH5BKjJRKMorcWL0rw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <whalberg@gmail.com>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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM95-_6i2SfUghYyTkp0371Rjknfu-qe7Ww-NGv_L1g_3CXzdA>