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

500 internal server issue when trying to send snapshots- heroku #52

Open
bregman90 opened this issue Nov 13, 2019 · 1 comment
Open

Comments

@bregman90
Copy link

bregman90 commented Nov 13, 2019

Hello - i am seeing a similar error as reported here: #30.

I've tried both using the Heroku addon and booting TuneMyGC from the command line.

I'm on Ruby 2.6.5.

Looking forward to using TuneMyGC!

-Ben


Nov 12 17:12:29 my-app app/web.1 I, [2019-11-13T01:12:29.387095 #6] INFO -- : [tunemygc, ppid: 4, pid: 6] An internal error occurred ({"status":"500","error":"Internal Server Error"}). Failed to sync 448 snapshots.

Nov 12 17:12:29 my-app app/web.1 I, [2019-11-13T01:12:29.387238 #6] INFO -- : [tunemygc, ppid: 4, pid: 6] Retrying in 2 seconds ...

Nov 12 17:12:32 my-app app/web.1 I, [2019-11-13T01:12:32.387618 #6] INFO -- : [tunemygc, ppid: 4, pid: 6] Sync failed after retries ...

Nov 12 17:12:36 my-app app/web.1 I, [2019-11-13T01:12:36.591201 #8] INFO -- : [b7e805e4-275c-451c-95e6-cf21a3936010] [tunemygc, ppid: 4, pid: 8] uninstalled action_controller spy

Nov 12 17:12:36 my-app app/web.1 I, [2019-11-13T01:12:36.591278 #8] INFO -- : [b7e805e4-275c-451c-95e6-cf21a3936010] [tunemygc, ppid: 4, pid: 8] kamikaze after 200 of 200 units of work

Nov 12 17:12:36 my-app app/web.1 I, [2019-11-13T01:12:36.609298 #8] INFO -- : [tunemygc, ppid: 4, pid: 8] kamikaze: synching 466 GC sample snapshots ahead of time (usually only on process exit)

Nov 12 17:12:36 my-app app/web.1 I, [2019-11-13T01:12:36.609570 #8] INFO -- : [tunemygc, ppid: 4, pid: 8] uninstalled GC tracepoint

Nov 12 17:12:36 my-app app/web.1 I, [2019-11-13T01:12:36.609797 #8] INFO -- : [tunemygc, ppid: 4, pid: 8] uninstalled action_controller spy

Nov 12 17:12:36 my-app app/web.1 I, [2019-11-13T01:12:36.611911 #8] INFO -- : [tunemygc, ppid: 4, pid: 8] Sync required? true

Nov 12 17:12:36 my-app app/web.1 I, [2019-11-13T01:12:36.612031 #8] INFO -- : [tunemygc, ppid: 4, pid: 8] Syncing 466 snapshots

Nov 12 17:12:37 my-app app/web.1 I, [2019-11-13T01:12:36.863978 #8] INFO -- : [tunemygc, ppid: 4, pid: 8] An internal error occurred ({"status":"500","error":"Internal Server Error"}). Failed to sync 466 snapshots.

Nov 12 17:12:37 my-app app/web.1 I, [2019-11-13T01:12:36.864094 #8] INFO -- : [tunemygc, ppid: 4, pid: 8] Retrying in 0 seconds ...

Nov 12 17:12:38 my-app app/web.1 I, [2019-11-13T01:12:38.546070 #8] INFO -- : [tunemygc, ppid: 4, pid: 8] An internal error occurred ({"status":"500","error":"Internal Server Error"}). Failed to sync 466 snapshots.

Nov 12 17:12:38 my-app app/web.1 I, [2019-11-13T01:12:38.546206 #8] INFO -- : [tunemygc, ppid: 4, pid: 8] Retrying in 1 seconds ...

Nov 12 17:12:41 my-app app/web.1 I, [2019-11-13T01:12:41.675335 #8] INFO -- : [tunemygc, ppid: 4, pid: 8] An internal error occurred ({"status":"500","error":"Internal Server Error"}). Failed to sync 466 snapshots.

Nov 12 17:12:41 my-app app/web.1 I, [2019-11-13T01:12:41.675480 #8] INFO -- : [tunemygc, ppid: 4, pid: 8] Retrying in 2 seconds ...

Nov 12 17:12:44 my-app app/web.1 I, [2019-11-13T01:12:44.675746 #8] INFO -- : [tunemygc, ppid: 4, pid: 8] Sync failed after retries ...

@Marcellllll
Copy link

Hi,

I am having the same issue:
[tunemygc, ppid: 4, pid: 15] An internal error occurred ({"status":"500","error":"Internal Server Error"}). Failed to sync 46 snapshots.

This is quickly followed by:
[tunemygc, ppid: 1, pid: 4] at_exit
[tunemygc, ppid: 1, pid: 4] uninstalled action_controller spy
[tunemygc, ppid: 1, pid: 4] Sync required? false
[tunemygc, ppid: 1, pid: 4] The TuneMyGC service requires an instrumented application to do at least one unit of work (an ActionController request / response cycle, processing a background job through ActiveJob etc.) in order to suggest a configuration.
[tunemygc, ppid: 1, pid: 4] During the last instrumented run, the agent observed 8 GC events of interest, but none of them happened within the context of a unit of work and is thus not representative of your application's GC profile.
[tunemygc, ppid: 1, pid: 4] Therefore, we're discarding 8 snapshots and will generate a configuration when there's more context available for the agent to get a representative sample size.

Looks like the service stopped after the errors. Heroku is still recommending the gem on their site. Does anybody know whether it still is working ?

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

2 participants