Memory allocation failed

lhmwzy lhmwzy at 126.com
Tue Jan 2 07:12:11 UTC 2018


uname -a:
DragonFly lhm.com 5.1-DEVELOPMENT DragonFly v5.1.0.467.gb76875-DEVELOPMENT #0: Wed Dec 20 20:37:51 CST 2017     root at lhm.com:/usr/obj/usr/src/sys/lhmwzy  x86_64


./configure php --module=php7 \
                      --config=/usr/local/bin/php-config \
                      --lib-path=/usr/local/lib
When run :
 curl -X PUT -d @config/blogs.json --unix-socket ./control.unit.sock http://10.66.23.99/

output:
{
        "error": "Memory allocation failed."
}
logs says:
  1 2018/01/02 15:04:52 [info] 280908#34366357696 discovery started
  2 2018/01/02 15:04:52 [notice] 280908#34366357696 module: php 7.0.26 "build/php7.unit.so"
  3 2018/01/02 15:04:52 [notice] 280907#34366357696 process 280908 exited with code 0
  4 2018/01/02 15:04:52 [info] 280909#34366357696 controller started
  5 2018/01/02 15:04:52 [info] 280910#34366357696 router started
  6 2018/01/02 15:05:00 [crit] 280909#34366357696 *3 shm_open(/unit.280909.e8bd919c) failed (13: Permission denied)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/unit/attachments/20180102/ca0db560/attachment.html>


More information about the unit mailing list