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

Number of tags supported on the server? #89

Open
MaticPogacnik opened this issue Jul 1, 2020 · 1 comment
Open

Number of tags supported on the server? #89

MaticPogacnik opened this issue Jul 1, 2020 · 1 comment

Comments

@MaticPogacnik
Copy link

Hi,

I tried to load ~ 500 different tags (NOT array) to the server, and I hit an undesirable limitations:

  • Simulator startup is very slow, to set up 500 tags it takes ~ 20-30 seconds.
  • If I try to pull only one of values with the python -m cpppo.server.enip.client -r 1000 Beamline_Type, CPU usage goes to 100% and sometimes the client stops with an Empty Response Error.

Is there a limitations how many tags are supported inside the simulator or is this possibly a bug?

Thanks

@MaticPogacnik
Copy link
Author

This is the error on the client:

Traceback (most recent call last):
  File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/devman/dev/cpppo/venv_cpppo/lib64/python3.6/site-packages/cpppo-4.0.6-py3.6.egg/cpppo/server/enip/client.py", line 1699, in <module>
    sys.exit( main() )
  File "/home/devman/dev/cpppo/venv_cpppo/lib64/python3.6/site-packages/cpppo-4.0.6-py3.6.egg/cpppo/server/enip/client.py", line 1680, in main
    fragment=fragment, printing=printing, timeout=timeout )
  File "/home/devman/dev/cpppo/venv_cpppo/lib64/python3.6/site-packages/cpppo-4.0.6-py3.6.egg/cpppo/server/enip/client.py", line 1444, in process
    transactions                = list( self.results( operations=operations, **kwds ))
  File "/home/devman/dev/cpppo/venv_cpppo/lib64/python3.6/site-packages/cpppo-4.0.6-py3.6.egg/cpppo/server/enip/client.py", line 1436, in results
    for idx,dsc,req,rpy,sts,val in self.operate( operations, **kwds ):
  File "/home/devman/dev/cpppo/venv_cpppo/lib64/python3.6/site-packages/cpppo-4.0.6-py3.6.egg/cpppo/server/enip/client.py", line 1431, in operate
    for idx,dsc,req,rpy,sts,val in harvested:
  File "/home/devman/dev/cpppo/venv_cpppo/lib64/python3.6/site-packages/cpppo-4.0.6-py3.6.egg/cpppo/server/enip/client.py", line 1321, in validate
    for index,descr,request,reply,status,val in harvested:
  File "/home/devman/dev/cpppo/venv_cpppo/lib64/python3.6/site-packages/cpppo-4.0.6-py3.6.egg/cpppo/server/enip/client.py", line 1308, in pipeline
    complete, requests )
AssertionError: Communication ceased before harvesting all pipeline responses: 505/507

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

1 participant