Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in production mode, multiple concurrence, run a moment, throw error. #4519

Closed
wuyuedefeng opened this issue Sep 26, 2018 · 3 comments
Closed

Comments

@wuyuedefeng
Copy link

{ AdapterError: Unexpected error from database adapter: `select` failed ("badConnection").  A connection either could not be obtained or there was an error using the connection.
Additional data:
 { error: Error: Pool is closed.
    at Pool.releaseConnection (/mnt/www/-new/releases/20180926072024/node_modules/mysql/lib/Pool.js:140:36)
...

db mysql, may the reason?

@sailsbot
Copy link

Hi @wuyuedefeng! It looks like you may have removed some required elements from the initial comment template, without which I can't verify that this post meets our contribution guidelines. To re-open this issue, please copy the template from here, paste it at the beginning of your initial comment, and follow the instructions in the text. Then post a new comment (e.g. "ok, fixed!") so that I know to go back and check.

Sorry to be a hassle, but following these instructions ensures that we can help you in the best way possible and keep the Sails project running smoothly.

*If you feel this message is in error, or you want to debate the merits of my existence (sniffle), please contact inquiries@sailsjs.com

@streleck
Copy link

@wuyuedefeng Can you please give me some more information about your project? What version of sailsjs? What is the DB adapter name and version? Also maybe include some code for how you have configured your DB.

@raqem
Copy link
Contributor

raqem commented Apr 11, 2019

Hi @wuyuedefeng with out further information we can not move forward with this issue. I hope you had success in resolving it! To help clean up Sails issues we are closing issues that have not had movement in some time.

@raqem raqem closed this as completed Apr 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants