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 2650 May 18, 2010 12:26PM

Re: Test the OOM situation

Brian Pane 954 May 18, 2010 01:16PM

Re: Test the OOM situation

Peter Leonov 1032 May 19, 2010 07:48AM

Re: Test the OOM situation

Maxim Dounin 976 May 18, 2010 03:28PM

Re: Test the OOM situation

Peter Leonov 967 May 19, 2010 08:02AM

Re: Test the OOM situation

Maxim Dounin 1022 May 19, 2010 09:32AM

Re: Test the OOM situation

Peter Leonov 1307 May 19, 2010 05:26PM



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

Online Users

Guests: 296
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready