ponder-sh / ponder

A backend framework for crypto apps
https://ponder.sh
MIT License
613 stars 95 forks source link

Database error while running insertLogFilterInterval, Cannot use a pool after calling end on the pool #769

Open jiguantong opened 6 months ago

jiguantong commented 6 months ago

image

This error will appear after running for a period of time (about 3 days), but our database is working normally

0xOlias commented 6 months ago

Thanks for reporting. Couple questions:

  1. What version of @ponder/core?
  2. Are you running ponder dev or ponder start here?
  3. If you search the logs for "fatal", are there any hits?
fewensa commented 6 months ago
  1. "@ponder/core": "^0.3.4",

  2. yarn start

  3. no output

    docker logs ormponder-index >& ormponder.log
    cat ormponder.log | grep fatal
jiguantong commented 6 months ago
  1. "@ponder/core": "^0.3.4",
  2. yarn start
  3. no output
docker logs ormponder-index >& ormponder.log
cat ormponder.log | grep fatal

@0xOlias Can yo help this?

wuminzhe commented 6 months ago

postgres or sqlite?

jiguantong commented 6 months ago

postgres or sqlite?

I have got this error when using sqlite in the development environment, and also got it when using postgres in the production environment.

0xOlias commented 6 months ago

@jiguantong are you still running into this issue?

jiguantong commented 6 months ago

@jiguantong are you still running into this issue?

Nope. I will continue to observe in the test environment for a while.

0xneves commented 6 months ago

I'm having a similar issue while synching with a new blockchain (evm type)

pondererrror