| [11:10:41] | <mstenta[m]> | alexheiss: I'm around today until about 3 pm (eastern) if you want to chat some more. |
| [11:15:01] | <tgrosinger[m]> | Hey mstenta |
| [11:15:12] | <tgrosinger[m]> | I left a couple more comments on that github issue |
| [11:15:21] | <tgrosinger[m]> | Making some progress! |
| [11:15:22] | <tgrosinger[m]> | But still stumped |
| [11:16:22] | <mstenta[m]> | Hi tgrosinger |
| [11:16:33] | <mstenta[m]> | I saw! I'm catching up on emails right now... was about to reply to that too :-) |
| [11:16:41] | <mstenta[m]> | Sounds like some good clues! |
| [11:16:55] | <mstenta[m]> | Let me read over it again... be right back... |
| [11:18:17] | * farmBOT has joined #farmos |
| [11:25:34] | <mstenta[m]> | tgrosinger: Added some comments with things we can try... |
| [11:27:34] | <tgrosinger[m]> | Perfect, thank you. I will test those out and get back. |
| [11:36:53] | <mstenta[m]> | tgrosinger: the fact that it is happening for admin user but not others (except on /farm and /farm/areas) is very telling. |
| [11:38:16] | <mstenta[m]> | Drupal runs access callback functions to check that users have a role with permission to access certain pages/paths/functions etc. The admin user always has full access. So this could mean that something is running for admin because they have access, but not running for others (except on maps) |
| [11:38:34] | <mstenta[m]> | The fact that it happens for other users on /farm and /farm/areas makes me think it has to do with the map |
| [11:39:00] | <mstenta[m]> | The page /farm/assets/plantings (and other asset-listing pages) also have a map |
| [11:39:15] | <mstenta[m]> | So you could try that too - as well as the one I posted in the issue (/admin/structure/taxonomy/farm_areas/add) |
| [11:39:47] | <mstenta[m]> | Notably, all those pages have slightly different maps - so if there is any noticeable difference between them, that might also provide some clues |
| [11:42:55] | <tgrosinger[m]> | Interesting. /farm/assets/plantings loaded very quickly when I had no plantings, and the page to add one loaded quickly, but submitting the adding of one and now looking at the plantings listing is loading very slowly. |
| [11:43:02] | <tgrosinger[m]> | So adding a planting changed something that induced the problem |
| [11:46:15] | <mstenta[m]> | Hmm ok |
| [11:46:18] | <mstenta[m]> | Can you delete the planting? |
| [11:46:22] | <mstenta[m]> | And see if that fixes it? |
| [11:46:38] | <mstenta[m]> | (if you created any logs with the planting you will need to delete those first) |
| [11:48:15] | <tgrosinger[m]> | It did solve it! |
| [11:50:30] | <mstenta[m]> | Ok intersting |
| [11:50:45] | <mstenta[m]> | Hmm |
| [11:51:02] | <mstenta[m]> | Did it solve it EVERYWHERE? |
| [11:51:10] | <mstenta[m]> | On /farm and /farm/areas too? |
| [11:51:43] | <tgrosinger[m]> | No, those two are still slow |
| [11:52:00] | <mstenta[m]> | Hmm ok |
| [11:52:07] | <mstenta[m]> | But /farm/assets/plantings is fast? |
| [11:52:28] | <tgrosinger[m]> | Right. With no plantings shown |
| [11:52:44] | <mstenta[m]> | OK. So that suggests it has something to do with loading shapes into the map... I think? |
| [11:53:15] | <mstenta[m]> | Well... actually maybe not |
| [11:53:58] | <mstenta[m]> | (that happens via a separate HTTP request, but it seems like the initial page load is what's slowing things down... otherwise you would see the page quick, and then the shapes would be slow to show up in the map) |
| [11:54:00] | <mstenta[m]> | hmmmm |
| [11:54:18] | <mstenta[m]> | This is a real stumper :-) |
| [11:54:44] | <tgrosinger[m]> | It's definitely the initial page load that slows everything down. Once the main page returns, everything else is really quick |
| [11:54:58] | <mstenta[m]> | Yea... I remember you showing me the screenshot of the Network tab... |
| [11:55:00] | <mstenta[m]> | Strange |
| [11:55:29] | <mstenta[m]> | I'll document these things in the issue for future reference... in the meantime can you download and install the Devel module? |
| [11:55:45] | <tgrosinger[m]> | Yup |
| [11:55:50] | <mstenta[m]> | https://ftp.drupal.org/files/projects/devel-7.x-1.6.tar.gz |
| [11:56:02] | <mstenta[m]> | untar that into your www volume in /sites/all/modules/devel |
| [11:56:14] | <mstenta[m]> | then go to /admin/modules and enable "Devel" |
| [11:56:27] | <mstenta[m]> | (might take a while because you'll need to be admin user) |
| [11:57:40] | <mstenta[m]> | All those tests with /farm/assets/plantings you just did were as non-admin user, right? |
| [11:58:57] | <tgrosinger[m]> | Right |
| [12:44:15] | * mstenta has joined #farmos |
| [12:45:59] | <mstenta> | tgrosinger[m]: Riot is having issues - if you can see this, and you have IRC, I am "mstenta" in freenode |
| [12:49:11] | * tgrosinger has joined #farmos |
| [13:45:59] | * mstenta has quit (Quit: Leaving) |
| [13:53:44] | * tgrosinger has quit (Quit: Page closed) |
| [15:14:45] | * mstenta has joined #farmos |
| [15:30:46] | * mikebrunt has joined #farmos |
| [15:31:26] | <mstenta> | hi mikebrunt |
| [15:33:08] | * mikebrunt has quit (Client Quit) |
| [15:33:42] | * mikebrunt has joined #farmos |
| [15:44:21] | * mstenta has quit (Quit: Leaving) |
| [16:06:25] | <tgrosinger[m]> | mstenta: I found the root issue that was causing the super long requests. I run a DNSs server in another docker container on the same host, and the host is configured to use that as its DNS server. The farmos container was not able to get to this container (haven't fixed that yet) and so it had to wait for each DNS request to time out before falling back to the next DNS server. |
| [16:07:47] | <mstenta[m]> | @tgrosinger:matrix.org: Ah ok! That makes sense |
| [16:07:54] | <mstenta[m]> | Glad we figured it all out |
| [16:08:11] | <tgrosinger[m]> | Me too. Thanks again for all the help. |
| [17:06:14] | <tgrosinger[m]> | Is there a way to see what the farm_plan and farm_plan_consideration modules add? I enabled them, but am not sure what changed. |
| [17:07:25] | <mstenta[m]> | They don't do anything by themselves yet... The grazing module uses them to add a grazing plan type |
| [17:07:45] | <tgrosinger[m]> | Oh, and I see the new plan header. Cool thank you :) |
| [17:07:47] | <mstenta[m]> | GitHub.com/farmos/farm_grazing |
| [17:08:28] | <mstenta[m]> | It's where we're headed: more planning features |
| [17:08:58] | <mstenta[m]> | Ie: crop plan, grazing plan, nutrient management plan, etc |
| [17:09:00] | <tgrosinger[m]> | That is definitely something I would be interested in. Features to aid in planning crop rotations |
| [17:09:04] | <tgrosinger[m]> | Yeah |
| [17:09:13] | <mstenta[m]> | Cool yea! |
| [17:09:26] | <mstenta[m]> | Me too |
| [18:22:41] | * mikebrunt has quit (Ping timeout: 256 seconds) |