-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MDK runs incredibly slowly #155
Comments
Hi Dan, |
Usually not long at all, the slowest part is checking out the branch. But MDK doesn't even start to create the instance until a long wait. It's almost as if whatever MDK script I run, it doesn't even start to run it until a long wait. But no output during this time unless I CTRL-C |
How did you install MDK? Are your clones stored on the same disk? Could you try to set debug mode on and see where it stalls?
|
Installed via pip. Everything same disk (It's a VM). Done that, it stalls just before even starting. Yet I press CTRL-C and it finally starts; 11:22:12/var/www mdk create --version 33 --engine mariadb --install -n test33
^CCreating instance test33...
Fetching cached repository moodle.git...
/usr/bin/git fetch
Cloning repository...
/usr/bin/git clone /home/dan/.moodle-sdk/moodle.git /var/www/test33/moodle (^C I did after a minute of no output... was going to check I had debug set properly!) It's very strange... |
Lil clip of what I mean |
It looks like an output buffer issue to me. I can't really say why it happens, but I have experienced that in the past, here and there. Have you tried redirecting the output to a file? E.g.
|
Even that, it sits there for a long time before anything is output to /tmp/mdk.log. Just nothing happens. Only having this with MDK hence raising it here 😢 Hmm! |
This may just be an issue for me, but I'm finding MDK is taking an absolute age to run a command.
For example;
mdk create --version 27 --engine mariadb --install -n 27
It'll sit there for about 10 minutes or so, until eventually going on. If I attempt to cancel it (CTRL-C) it actually starts running it, but then cancels it anyway.
Is there something wrong with my build? Or am I not alone? 💃
The text was updated successfully, but these errors were encountered: