bugTransport Sample Protocol - Bugs: bug #27561, TSP_MAX_SERVER_NUMBER limitation...


bug #27561: TSP_MAX_SERVER_NUMBER limitation to 20

Submitted by:  Pediroda <pediroda>
Submitted on:  Wed 30 Sep 2009 01:18:09 PM UTC  
Category:  Core Severity:  3 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Release:  0.8.3 Fixed Release:  0.8.3

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 04 Oct 2009 12:35:40 PM UTC, comment #3: 

As stated by Frederik,

If you want to launch more than 20 tsp provider on the same
host you'll have to

1) edit tsp/src/core/include/tsp_const_def.h
   setup you wanted value, e.g.

2) recompile + install TSP on your target platforms
   see ยง2.3 of "TSP Programming Tutorial"
   see Download section
     --> documentations/tsp_programming_tutorial-1.0.pdf

3) Recompile your consumers and provider in order
   to take into account the new value.

the TSP_MAX_SERVER_NUMBER is used to size some static arrays
in TSP core we could theoretically get rid of it using
dynamic allocation, but it never seems to be necessary....
until now.

Eric NOULARD <erk>
Project Administrator
Thu 01 Oct 2009 05:14:48 AM UTC, comment #2: 

Frederik is right,

You may change the value of the constant.
By curiosity, why do you need to run more
than 15 providers at the same time on the same host?

Eric NOULARD <erk>
Project Administrator
Wed 30 Sep 2009 03:44:19 PM UTC, comment #1: 

No, if I remember correctly, it is used to allocate some arrays at compile time. You should be able to run way more servers than that, provided your machine is big enough.


Frederik Deweerdt <deweerdt>
Project Administrator
Wed 30 Sep 2009 01:18:09 PM UTC, original submission:  

Hi , we have seen that in tsp_const_def.h TSP_MAX_SERVER_NUMBER is max 20. Where does this limitation come from ? RPC ?
In practice we have even a limitation around 15 servers on the same machine.

Pediroda <pediroda>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by erk (Posted a comment)
  • -email is unavailable- added by deweerdt (Posted a comment)
  • -email is unavailable- added by pediroda (Submitted the item)
  • -email is unavailable- added by pediroda (-email is unavailable-)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-09-30 pediroda Carbon-Copy- => Added eric.fraxinous@atosorigin.com

    Back to the top

    Powered by Savane 3.6