SpiderClub / haipproxy

:sparkling_heart: High available distributed ip proxy pool, powerd by Scrapy and Redis

Home Page:https://spiderclub.github.io/haipproxy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker部署安装依赖lxml错误

adu-web3 opened this issue · comments

commented
Docker部署安装依赖lxml错误
commented

gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -Os -fomit-frame-pointer -g -DTHREAD_STACK_SIZE=0x100000 -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/usr/include/libxml2 -Isrc -Isrc/lxml/includes -I/usr/include/python3.6m -c src/lxml/etree.c -o build/temp.linux-x86_64-3.6/src/lxml/etree.o -w
gcc: internal compiler error: Killed (program cc1)
安装lxml的时候编译报错,然后依赖安装失败
重启服务器再次安装提示out of memory, 1G内存的服务器不够用吗?

这边吃内存确实很厉害, 建议限制一下内存和自动重启...