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

Error during the configuration generation phase #12

Open
64kramsystem opened this issue Mar 13, 2015 · 2 comments
Open

Error during the configuration generation phase #12

64kramsystem opened this issue Mar 13, 2015 · 2 comments

Comments

@64kramsystem
Copy link

I've installed tunemygc, but I get an errror (in the log) when the configuration is being generated.

Relevant configuration details: the app is served by Passenger, and it uses the dotenv gem, so I've simply put the configuration parameters into the .env file, which works as expected.

The problem is that when I've restarted the passengers, the configuration generation failed for all the processes, with such log for each process:

myenv.log:327115:Mar 13 08:32:35 myserver rails[22972]: [TuneMyGC, pid: 22972] at_exit
myenv.log:327116:Mar 13 08:32:35 myserver rails[22972]: [TuneMyGC, pid: 22972] uninstalled GC tracepoint
myenv.log:327117:Mar 13 08:32:35 myserver rails[22972]: [TuneMyGC, pid: 22972] uninstalled action_controller spy
myenv.log:327118:Mar 13 08:32:35 myserver rails[22972]: [TuneMyGC, pid: 22972] Syncing 797 snapshots
myenv.log:327122:Mar 13 08:32:37 myserver rails[22972]: [TuneMyGC, pid: 22972] Config reccommendation error (uninitialized constant TuneMyGc::Configurator::TuneMyGCc)

I can see a few instances of this error:

myenv.log:324004:Mar 13 08:31:18 myserver rails[28181]: [TuneMyGC, pid: 28181] Unknown error: <!DOCTYPE html>    <html>    <head>      <meta name="viewport" content="width=device-width, initial-scale=1">      <style type="text/css">        html, body, iframe { margin: 0; padding: 0; height: 100%; }        iframe { display: block; width: 100%; border: none; }      </style>    <title>Application Error</title>    </head>    <body>      <iframe src="//s3.amazonaws.com/heroku_pages/error.html">        <p>Application Error</p>      </iframe>    </body>    </html>

I also find dozens of thousands (for each process) of "Discarding snapshots" messages, which I assume it's normal.

If I try to fetch the configuration via tunemygc -c, I get an error There is no configuration [...] yet.

@methodmissing
Copy link
Member

Thanks for flagging. Will push a new release and update here

@ghost
Copy link

ghost commented Aug 4, 2015

Any update on this?

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