Memory allocation failed

Martin Riedl martin.riedl.92 at googlemail.com
Sun Mar 11 00:37:10 UTC 2018


Thanks. Kernel update solved it.
You’re doing a great job with unit 👍

Am 7. März 2018 um 21:47:41, Valentin V. Bartenev (vbart at nginx.com) schrieb:

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

_______________________________________________
unit mailing list
unit at nginx.org
https://mailman.nginx.org/mailman/listinfo/unit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/unit/attachments/20180310/f40a2689/attachment.html>


More information about the unit mailing list