Annoying "invalid connection" error #2287
Labels
No Label
backport/done
backport/v1
blocked
db
oracle
db
sqlserver
duplicate
feature
cache
frontport/done
frontport/main
invalid
kind
breaking
kind
bug
kind
build
kind
dependencies
kind
docs
kind
driver
kind
enhancement
kind
feature
kind
performance
kind
proposal
kind
question
kind
refactor
kind
testing
need
feedback
need
test
proposal:accepted
RaspBerry Pi
regression
skip-changelog
upstream
wip
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: xorm/xorm#2287
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi master,
My server has been printing "invalid connection" error logs recently, I would like to ask, do you have any solutions for this error log? Does it because "*xorm.Session" object not be closed properly?
server log:
daemon.log
我的服务最近一直在打印错误日志"invalid connection", 请问什么原因会导致这个问题呢?是因为 "*xorm.Session" 没有被及时close吗?
server log:
daemon.log
config:
MaxConn: 30
MaxIdle:20
The information is printed by mysql driver and cannot be controlled by xorm. Maybe you can ask upstream.