Re: Remotely set cmdline

2017-11-07 Thread Waldek Kozaczuk
Another possibility (which I have not tested) might be setting cmdline to ' runscript/the_config' and populating /run/the_config file with '/tools/cpiod.so --prefix /' in bootstrap image. Capstan would be able to upload and then if desired replace /run/the_config with the final application comman

[COMMIT osv master] scripts/setup.py: support Ubuntu 17.04

2017-11-07 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master scripts/setup.py: support Ubuntu 17.04 Allow scripts/setup.py to install the necessary packages on Ubuntu 17.04. The list is the same as we had in Ubuntu 16.04. Fixes #920. Signed-off-by: Nadav Har'El --- diff --git a/scripts/setup.

Re: Memory limit?

2017-11-07 Thread Gleb Natapov
On Tue, Nov 07, 2017 at 10:31:36AM +0200, Nadav Har'El wrote: > > > However, this didn't help initially as the memory wasn't being populated. > > I altered the mmap calls to include MAP_POPULATE to get them filled at > > startup, and now I get this crash. The debug output is from the erlang > > ru

Re: Memory limit?

2017-11-07 Thread Nadav Har'El
On Tue, Nov 7, 2017 at 10:35 AM, Rick Payne wrote: > Hi, > > > I am not sure how this will help, as the later malloc() can still fail > when it wants to allocate physically-contiguous memory. > > > > One hack you can try to fix https://github.com/cloudius- > systems/osv/issues/854 and hopefully y

Re: Memory limit?

2017-11-07 Thread Rick Payne
Hi, > I am not sure how this will help, as the later malloc() can still fail when > it wants to allocate physically-contiguous memory. > > One hack you can try to fix > https://github.com/cloudius-systems/osv/issues/854 and hopefully your issue > is to change in core/mempool.cc, the function s

Re: Memory limit?

2017-11-07 Thread Nadav Har'El
On Mon, Nov 6, 2017 at 10:26 PM, Rick Payne (Offshore) wrote: > > Out of memory: could not reclaim any further. Current memory: 5122256 Kb > > > > This suggests there was 5GB free while the allocation failed. > > This *can* be a fragmentation issue (e.g., you asked for a 1 GB > allocation, but we