appfog的redis service连接数太少这个问题有人遇到吗?

2012-12-02 01:46:48 +08:00
 imcj
Traceback (most recent call last):
File "/mnt/var/vcap.local/dea/apps/bukaopu-0-fff8d8c0575feeac10241638af5bf6ce/python/lib/python2.7/site-packages/web/application.py", line 237, in process
return p(lambda: process(processors))
File "/mnt/var/vcap.local/dea/apps/bukaopu-0-fff8d8c0575feeac10241638af5bf6ce/python/lib/python2.7/site-packages/web/session.py", line 85, in _processor
self._load()
File "/mnt/var/vcap.local/dea/apps/bukaopu-0-fff8d8c0575feeac10241638af5bf6ce/python/lib/python2.7/site-packages/web/session.py", line 104, in _load
self._check_expiry()
File "/mnt/var/vcap.local/dea/apps/bukaopu-0-fff8d8c0575feeac10241638af5bf6ce/python/lib/python2.7/site-packages/web/session.py", line 123, in _check_expiry
if self.session_id and self.session_id not in self.store:
File "/mnt/var/vcap.local/dea/apps/bukaopu-0-fff8d8c0575feeac10241638af5bf6ce/app/rediswebpy.py", line 34, in __contains__
return bool(self.redis_server.get(SESSION+key))
File "/usr/lib/pymodules/python2.7/redis/client.py", line 384, in get
return self.execute_command('GET', name)
File "/usr/lib/pymodules/python2.7/redis/client.py", line 256, in execute_command
connection.send_command(*args)
File "/usr/lib/pymodules/python2.7/redis/connection.py", line 197, in send_command
self.send_packed_command(self.pack_command(*args))
File "/usr/lib/pymodules/python2.7/redis/connection.py", line 180, in send_packed_command
self.connect()
File "/usr/lib/pymodules/python2.7/redis/connection.py", line 130, in connect
self.on_connect()
File "/usr/lib/pymodules/python2.7/redis/connection.py", line 157, in on_connect
if self.read_response() != 'OK':
File "/usr/lib/pymodules/python2.7/redis/connection.py", line 207, in read_response
raise response
ResponseError: max number of clients reached

如上。
4225 次点击
所在节点    云计算
2 条回复
mkeith
2012-12-22 14:34:42 +08:00
我也遇到了,我把instance设置为1后就没了,但还是会出现 invalid DB index ,这个是什么意思啊?
imcj
2012-12-22 15:39:58 +08:00
后来看,plan里写了,六个链接限制。 @mkeith

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/53861

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX