-
Notifications
You must be signed in to change notification settings - Fork 44
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
sc-server does not stop with ctrl-c and eats up cpu #86
Comments
@radbasa Would you mind running sc-server with verbose for me?
Edit: Please delete your tmp directory first, then re-run sc-server with verbose. |
@workmanw sorry, I've already redownloaded abbot.git. Looks fine now. It's not using a lot of cpu now. But I still can't ctrl-c out. sc-server with verbose: https://gist.github.com/1923934 |
Uh oh, spoke too soon. I just reloaded the page now, and I'm not getting any response. Ruby has hit 95% cpu use again. last verbose log from sc-server is: It might be because I've already sent ctrl-Cs to sc-server. Edit: Yes, I believe the high CPU usage by ruby happens after I send a ctrl-C to sc-server, which doesn't stop, and I refresh the browser. |
Filing a report of the irc session I had with unicolet regarding this issue. Running on Ubuntu 11.04 (GNU/Linux 2.6.38-8-generic-pae i686), with sc-server running, and ctrl-c is sent, strace gave us: Installed sproutcore 1.8 on Ubuntu 10.04.2 LTS sc-server stops as it should when sent a ctrl-c |
I was able to reproduce it and turns out it is not a ruby or sproutcore issue, but rather a Linux kernel regression issue.
Reference: http://bugs.ruby-lang.org/issues/4777 |
It looks like it is isolated to Linus kernel 2.6.38 of which Ubuntu 11.04 is based on. I tried safe-upgrade you mentioned, it didn't work for me. I have since upgraded to Ubuntu 11.10. Without touching or reinstalling the abbot 1.8, ctrl-C works now. |
I followed https://gist.github.com/1860325 and ran sc-server:
I can't ctrl-C out of sc-server. I have to kill -9 it.
Also, accessing server:4020/todos with a browser pushes ruby to hit the roof. I am guessing this is sc-server. The welcome to sproutcore page also hasn't loaded after several minutes have passed.
I will try a delete of abbot and then a reinstall.
The text was updated successfully, but these errors were encountered: