ZEROMQ assertion fds.size () <= FD_SETSIZE - Pytango -Windows64

Hi all,

this post is following my previous one 2 months ago. Basically it dealed with a DS crash after a while because ZeroMQ was out of memory. As it might be related to a known bug in Tango8.x/MSVC10, we took the opportunity to migrate to Tango9/VC12, actually installed from binaries : Tango9.2.2 / PyTango9.2.3 / Python 3.4.4.

Now, we didn't get any more this error, but we got a new one always from ZMQ lib : ZEROMQ assertion fds.size () <= FD_SETSIZE

As it is still related to a 'maximum of allocation' I guess we do something wrong in our DS code, because it is not supposed to grow somehow… By the way, and before of all, I would like to know if someone else already seen this assertion failure in a Tango execution context ??

Many thanks
Stéphane


Hi Stéphane,

I don't remember having seen this error before.
You seem to have an issue with the number of sockets you can create.
Do you create many sockets (and they are not closed when not needed anymore) in the code of your DS?
If not, do you have a big number of clients for this device server?
Many clients subscribing to events on this DS?

Cheers,
Reynald
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new.
Hi Reynald,
you talk about sockets, is it related to distributed messages between tango DS ? It could help me to understand at which level it is used.
Actually 2 of our DS crashed with the same message, after several hours. They have a small part of common code. Although I don't see what could generate so many sockets I'll have a look into it.

Thanks for any support you can provide !

Cheers
Stephane
The error you got is an error reported by ZMQ.
ZMQ is used in Tango to send/receive events.
Do you have many clients subscribing to events on these 2 Device servers?
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new.
Hi Reynald.

Well ,so far we were not able to reproduce this failure a second time. Even after 72h of execution… So we are moving forward with the migration to Tango9.2.5 and I'll come back to the forum if necessary.

Thank you very much for support.
Cheers
Stephane
 
Register or login to create to post a reply.