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

Mutex error after a few minutes of running #41

Closed
MichaelDanielTom opened this issue Apr 20, 2020 · 3 comments
Closed

Mutex error after a few minutes of running #41

MichaelDanielTom opened this issue Apr 20, 2020 · 3 comments

Comments

@MichaelDanielTom
Copy link

Hey everyone, on Amazon Linux the collector will start up, and run fine, showing that activity and log data are successfully submitted for all log data. But then after around 5 minutes, the service fails with fatal error: sync: unlock of unlocked mutex, spits out a go stack trace, and then closes with pganalyze-collector.service: main process exited, code=exited, status=2/INVALIDARGUMENT.

A few other things to note: our setup ran fine with 2 databases connected in the /etc/pganalyze-collector.conf, and only started erroring when we went up to 4, adding 2 more. There didn't seem to be any memory pressure during all of this. There also seemed to be an error uploading to S3 citing something related to 'EOF' a minute or so before the mutex error - not sure if it's related.

@mrmuskrat
Copy link

I'm seeing the same issue on CentOS 6.1 with 3 databases in the config.

@lfittl
Copy link
Member

lfittl commented May 19, 2020

Hi @MichaelDanielTom @mrmuskrat

Thanks for your reports - this should be fixed in the next release (0.28.0). See 9c52d84

Its currently building the release version for a final test, packages should be out tomorrow.

@lfittl
Copy link
Member

lfittl commented May 22, 2020

As discussed, this should be fixed in 0.28.0 - I'm therefore closing the issue. Please let us know if you are still running into this.

@lfittl lfittl closed this as completed May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants