DRYML Compiles for every request

59 views
Skip to first unread message

Austin Saylor

unread,
Jan 30, 2015, 4:49:46 PM1/30/15
to hobo...@googlegroups.com
Hi. I'm running an app with Hobo 2.0.1 and Dryml 2.0.1 with the Unicorn web server on an AWS OpsWorks instance. For some reason, for every request that comes it, Hobo will recompile the dryml. Does anyone know what would cause this?
Message has been deleted

erbecke

unread,
Feb 1, 2015, 4:09:38 PM2/1/15
to hobo...@googlegroups.com
Hi, check your /enviroments/ folder settings.

Best regards,
Eddie

Ignacio Huerta

unread,
Feb 3, 2015, 7:09:47 AM2/3/15
to hobo...@googlegroups.com
Can you share the logs of the server?
> --
> You received this message because you are subscribed to the Google
> Groups "Hobo Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to hobousers+...@googlegroups.com
> <mailto:hobousers+...@googlegroups.com>.
> To post to this group, send email to hobo...@googlegroups.com
> <mailto:hobo...@googlegroups.com>.
> Visit this group at http://groups.google.com/group/hobousers.
> For more options, visit https://groups.google.com/d/optout.

Tim Griffin

unread,
Mar 10, 2015, 9:43:16 AM3/10/15
to hobo...@googlegroups.com
Hi Ignacio;

Yes, I've noticed this as well in my Rails 3.2.21/Hobo 2.0.1 app, even when running in production. It's certainly not serious, but it must be consuming a few cycles against response time. 

I don't see a pattern to the trigger for a recompile, though. From my logs, for instance, I see it suddenly recompile out of the blue:

2110 Completed 200 OK in 420.5ms (Views: 354.9ms | ActiveRecord: 58.2ms)
2111 Connecting to database specified by database.yml
2112 Started GET "/general_register_searches" for 64.247.136.160 at 2015-03-09 12:24:15 -0400
2113 Processing by GeneralRegisterSearchesController#index as HTML
2114 Calculating fees for current preauthorization: 6210-0_88
2115   Rendered general_register_searches/index.dryml (198.4ms)
2116 Completed 200 OK in 215.9ms (Views: 154.5ms | ActiveRecord: 49.0ms)
2117   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/buttons/transition_button.dryml in 0.01s
2118   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/buttons/buttons.dryml in 0.00s
2119   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/buttons/create_button.dryml in 0.00s
...
...


Then again, later on, for no apparent reason, again. This time, I see a reconnection back to the database preceding the recompilation (I'll list the whole recompilation trace here...)

Started GET "/documents/1/1467/attachments/2032/download?1425743957&mode=show" for 64.26.134.201 at 2015-03-09 14:27:26 -0400
4741 Processing by DocumentAttachmentsController#download as HTML
4742   Parameters: {"1425743957"=>nil, "mode"=>"show", "document_region_id"=>"1", "document_id"=>"1467", "id"=>"2032"}
4743 Sent file /webapps/polar/document_attachments/1/1467/DI-66489-RTWKR.pdf (0.2ms)
4744 Completed 200 OK in 26.2ms (ActiveRecord: 8.2ms)
4745 Connecting to database specified by database.yml
4746   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/buttons/transition_button.dryml in 0.01s
4747   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/buttons/buttons.dryml in 0.00s
4748   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/buttons/create_button.dryml in 0.00s
4749   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/buttons/transition_link.dryml in 0.00s
4750   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/buttons/delete-button.dryml in 0.04s
4751   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/buttons/remote_method_button.dryml in 0.00s
4752   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/buttons/update_button.dryml in 0.00s
4753   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/cache/swept_cache.dryml in 0.00s
4754   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/cache/cache.dryml in 0.00s
4755   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/cache/nested_cache.dryml in 0.00s
4756   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/cards/card.dryml in 0.00s
4757   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/cards/cards.dryml in 0.00s
4758   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/cards/search_card.dryml in 0.00s
4759   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/editors/live_editor.dryml in 0.00s
4760   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/editors/click_editor.dryml in 0.01s
4761   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/editors/editors.dryml in 0.01s
4762   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/forms/error_messages.dryml in 0.00s
4763   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/forms/submit.dryml in 0.00s
4764   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/forms/forms.dryml in 0.00s
4765   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/forms/formlet.dryml in 0.00s
4766   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/forms/form.dryml in 0.00s
4767   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/html/stylesheet.dryml in 0.00s
4768   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/html/if_ie.dryml in 0.00s
4769   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/html/header.dryml in 0.00s
4770   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/html/footer.dryml in 0.00s
4771   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/html/html.dryml in 0.00s
4772   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/html/aside.dryml in 0.00s
4773   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/html/empty_tag.dryml in 0.01s
4774   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/html/javascript.dryml in 0.00s
4775   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/html/doctype.dryml in 0.00s
4776   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/html/section_group.dryml in 0.00s
4777   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/html/table.dryml in 0.01s
4778   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/html/a.dryml in 0.04s
4779   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/html/section.dryml in 0.00s
4780   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/html/image.dryml in 0.00s
4781   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/i18n/ht.dryml in 0.00s
4782   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/i18n/model_name_human.dryml in 0.00s
4783   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/i18n/t.dryml in 0.00s
4784   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/i18n/i18n.dryml in 0.00s
4785   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/i18n/human_collection_name.dryml in 0.00s
4786   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/inputs/input.dryml in 0.00s
4787   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/inputs/or_cancel.dryml in 0.01s
4788   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/inputs/input_for_date.dryml in 0.01s
4789   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/inputs/inputs.dryml in 0.00s
4790   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/inputs/check_many.dryml in 0.00s
4791   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/inputs/hot_input.dryml in 0.00s
4792   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/inputs/input_for.dryml in 0.01s
4793   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/inputs/input_all.dryml in 0.00s
4794   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/inputs/collection_input.dryml in 0.00s
4795   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/inputs/hidden_field.dryml in 0.00s
4796   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/inputs/after_submit.dryml in 0.00s
4797   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/inputs/select_input.dryml in 0.00s
4798   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/inputs/input_for_enum_string.dryml in 0.00s
4799   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/inputs/sti_type_input.dryml in 0.00s
4800   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/inputs/input_many.dryml in 0.02s
4801   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/inputs/select_one.dryml in 0.00s
4802   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/inputs/select_many.dryml in 0.04s
4803   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/inputs/select_menu.dryml in 0.00s
4804   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/lists/feckless_fieldset.dryml in 0.01s
4805   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/lists/labelled_item_list.dryml in 0.01s
4806   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/lists/empty_collection_message.dryml in 0.00s
4807   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/lists/field_list_v1.dryml in 0.01s
4808   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/lists/with_fields.dryml in 0.00s
4809   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/lists/field_list.dryml in 0.00s
4810   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/lists/collection.dryml in 0.05s
4811   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/lists/lists.dryml in 0.00s
4812   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/pages/account_disabled.dryml in 0.01s
4813   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/pages/forgot_password.dryml in 0.02s
4814   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/pages/login.dryml in 0.02s
4815   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/pages/permission_denied_page.dryml in 0.01s
4816   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/pages/not_found_page.dryml in 0.00s
4817   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/pages/pages.dryml in 0.00s
4818   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/pages/account.dryml in 0.04s
4819   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/pages/page_nav.dryml in 0.00s
4820   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/pages/flash_message.dryml in 0.00s
4821   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/plus/filter_menu.dryml in 0.00s
4822   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/plus/collection_preview.dryml in 0.01s
4823   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/plus/table_plus.dryml in 0.01s
4824   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/plus/gravatar.dryml in 0.00s
4825   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/plus/plus.dryml in 0.00s
4826   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/plus/search_filter.dryml in 0.01s
4827   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/plus/live_search.dryml in 0.01s
4828   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/views/type_name.dryml in 0.00s
4829   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/views/view.dryml in 0.00s
4830   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/views/links_for_collection.dryml in 0.00s
4831   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/views/record_flags.dryml in 0.00s
4832   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/views/a_or_an.dryml in 0.00s
4833   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/views/count.dryml in 0.00s
4834   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/views/views.dryml in 0.00s
4835   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/views/you.dryml in 0.01s
4836   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/views/nil_view.dryml in 0.04s
4837   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/views/collection_name.dryml in 0.00s
4838   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/views/name.dryml in 0.00s
4839   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/views/view_for.dryml in 0.01s
4840   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/views/comma_list.dryml in 0.00s
4841   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_rapid-2.0.1/taglibs/hobo_rapid.dryml in 0.72s
4842   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_jquery-2.0.1/taglibs/hobo_jquery.dryml in 0.00s
4843   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_jquery_ui-2.0.1/taglibs/name_one.dryml in 0.00s
4844   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_jquery_ui-2.0.1/taglibs/toggle.dryml in 0.00s
4845   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_jquery_ui-2.0.1/taglibs/tabs.dryml in 0.00s
4846   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_jquery_ui-2.0.1/taglibs/accordion_collection.dryml in 0.01s
4847   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_jquery_ui-2.0.1/taglibs/autocomplete.dryml in 0.00s
4848   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_jquery_ui-2.0.1/taglibs/accordion-list.dryml in 0.01s
4849   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_jquery_ui-2.0.1/taglibs/sortable_input_many.dryml in 0.01s
4850   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_jquery_ui-2.0.1/taglibs/dialog_box.dryml in 0.01s
4851   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_jquery_ui-2.0.1/taglibs/accordion.dryml in 0.00s
4852   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_jquery_ui-2.0.1/taglibs/sortable_collection.dryml in 0.00s
4853   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_jquery_ui-2.0.1/taglibs/overrides.dryml in 0.00s
4854   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_jquery_ui-2.0.1/taglibs/datepicker.dryml in 0.00s
4855   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_jquery_ui-2.0.1/taglibs/combobox.dryml in 0.00s
4856   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_jquery_ui-2.0.1/taglibs/hobo_jquery_ui.dryml in 0.05s
4857   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_clean-2.0.1/taglibs/nav.dryml in 0.02s
4858   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_clean-2.0.1/taglibs/hobo_clean.dryml in 0.04s
4859   DRYML: Compiled app/views/taglibs/auto/rapid/cards.dryml in 0.28s
4860   DRYML: Compiled app/views/taglibs/auto/rapid/pages.dryml in 3.25s
4861   DRYML: Compiled app/views/taglibs/auto/rapid/forms.dryml in 0.54s
4862   DRYML: Compiled app/views/taglibs/application/instruments.dryml in 0.28s
4863   DRYML: Compiled app/views/taglibs/application/regions.dryml in 0.06s
4864   DRYML: Compiled app/views/taglibs/application/tables.dryml in 0.03s
4865   DRYML: Compiled app/views/taglibs/application/holders.dryml in 0.08s
4866   DRYML: Compiled app/views/taglibs/application/parcel_child_parcels.dryml in 0.01s
4867   DRYML: Compiled app/views/taglibs/application/login.dryml in 0.03s
4868   DRYML: Compiled app/views/taglibs/application/plan_supersede_parcels_by_plan.dryml in 0.03s
4869   DRYML: Compiled app/views/taglibs/application/instruments_or_documents_related_instruments.dryml in 0.04s
4870   DRYML: Compiled app/views/taglibs/application/titles.dryml in 0.15s
4871   DRYML: Compiled app/views/taglibs/application/plans.dryml in 0.04s
4872   DRYML: Compiled app/views/taglibs/application/parties.dryml in 0.10s
4873   DRYML: Compiled app/views/taglibs/application/plans_wholly_superseded_plans.dryml in 0.02s
4874   DRYML: Compiled app/views/taglibs/application/stickyfooter.dryml in 0.17s
4875   DRYML: Compiled app/views/taglibs/application/plans_partially_superseded_parcels.dryml in 0.03s
4876   DRYML: Compiled app/views/taglibs/application/package_processing.dryml in 0.06s
4877   DRYML: Compiled app/views/taglibs/application/main-nav.dryml in 0.18s
4878   DRYML: Compiled app/views/taglibs/application/plan_parcels.dryml in 0.06s
4879   DRYML: Compiled app/views/taglibs/application/parcels.dryml in 0.11s
4880   DRYML: Compiled app/views/taglibs/application/plans_partially_superseded_plans.dryml in 0.02s
4881   DRYML: Compiled app/views/taglibs/application/attachments.dryml in 0.01s
4882   DRYML: Compiled app/views/taglibs/application/documents.dryml in 0.06s
4883   DRYML: Compiled app/views/taglibs/application/page.dryml in 0.04s
4884   DRYML: Compiled app/views/taglibs/application/parcels_parent_parcels.dryml in 0.10s
4885   DRYML: Compiled app/views/taglibs/application/communities.dryml in 0.00s
4886   DRYML: Compiled app/views/taglibs/application/title_creation.dryml in 0.03s
4887   DRYML: Compiled app/views/taglibs/application/packages.dryml in 0.16s
4888   DRYML: Compiled app/views/taglibs/application/title_searches.dryml in 0.03s
4889   DRYML: Compiled app/views/taglibs/application/plans_wholly_superseded_parcels.dryml in 0.01s
4890   DRYML: Compiled app/views/taglibs/application/general_register_searches.dryml in 0.02s
4891   DRYML: Compiled app/views/taglibs/application/package_summary.dryml in 0.03s
4892   DRYML: Compiled app/views/taglibs/application/groups.dryml in 0.19s
4893   DRYML: Compiled app/views/taglibs/application/users.dryml in 0.09s
4894   DRYML: Compiled app/views/taglibs/application/package_summary_undo.dryml in 0.12s
4895   DRYML: Compiled app/views/taglibs/application.dryml in 7.43s
4896   DRYML: Compiled app/views/taglibs/auto/admin/rapid/cards.dryml in 0.22s
4897   DRYML: Compiled app/views/taglibs/auto/admin/rapid/pages.dryml in 0.48s
4898   DRYML: Compiled app/views/taglibs/auto/admin/rapid/forms.dryml in 0.05s
4899   DRYML: Compiled app/views/taglibs/themes/clean/clean.dryml in 0.00s
4900   DRYML: Compiled /home/sshadmin/.rvm/gems/ruby-1.9.3-p545/gems/hobo_clean_admin-2.0.1/taglibs/hobo_clean_admin.dryml in 0.00s
4901   DRYML: Compiled app/views/taglibs/admin_site.dryml in 0.07s
4902 Started GET "/instruments/1/135857/download_pdf" for 64.26.134.201 at 2015-03-09 14:31:24 -0400
4903 Processing by InstrumentsController#download_pdf as HTML
4904   Parameters: {"region_id"=>"1", "instrument_no"=>"135857"}
4905 Checking for instrument image: /webapps/polar/scans/instruments/135857.pdf
4906 Sent file /webapps/polar/scans/instruments/135857.pdf (0.1ms)
4907 Completed 200 OK in 18.3ms (ActiveRecord: 9.3ms)


Tim

Ignacio Huerta

unread,
Mar 10, 2015, 11:07:49 AM3/10/15
to hobo...@googlegroups.com
Hi Tim,

What server are you using? Could it be Passenger/Unicorn/??? starting
and stopping Rails instances depending on load?

Warm regards,
Ignacio
> > an email to hobousers+...@googlegroups.com <javascript:>
> > <mailto:hobousers+...@googlegroups.com <javascript:>>.
> > To post to this group, send email to hobo...@googlegroups.com
> <javascript:>
> > <mailto:hobo...@googlegroups.com <javascript:>>.
> <http://groups.google.com/group/hobousers>.
> > For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.

Tim Griffin

unread,
Mar 10, 2015, 12:18:07 PM3/10/15
to hobo...@googlegroups.com
In that particular instance, yes, it's Apache/Passenger running on Ubuntu. 

I'll have to read up on some internals of Passenger to see if that's what it might be doing. I have the same app running under Torquebox on Windows Server... I'll check the logs to see if that installation is also recompiling "at will".

Thanks for the suggestion. I'll see what I can dig up.

T

You received this message because you are subscribed to a topic in the Google Groups "Hobo Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hobousers/wZ3ugPAhhrE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hobousers+...@googlegroups.com.
To post to this group, send email to hobo...@googlegroups.com.

Ignacio Huerta

unread,
Mar 11, 2015, 8:24:51 AM3/11/15
to hobo...@googlegroups.com
Cool, that's probably it. You might be able to see how many instances
you have running with some command like "passenger_status"
(https://www.phusionpassenger.com/documentation/Users%20guide%20Apache.html#_inspecting_phusion_passenger_8217_s_internal_status)

In one case, I had a small app with low traffic, which felt too slow
from time to time. What was happening was that Passenger was stopping
the instances after some minutes of no traffic and restarting them when
new requests arrived. I ended up editing the Passenger config to ensure
it doesn't kill the instances too soon.

Warm regards,
Ignacio
> <mailto:hobousers%2B...@googlegroups.com> <javascript:>
> > > <mailto:hobousers+...@googlegroups.com
> <mailto:hobousers%2B...@googlegroups.com> <javascript:>>.
> > > To post to this group, send email to
> hobo...@googlegroups.com <mailto:hobo...@googlegroups.com>
> > <javascript:>
> > > <mailto:hobo...@googlegroups.com
> <mailto:hobo...@googlegroups.com> <javascript:>>.
> > > Visit this group at http://groups.google.com/group/hobousers
> > <http://groups.google.com/group/hobousers>.
> > > For more options, visit https://groups.google.com/d/optout
> > <https://groups.google.com/d/optout>.
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Hobo Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> > an email to hobousers+...@googlegroups.com
> <mailto:hobousers%2Bunsu...@googlegroups.com>
> > <mailto:hobousers+...@googlegroups.com
> <mailto:hobousers%2Bunsu...@googlegroups.com>>.
> > To post to this group, send email to hobo...@googlegroups.com <mailto:hobo...@googlegroups.com>
> > <mailto:hobo...@googlegroups.com <mailto:hobo...@googlegroups.com>>.
> > Visit this group at http://groups.google.com/group/hobousers.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to a topic in
> the Google Groups "Hobo Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/hobousers/wZ3ugPAhhrE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> hobousers+...@googlegroups.com
> <mailto:hobousers%2Bunsu...@googlegroups.com>.

Stefan Haslinger

unread,
Mar 11, 2015, 8:37:14 AM3/11/15
to hobo...@googlegroups.com
Hi folks,

I thought, I just chime in share my config.
I believe I had the same issues 2013 and got rid of them using something along the lines of

PassengerPreStart http://www.informatom.com
PassengerPoolIdleTime 0

<VirtualHost *:80>
  PassengerMinInstances 1
  ServerName www.informatom.com
  DocumentRoot /var/rails/informatom/public
  RailsEnv production
  RackEnv production
  RackBaseURI /
  <Directory /var/rails/informatom/public>
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
    Options -MultiViews
  </Directory>

  <Location /assets/>
    Header unset ETag
    FileETag None
    ExpiresActive On
    ExpiresDefault "access plus 1 year"
  </Location>
</VirtualHost>

  • PreStart takes some time on reboot, reload, but starts automatically,
  • PoolIdleTime 0 
  • PassengerMinInstances 1 never let the last instance die.

Btw. any improvements on this config are welcome.

Ciao,
Stefan

Ignacio Huerta

unread,
Mar 11, 2015, 11:04:39 AM3/11/15
to hobo...@googlegroups.com
Nice config :). I have checked the server config and I also have:

PassengerMaxPreloaderIdleTime 0
PassengerHighPerformance on

The first one will make sure starting new instances is a bit faster (at
the expense of memory). And the second one is best described in the
official docs:

"By default, Phusion Passenger is compatible with mod_rewrite and most
other Apache modules. However, a lot of effort is required in order to
be compatible. If you turn PassengerHighPerformance to on, then Phusion
Passenger will be a little faster, in return for reduced compatibility
with other Apache modules."

Warm regards,
Ignacio
> * PreStart takes some time on reboot, reload, but starts automatically,
> * PoolIdleTime 0
> * PassengerMinInstances 1 never let the last instance die.
>
>
> Btw. any improvements on this config are welcome.
>
> Ciao,
> Stefan
>

Stefan Haslinger

unread,
Jun 10, 2016, 5:50:01 AM6/10/16
to Hobo Users
Ha! - my old issue is back, every now and then the views are recompiled.
No idea why, maybe an apache update, definitely no change in ruby, gems or passenger. So strange.

Now adopted Ignacio's config tipps, and it might have resolved the issues. Let's see....

Cheers,
Stefan
Reply all
Reply to author
Forward
0 new messages