用的是麒麟v10sp3,cpu4核单线程,内存16g,性能都没问题。报的错是:
ActiveRecord::StatementInvalid (PG::ConnectionBad: PQconsumeInput() FATAL: terminating connection due to idle-in-transaction timeout
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
感觉像是pgsql内抛出的错误,我头篇帖子里有写。而且经过测试,我本机搭建的是没有问题的,到了公司内网环境就500了。