V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Recommended Services
Amazon Web Services
LeanCloud
New Relic
ClearDB
imcj
V2EX  ›  云计算

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

  •  
  •   imcj · 2012-12-02 01:46:48 +08:00 · 4239 次点击
    这是一个创建于 4407 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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

    如上。
    2 条回复    1970-01-01 08:00:00 +08:00
    mkeith
        1
    mkeith  
       2012-12-22 14:34:42 +08:00
    我也遇到了,我把instance设置为1后就没了,但还是会出现 invalid DB index ,这个是什么意思啊?
    imcj
        2
    imcj  
    OP
       2012-12-22 15:39:58 +08:00 via Android
    后来看,plan里写了,六个链接限制。 @mkeith
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1031 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 19:21 · PVG 03:21 · LAX 11:21 · JFK 14:21
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.