Hi Tomonori, Thanks by reply. I 'guess' that is a problem with Mininet emulation limits, but I'm not sure about it. So, I increase the limits for the number of files that can be open by process, as follows, and now Ryu is registering all my datapaths :)
(Source: http://stackoverflow.com/questions/21515463/how-to-increase-maximum-file-open-limit-ulimit-in-ubuntu) 1) /etc/sysctl.conf: add end of line fs.file-max = 65535 2) /etc/security/limits.conf * soft nproc 65535 * hard nproc 65535 * soft nofile 65535 * hard nofile 65535 3) /etc/pam.d/common-session session required pam_limits.so 4) /etc/pam.d/su session required pam_limits.so Then, I reboot and confirm my changes with: 'ulimit -n' and 'ulimit -a' Regards, Lucio ........ -------------------------------------------- Em ter, 25/11/14, FUJITA Tomonori <[email protected]> escreveu: Assunto: Re: [Ryu-devel] Problem registering new datapaths Para: [email protected] Cc: [email protected] Data: Terça-feira, 25 de Novembro de 2014, 1:49 On Mon, 24 Nov 2014 03:58:10 -0800 Lucio Agostinho Rocha <[email protected]> wrote: > Hi, > > I'm trying to run a large simulation, with more than 100 switches, with many links between them. > However, after 100 switches connected, Ryu controller with 'ryu-manager --verbose ryu/app/ofctl_rest.py' shows: > > " > ... > DPSET: unregister datapath <ryu.controller.controller.Datapath object at 0x31aa850> > DPSET: unregister datapath <ryu.controller.controller.Datapath object at 0x2eb2850> > DPSET: unregister datapath <ryu.controller.controller.Datapath object at 0x2f51f50> > ... > " > > Is there something that I can do to increase the number of connections accepted by Ryu? > I verified that Mininet is able to support this amount of switches. > Any help is very useful! Best regards, Hmm, as far as I can recall, there is no such hard limit in the code. Can you investigate which (switch or controler) killed the connection? ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
