Multiple code locations in the same server #27031
Unanswered
ArtiNgqobe
asked this question in
Q&A
Replies: 2 comments 2 replies
-
When specifically does this error happen? e.g. when reloading a code location, or when a sensor evaluation runs etc. It may help to profile your code when running it locally using a tool such as py-spy. There is some additional advice in this GH Discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
-
It happens for regular runs and it normally looks like below, when reloading code location that works fine, I am not quite sure how to link py-spy and still reading on this,
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I have a server that hosts 5 repositories/ code locations in one hardrive,
Everything has been running fine with just the daemon and webserver service until I started getting this error as I added more sensors, assets to the locations,
"dagster._core.errors.DagsterUserCodeUnreachableError: User code server request timed out due to taking longer than 60 seconds to complete"
Then I read about grpc servers, unfortunately because of resource restraints I had to set up the gprc servers as services for each location in the same server, this didn't seem to make a difference, I still get the same error every now and again,
For someone like me who is limited in resources how can I set up dagster to run efficiently for multiple code locations in the same server? What settings or configurations should I pay attention to?
Beta Was this translation helpful? Give feedback.
All reactions