Hi, IIRC you (also) need to set minfds in the supervisord config file [supervisord] section. (e.g. supervisord_config.conf) E.g. minfds=1000000 ;
You can check if it is properly set by looking at the proc filesystem: cat /proc/$PID_OF_CONTRAILAPI/limits Cheers, Robert van Leeuwen On 1/18/16, 4:12 PM, "Dev on behalf of 王李明" <dev-boun...@lists.opencontrail.org on behalf of wan...@certusnet.com.cn> wrote: > >hi filip: > I find there will be some socket open file error like this: >socket xxxx too many open file > >I guess the when contrail-api has a lot of socket >then when it want to open other file such as socket ,unix socket then the >error shown > >how may file contrail-api can open? > > >-----邮件原件----- >发件人: Filip Pytloun [mailto:filip.pytl...@tcpcloud.eu] >发送时间: 2016年1月18日 21:22 >收件人: 王李明 >抄送: dev@lists.opencontrail.org >主题: Re: 答复: [opencontrail-dev] contrail-api too many open file > >Maybe try to raise it to higher number. >And don't forget to restart services (or reboot) after that change to re-apply >user-level limits. > >Read more on open files limit eg. here: >http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/ > >Filip > >On 2016/01/18 19:06, 王李明 wrote: >> hi Filip: >> I hava updated the ulimite -n parame to 65535 but it still show the >> error >> >> >> >> -----邮件原件----- >> 发件人: Dev [mailto:dev-boun...@lists.opencontrail.org] 代表 Filip Pytloun >> 发送时间: 2016年1月18日 17:24 >> 收件人: dev@lists.opencontrail.org >> 主题: Re: [opencontrail-dev] contrail-api too many open file >> >> Hello, >> >> you need to raise limit of open files, put something like this in your >> /etc/security/limits.conf: >> >> * hard nofile 65535 >> * soft nofile 65535 >> >> possibly adjust the number or matching user/group. >> >> Filip >> >> On 2016/01/18 09:54, 王李明 wrote: >> > hi all: >> > >> > I use openstack rally to create a lot of >> > network,subnet,vm,router such as >> > >> > when about 5 hour later I find neutron server can not connect with >> > contrail-api >> > >> > >> > >> > and I find a lot of error with contrail-api >> > >> > >> > >> > open("/etc/passwd") too many open file >> > >> > open("/etc/passwd") too many open file >> > >> > open("/etc/passwd") too many open file >> > >> > open("/etc/passwd") too many open file >> > >> > open("/etc/passwd") too many open file >> > >> > open("/etc/passwd") too many open file >> > >> > open("/etc/passwd") too many open file >> > >> > open("/etc/passwd") too many open file >> > >> > ...................................... >> > >> > >> > >> > >> > >> > why >> > >> > >> > >> > anyone can help me >> > >> > >> > >> >> > _______________________________________________ >> > Dev mailing list >> > Dev@lists.opencontrail.org >> > http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail. >> > org >> >> >> -- >> Filip Pytloun >> Cloud Architect >> >> [tcp ◕ cloud] >> >> tcp cloud a.s. >> Thamova 16, 180 00 Prague 8 >> >> Mobile: +420 776 004 323 >> E-mail: filip.pytl...@tcpcloud.eu >> Web: http://www.opentcpcloud.org/ >> >> >> > >-- >Filip Pytloun >Cloud Architect > >[tcp ◕ cloud] > >tcp cloud a.s. >Thamova 16, 180 00 Prague 8 > >Mobile: +420 776 004 323 >E-mail: filip.pytl...@tcpcloud.eu >Web: http://www.opentcpcloud.org/ > > > > >_______________________________________________ >Dev mailing list >Dev@lists.opencontrail.org >http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org _______________________________________________ Dev mailing list Dev@lists.opencontrail.org http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org