我的应用程序是在Heroku,这很糟糕,因为我们现在有相当多的用户。最糟糕的是我不知道错误信息是什么意思..。
有人知道吗?
2013-05-15T20:55:58+00:00 app[postgres]: [24612-1] [ORANGE] LOG: checkpoint starting: time
2013-05-15T20:55:58+00:00 app[postgres]: [24613-1] [ORANGE] LOG: checkpoint complete: wrote 0 buffers (0.0%); 0 transaction log file(s) added, 0 removed, 1 recycled; write=0.000 s, sync=0.000 s, total=0.004 s; sync files=0, longest=0.000 s, average=0.000 s
2013-05-15T20:56:38+00:00 app[heroku-postgres]: source=HEROKU_POSTGRESQL_ORANGE measure.current_transaction=28963 measure.db_size=10396472bytes measure.tables=24 measure.active-connections=5 measure.waiting-connections=0 measure.index-cache-hit-rate=0 measure.table-cache-hit-rate=0.99999这是日志上唯一的东西。我读过Heroku Postgres日志语句,但是对于检查点完成,它说不需要行动.
有什么想法吗?任何帮助都是非常感谢的。谢谢
发布于 2013-05-16 02:23:48
问题在于自定义域。只在GoDaddy上建立了A(主机)记录,而不是CNAME (Alias)。有时,配置更改或部署会将应用程序放到不同的EC2 IP地址集上,情况就是如此。因此,尽管应用程序在没有CNAME的情况下工作了几个月,但一旦EC2 IP地址改变,自定义域就不再指向那里了。
我更改了A(主机)记录,然后添加了一个CNAME (别名)。现在一切都恢复正常了。
希望这能帮到别人!
https://stackoverflow.com/questions/16575178
复制相似问题