开发者

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

开发者 https://www.devze.com 2023-01-27 08:23 出处:网络
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:

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

精彩评论

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