WikiWatershed / model-my-watershed

The web application front end for Model My Watershed.
https://modelmywatershed.org
Apache License 2.0
57 stars 31 forks source link

Subbasin: Fix 504 On Large Watersheds #2758

Closed arottersman closed 6 years ago

arottersman commented 6 years ago

Trying to subbasin model the Schuylkill HUC-8 on staging results in a 504 Gateway Timeout response at the GWLF-E stage. The MapShed modeling portion generates the 62 GMS files correctly, but trying to submit the GWLF-E job with the mapshed UUID fails. The same request works fine during local development. The failing request can be made via schuykill_subbasin_staging.sh.txt

The GWLF-E step works fine for smaller watersheds with fewer subbasins. For Schuylkill, the resulting set of GMS files generated by the MapShed step appear to be about 16MB. Investigate if this is too heavy to pass into the job initialization step, or if we need to adjust or nginx configuration; make the necessary adjustments.

arottersman commented 6 years ago

We are now able to submit the Schuykill HUC-8. It runs the GWLF-E portion of the model in ~84sec on staging..