[webroar] Howto limit webroar-workers running

조회수 0회
읽지 않은 첫 메시지로 건너뛰기

Thor42

읽지 않음,
2010. 5. 5. 오전 6:16:5210. 5. 5.
받는사람 WebROaR - Ruby Application Server
Hi,

i'm new to webroar and just changed the number of workers min/max, but
the process list still shows at least 4 worker process running. Even a
reboot doesn't change this number. Any hints?

Thanks
thor42

Dharmarth Shah

읽지 않음,
2010. 5. 10. 오전 2:37:0910. 5. 10.
받는사람 WebROaR - Ruby Application Server
Thor42,
By default, WebROaR runs one worker process for Admin Panel (that can
be turned off using the command - sudo webroar stop "Admin Panel"). It
also runs minimum 4 workers to serve the static assets (.js, .css
etc). These workers consume very little memory (~1 MB each). All of
these would show up running as 'root'.

Apart from these, initially it runs the minimum workers specified for
each application with the specified 'RunAsUser' privileges. Please
note that the values set for min/max workers for each application, are
the ones that are used overriding the one set for 'Server
Specifications'. You can change them through the Admin Panel.
http://<yourservername>:<port>/admin-panel/configuration

Hope this resolves your query. Please do let us know in case you have
any more questions.

Thanks,
Dharmarth
전체답장
작성자에게 답글
전달
새 메시지 0개