Skip to content

sc-server does not stop with ctrl-c and eats up cpu #86

@radbasa

Description

@radbasa

I followed https://gist.github.com/1860325 and ran sc-server:

$ ./bin/sc-server --allow-from-ips="*.*.*.*"
SproutCore v1.7.1.beta Development Server
Allowing access only from IPs: *.*.*.*. Use --allow-from-ips='*.*.*.*' to allow all
Starting server at http://0.0.0.0:4020 in debug mode
To quit sc-server, press Control-C
>> Thin web server (v1.2.11 codename Bat-Shit Crazy)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:4020, CTRL+C to stop
^C
^C^C^C
^C^C^C

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.

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND           
17934 xxxxx   20   0 63496  55m 4304 R 99.5 11.1   6:37.57 ruby 

I will try a delete of abbot and then a reinstall.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions