Welcome! Log In Create A New Profile

Advanced

Re: Test the OOM situation

Brian Pane
May 18, 2010 01:16PM
On Tue, May 18, 2010 at 9:25 AM, Peter Leonov <gojpeg@gmail.com> wrote:
> Hello devels,
>
> There is a module that requires a heavy testing in environment with low
> memory. Especialy it could be good to test how it goes if no more memory is
> available in the system.
>
> So the questions are: is there a way to test such a module without a virtual
> machines? and are there some tools which might be of help?

Would using setrlimit(2) to reduce RLIMIT_AS on the nginx processes
be sufficient for your tests? That wouldn't limit the system-wide memory
availability, but it would create a limit on how much memory nginx
could malloc and mmap.

-Brian

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Test the OOM situation

Peter Leonov 2225 May 18, 2010 12:26PM

Re: Test the OOM situation

Brian Pane 767 May 18, 2010 01:16PM

Re: Test the OOM situation

Peter Leonov 838 May 19, 2010 07:48AM

Re: Test the OOM situation

Maxim Dounin 778 May 18, 2010 03:28PM

Re: Test the OOM situation

Peter Leonov 777 May 19, 2010 08:02AM

Re: Test the OOM situation

Maxim Dounin 822 May 19, 2010 09:32AM

Re: Test the OOM situation

Peter Leonov 1063 May 19, 2010 05:26PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 50
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready