@sicher wrote:
I’m running a local Discourse on a High Sierra machine, from master. All rspec tests pass ok and everything runs okay for a while. But after a few restarts the server just starts stalling. I’m getting some response in the logs (see below), but after some final sql query there’s nothing.
I’ve looked for stale processes, restarted and flushed redis but nothing helps short of wiping the whole thing and rebuilding it, which is very tedious.
I’ve tried to find anything on the forum about this issue, but to no avail. If anyone got a pointer as to what’s going on, I would be very grateful.
Puma starting in single mode... * Version 3.9.1 (ruby 2.3.4-p301), codename: Private Caller * Min threads: 0, max threads: 16 * Environment: development * Listening on tcp://0.0.0.0:3000 Use Ctrl-C to stop I, [2018-01-12T11:23:44.612920 #75343] INFO -- : Started GET "/" for 127.0.0.1 at 2018-01-12 11:23:44 +0100 I, [2018-01-12T11:23:44.613970 #75343] INFO -- : Started GET "/stylesheets/admin_787065b7345c06bae0a6b9a059aa7e02eda55089.css?__ws=localhost" for 127.0.0.1 at 2018-01-12 11:23:44 +0100 I, [2018-01-12T11:23:44.614363 #75343] INFO -- : Started GET "/stylesheets/desktop_theme_2_79351136cf8688063df0d9c90150114b2b9bfbcf.css?__ws=localhost" for 127.0.0.1 at 2018-01-12 11:23:44 +0100 I, [2018-01-12T11:23:44.614668 #75343] INFO -- : Started GET "/stylesheets/admin_787065b7345c06bae0a6b9a059aa7e02eda55089.css.map" for 127.0.0.1 at 2018-01-12 11:23:44 +0100 D, [2018-01-12T11:23:44.811108 #75343] DEBUG -- : (83.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC I, [2018-01-12T11:23:44.980174 #75343] INFO -- : Processing by ListController#latest as HTML D, [2018-01-12T11:23:45.068186 #75343] DEBUG -- : (22.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC D, [2018-01-12T11:23:45.068723 #75343] DEBUG -- : (25.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC D, [2018-01-12T11:23:45.073171 #75343] DEBUG -- : (3.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC I, [2018-01-12T11:23:45.105083 #75343] INFO -- : Processing by StylesheetsController#show as CSS I, [2018-01-12T11:23:45.106911 #75343] INFO -- : Processing by StylesheetsController#show_source_map as */* I, [2018-01-12T11:23:45.107335 #75343] INFO -- : Processing by StylesheetsController#show as CSS I, [2018-01-12T11:23:45.111310 #75343] INFO -- : Parameters: {"__ws"=>"localhost", "name"=>"admin_787065b7345c06bae0a6b9a059aa7e02eda55089"} D, [2018-01-12T11:23:45.112606 #75343] DEBUG -- : (1.9ms) SELECT "groups"."id", "groups"."name" FROM "groups" ORDER BY "groups"."name" ASC I, [2018-01-12T11:23:45.112676 #75343] INFO -- : Parameters: {"name"=>"admin_787065b7345c06bae0a6b9a059aa7e02eda55089"} I, [2018-01-12T11:23:45.113830 #75343] INFO -- : Parameters: {"__ws"=>"localhost", "name"=>"desktop_theme_2_79351136cf8688063df0d9c90150114b2b9bfbcf"} D, [2018-01-12T11:23:45.142633 #75343] DEBUG -- : Theme Load (2.8ms) SELECT "themes".* FROM "themes" WHERE "themes"."color_scheme_id" IS NULL LIMIT 1 D, [2018-01-12T11:23:45.143359 #75343] DEBUG -- : Theme Load (4.2ms) SELECT "themes".* FROM "themes" WHERE "themes"."color_scheme_id" IS NULL LIMIT 1 D, [2018-01-12T11:23:45.146208 #75343] DEBUG -- : Category Load (3.7ms) SELECT categories.*, t.slug topic_slug FROM "categories" LEFT JOIN topics t on t.id = categories.topic_id WHERE (NOT categories.read_restricted) ORDER BY "categories"."position" ASC D, [2018-01-12T11:23:45.153093 #75343] DEBUG -- : Theme Load (0.9ms) SELECT "themes".* FROM "themes" WHERE "themes"."id" = 2 LIMIT 1 D, [2018-01-12T11:23:45.201659 #75343] DEBUG -- : Theme Load (2.0ms) SELECT "themes".* FROM "themes" WHERE "themes"."key" = '63ed90c3-fe83-4400-88c9-19a9ac24874c' LIMIT 1
Posts: 1
Participants: 1