Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with many simultaneous connects to rosmaster on OSX 10.11 #849

Closed
jonfink opened this issue Jul 27, 2016 · 1 comment
Closed

Problem with many simultaneous connects to rosmaster on OSX 10.11 #849

jonfink opened this issue Jul 27, 2016 · 1 comment

Comments

@jonfink
Copy link
Contributor

jonfink commented Jul 27, 2016

As in http://answers.ros.org/question/240430/problems-launching-many-nodes-on-osx

I started experiencing intermittent problems with ROS (jade) on OSX 10.11 when running many nodes all trying to start up at once and access the rosmaster for subscriptions, publishes, and param server access.

Wrote a very simple test node:

#include <ros/ros.h>

int main(int argc, char *argv[])
{
  ros::init(argc, argv, "test_node");
  ros::NodeHandle pnh("~");

  ros::Rate r(100.0);

  while(ros::ok()) {

    if(!ros::master::check()) {
      ROS_ERROR("[%s] Unable to see master", ros::this_node::getName().c_str());
    }

    ros::spinOnce();

    r.sleep();
  }

  return 0;
}

And ran many (up to 100, but ran into problems by 30 or 40) instances of it.

Nodes periodically report that they are unable to contact the master. This is in keeping with what I noticed in my "real-world" setting, nodes would intermittently fail to contact master and be unable to retrieve parameter settings.

dirk-thomas pushed a commit that referenced this issue Oct 21, 2016
Handles issues with many simultaneous connections to XmlRPC Server in
OSX 10.11
@dirk-thomas
Copy link
Member

Fixed by 1e54697.

dirk-thomas pushed a commit that referenced this issue Mar 2, 2017
Handles issues with many simultaneous connections to XmlRPC Server in
OSX 10.11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants