Memory allocation failed

Valentin V. Bartenev vbart at nginx.com
Wed Mar 7 20:48:36 UTC 2018


Thanks for the information.

As I expected you're using a non-standard outdated kernel for Debian 8
distribution that doesn't support the memfd_create() syscall.

Unit package was built in Debian 8 with default kernel that is 3.16
and memfd_create() support.  As a result, such binary won't work in
your system.  I recommend you to update the kernel, otherwise you may
experience various problems with other software as well.

The other option is to build Unit on your system without memfd_create().

  wbr, Valentin V. Bartenev


On Wednesday, 7 March 2018 20:43:01 MSK Martin Riedl via unit wrote:
> Hello,
> 
> The output is:
> Linux <hostname> 3.14.32-xxxx-grs-ipv6-64 #7 SMP Wed Jan 27 18:05:09 CET
> 2016 x86_64 GNU/Linux
> 
> Regards,
> Martin
> 
> Am 6. März 2018 um 21:33:42, Valentin V. Bartenev (vbart at nginx.com) schrieb:
> 
> On Tuesday, 6 March 2018 22:36:07 MSK Martin Riedl via unit wrote:
> > Hi,
> >
> > I’m getting the following response when trying to create a new application
> > (of type „go“)
> > {
> > "error": "Memory allocation failed."
> > }
> >
> > Found the following in the unit.log:
> > [crit] 5217#5217 *32 memfd_create(/unit.5217.19d4f81) failed (38: Function
> > not implemented)
> >
> > Any idea, what I’m doing wrong?
> > I’m using the Debian 8 pre-compiled package.
> 
> 
> Hello.
> 
> What kernel version do you use? Could you show the uname -a output?
> 
> wbr, Valentin V. Bartenev
> 
> _______________________________________________
> unit mailing list
> unit at nginx.org
> https://mailman.nginx.org/mailman/listinfo/unit



More information about the unit mailing list