Unable to interrupt webrick

31 views
Skip to first unread message

Billy Gray

unread,
Sep 3, 2010, 10:26:58 AM9/3/10
to stati...@googlegroups.com
Hi StaticMatic-ers,

Anybody else seeing behavior like below, where ^C fails to kill staticmatic preview? Basically, I have to suspend the process so I can send it a kill signal (well, maybe SIGINT would have worked, too). Not married to WEBrick, that's just what it's using. Have other server gems available.

Cheers,
B!

Site root is: .
StaticMatic Preview Server Starting...
[2010-09-03 10:14:40] INFO  WEBrick 1.3.1
[2010-09-03 10:14:40] INFO  ruby 1.8.7 (2010-01-10) [i686-darwin10]
[2010-09-03 10:14:40] INFO  WEBrick::HTTPServer#start: pid=4737 port=3000
screen
...
^C[2010-09-03 10:23:39] ERROR Interrupt: 
/opt/local/lib/ruby/1.8/webrick/server.rb:91:in `select'
^Z
[1]+  Stopped                 staticmatic preview .
[wgray@Ryoan-ji]~/Documents/Sources/sqlcipher-site:master
$ ps | grep ruby
 4737 ttys002    0:03.17 /opt/local/bin/ruby /opt/local/bin/staticmatic preview .
 4830 ttys002    0:00.00 grep ruby
[wgray@Ryoan-ji]~/Documents/Sources/sqlcipher-site:master
$ kill -9 4737

--
Team Zetetic
http://zetetic.net

Eric D. Fields

unread,
Sep 3, 2010, 2:52:20 PM9/3/10
to stati...@googlegroups.com
Yup and not sure what the solution is :(

Methinks it has more to do w/ WEBrick than SM.

--
You received this message because you are subscribed to the Google Groups "StaticMatic" group.
To post to this group, send email to stati...@googlegroups.com.
To unsubscribe from this group, send email to staticmatic...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/staticmatic?hl=en.



--
eric

Stephen Bartholomew

unread,
Sep 16, 2010, 10:37:47 AM9/16/10
to StaticMatic
It's a rack/webrick thing. Mostly webrick... I'm looking into it at
the moment.

Steve
> > staticmatic...@googlegroups.com<staticmatic%2Bunsubscribe@googlegr oups.com>
> > .

Stephen Bartholomew

unread,
Sep 16, 2010, 11:20:57 AM9/16/10
to StaticMatic
Just pushed a fix for this in the pre release. Let me know how you
get on.

Steve
Reply all
Reply to author
Forward
0 new messages