SpiderClub / haipproxy

:sparkling_heart: High available distributed ip proxy pool, powerd by Scrapy and Redis
https://spiderclub.github.io/haipproxy/
MIT License
5.43k stars 914 forks source link

Docker部署安装依赖lxml错误 #89

Open adu-web3 opened 5 years ago

adu-web3 commented 5 years ago

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内存的服务器不够用吗?

liguobao commented 5 years ago

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