redis 运行到一定时间就出错

来源:10-4 scrapy-redis编写分布式爬虫代码

笑看风云号

2017-08-04

The Windows version of Redis reserves heap memory from the system paging file

for sharing with the forked process used for persistence operations.At this time there is insufficient contiguous free space available in the

system paging file. You may increase the size of the system paging file.

Sometimes a reboot will defragment the system paging file sufficiently for

this operation to complete successfully.


Redis can not continue. Exiting.

[2788] 25 Jul 21:07:38.254 # fork operation failed

[2788] 25 Jul 21:07:38.784 # Background saving terminated by signal 1

[2788] 25 Jul 21:07:40.095 * 1 changes in 900 seconds. Saving...

[2788] 25 Jul 21:07:40.781 * Background saving started by pid 10352

[10352] 25 Jul 21:07:41.770 # 

The Windows version of Redis reserves heap memory from the system paging file

for sharing with the forked process used for persistence operations.At this time there is insufficient contiguous free space available in the

system paging file. You may increase the size of the system paging file.

Sometimes a reboot will defragment the system paging file sufficiently for

this operation to complete successfully.


不知道这是啥错误呢?如何解决呢?

写回答

1回答

bobby

2017-08-07

这里面错误还是挺明确的, 内存不够了, 你是不是使用了bloomfilter 你可以将bloomfilter的内存值设置的小一些

0
5
bobby
回复
笑看风云号
加我qq 442421039 我看看
2017-08-09
共5条回复

Scrapy打造搜索引擎 畅销4年的Python分布式爬虫课

带你彻底掌握Scrapy,用Django+Elasticsearch搭建搜索引擎

5795 学习 · 6290 问题

查看课程