[tor-bugs] #23364 [Applications/Tor Browser]: RBM_NUM_PROCS not respected (was: RBM_NUM_CORES not respected)

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Aug 30 19:47:03 UTC 2017


#23364: RBM_NUM_PROCS not respected
--------------------------------------+----------------------------
 Reporter:  arthuredelstein           |          Owner:  tbb-team
     Type:  defect                    |         Status:  closed
 Priority:  Medium                    |      Milestone:
Component:  Applications/Tor Browser  |        Version:
 Severity:  Normal                    |     Resolution:  worksforme
 Keywords:                            |  Actual Points:
Parent ID:                            |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+----------------------------
Changes (by arthuredelstein):

 * status:  needs_information => closed
 * resolution:   => worksforme


Old description:

> I tried using the RBM_NUM_CORES option (implemented in #23075) with tor-
> browser-build. Unfortunately the build continued to use the default 4
> cores for some reason.
>
> If I replace the line
> {{{
>  num_procs: '[% GET ENV.RBM_NUM_PROCS ? ENV.RBM_NUM_PROCS : "4" %]'
> }}}
> with
> {{{
>  num_procs: '[% GET ENV.RBM_NUM_PROCS ? ENV.RBM_NUM_PROCS : "32" %]'
> }}}
> then it uses 32 cores as the default. So somehow the RBM_NUM_CORES env
> var is not being detected.

New description:

 I tried using the RBM_NUM_PROCS option (implemented in #23075) with tor-
 browser-build. Unfortunately the build continued to use the default 4
 cores for some reason.

 If I replace the line
 {{{
  num_procs: '[% GET ENV.RBM_NUM_PROCS ? ENV.RBM_NUM_PROCS : "4" %]'
 }}}
 with
 {{{
  num_procs: '[% GET ENV.RBM_NUM_PROCS ? ENV.RBM_NUM_PROCS : "32" %]'
 }}}
 then it uses 32 cores as the default. So somehow the RBM_NUM_PROCS env var
 is not being detected.

--

Comment:

 OK, false alarm. Turns out my problem was that I set env var with my user
 account, but then called `sudo make alpha`. The env var is not preserved
 when I use `sudo`. Thanks, boklm!

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23364#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list