Thanks for all the suggestions!

When I watch 'swap -s', it gets up to about 550M allocated, with around 7G
available. The virtual memory allocated is only a little over 300M out of
3.8G.

When I look at prtcl, it shows 7.50GB allowed as zone.max-swap privileged.

I still don't see any reason why it would be getting an ENOMEM. The program
does start as root, then somewhere spawns another process owned by a
'broker' user and then switches itself to be run by 'nobody'. I'm currently
looking through the source to see what system calls it uses, to see if
there might be something there.

On Sun, May 10, 2015 at 1:08 PM, Lloyd Parkes <[email protected]
> wrote:

>
> > On 9/05/2015, at 5:30 pm, Robert Mustacchi <[email protected]> wrote:
> > However, whenever memory is allocated
> > either through the use of the brk system call or through the use of
> > mmap, we ensure that we always have a swap reservation for it,
> > regardless if we are using it or not.
> >
> > ...
> >
> > Let me know if this makes sense or if I can explain it better.
>
> Yeah, I’ll ask.
>
> What do you mean by swap? Several years ago I seem to recall Sun/Oracle
> announced that RAM now counted as swap for some reason. This messes with my
> head because swapping to physical memory is crazy talk. (Note that I have
> used some system that had DRAM that wasn’t directly addressable by the CPU
> and so that counted as secondary storage implemented with DRAM rather than
> physical memory).
>
> When Solaris derived systems talk about swap reservations is that actually
> _exactly_ the opposite of the virtual memory overcommit that occasionally
> troubles Linux systems and so swap reservation is really a virtual memory
> reservation?
>
> Cheers,
> Lloyd
>
> -------------------------------------------
> smartos-discuss
> Archives: https://www.listbox.com/member/archive/184463/=now
> RSS Feed:
> https://www.listbox.com/member/archive/rss/184463/24423351-9edae294
> Modify Your Subscription:
> https://www.listbox.com/member/?&;
> Powered by Listbox: http://www.listbox.com
>



-- 
----
e s



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to