开发者

ps -ax shows me a "rack" process. Is this normal?

I run a webpage using the Ruby web-framework Sinatra on my Ubuntu server. Today I looked to my processes and found these two lines:

30129 ?        S      0:00 Passenger ApplicationSpawner: /var/www/bla.com             开发者_如何学编程                                       
30139 ?        S      0:00 Rack: /var/www/bla.com

I never noticed these before. Are these normal, or should I be concerned?


It should be normal. Check out what Rack is. Killing that process could risk your webpage functionality, so don't do it.


From what I could find, Rack is used by Sinatra:

Sinatra rides on Rack, a minimal standard interface for Ruby web frameworks.

from http://www.sinatrarb.com/intro


Yes, it's normal. Passenger is your webserver, and Rack is the middleware between your server and Sinatra framework.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜