Feature #2245

Add xmlrpc concurrency paramenters to oned.conf

Added by OpenNebula Systems Support Team almost 8 years ago. Updated over 7 years ago.

Status:ClosedStart date:07/29/2013
Priority:NormalDue date:
Assignee:Javi Fontan% Done:

100%

Category:Core & System
Target version:Release 4.4
Resolution:fixed Pull request:

Description

  • MAX_CONN: maximum number of concurrent connections to the server
  • MAX_CONN_BACKLOG: number of connections queued
  • KEEPALIVE_TIMEOUT: timeout for reused connections (more than one rpc per connection)
  • KEEPALIVE_MAX_CONN: maximum number of requests per connection
  • TIMEOUT: connection timeout

Associated revisions

Revision 4f271af6
Added by Javi Fontan almost 8 years ago

Feature #2245: Add xmlrpc concurrency paramenters to oned

Revision b84158f9
Added by Carlos Martín almost 8 years ago

Feature #2245: Add new xmlrpc config params to oned.conf

Revision e98dad20
Added by Carlos Martín almost 8 years ago

Feature #2245: New scons option, old_xmlrpc=yes

Revision 09a10e3d
Added by Javi Fontan almost 8 years ago

Feature #2245: Add xmlrpc concurrency paramenters to oned
(cherry picked from commit 4f271af67fcaac8993b6a56a2337b92590e1c57f)

Revision 4926f60f
Added by Carlos Martín almost 8 years ago

Feature #2245: Add new xmlrpc config params to oned.conf
(cherry picked from commit b84158f98df5cb279b4f255367905b87262be256)

Revision 7a8c4c7a
Added by Carlos Martín almost 8 years ago

Feature #2245: New scons option, old_xmlrpc=yes
(cherry picked from commit e98dad20e115921ec719d61763c4cdf49e57d113)

Revision dfe3fda6
Added by Javi Fontan almost 8 years ago

Feature #2245: revert timeout change in ruby oca

Revision 4e335128
Added by Javi Fontan almost 8 years ago

Feature #2245: revert timeout change in ruby oca
(cherry picked from commit dfe3fda6c36778da739b05064fd802851c98a5a6)

Revision 59bbb3b1
Added by Ruben S. Montero almost 8 years ago

feature #2245: Allow multiple MySQL connections

Revision 39710849
Added by Javi Fontan over 7 years ago

feature #2245: By default compiles with old xmlrpc-c

Now old_xmlrpc scons parameter is changed to new_xmlrpc. By default
it compiles with xmlrpc-c < 1.31. In case you want to compile with
version >= 1.31 you can add new_xmlrpc=yes to scons command and
the resulting binary will have new configuration parameters for
xmlrpc server.

http://dev.opennebula.org/issues/2245

Revision 9f51f721
Added by Javi Fontan over 7 years ago

feature #2245: make xmlrpc-c-config the first option in scons

Try first using xmlrpc-c-config to compile and link options
instead of pkg-config. Needed for statically link new versions
of xmlrpc-c when other is installed systemwide.

History

#1 Updated by Javi Fontan almost 8 years ago

  • Assignee set to Javi Fontan

Add documentation

#2 Updated by Javi Fontan almost 8 years ago

  • Status changed from New to Assigned

#3 Updated by Javi Fontan almost 8 years ago

  • Assignee changed from Javi Fontan to Javi Fontan

#4 Updated by Andrei Nistor almost 8 years ago

Should be noted that this requires xmlrpc-c >= 1.32

I tried to build it on CentOS 6 and it failed because max_conn was introduced in xmlrpc-c 1.32 and CentOS 6 ships with 1.16.

I used the old_xmlrpc=yes scons flag to get it to build.

http://xmlrpc-c.sourceforge.net/doc/libxmlrpc_server_abyss.html#max_conn

#5 Updated by Carlos Martín almost 8 years ago

Andrei Nistor wrote:

Should be noted that this requires xmlrpc-c >= 1.32

I tried to build it on CentOS 6 and it failed because max_conn was introduced in xmlrpc-c 1.32 and CentOS 6 ships with 1.16.

I used the old_xmlrpc=yes scons flag to get it to build.

http://xmlrpc-c.sourceforge.net/doc/libxmlrpc_server_abyss.html#max_conn

Yes, we included that in the Building from Source Code guide:
http://opennebula.org/documentation:rel4.4:compile

Maybe you were following the 4.2 guide, which doesn't include that warning.

We decided to make it look for newer versions by default, this way if you still decide to compile with older versions you are aware that some xmlrpc server options will be missing.

#6 Updated by Tino Vázquez over 7 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100
  • Resolution set to fixed

Documentation done, oned.conf changed, packages now linked to newer libxmlrpc. closing.

Also available in: Atom PDF