cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
638
Views
0
Helpful
1
Replies

Python thread closing and JVM terminated

spudukko
Cisco Employee
Cisco Employee

Hi,

Recently i saw this issue where the python VM crashed while execution lux test. This is random and i am unable to find the reason. If i execute the lux again , it passes. There was error in  any python-nfvis logs .  To add more data it happens when ncs is started.

2017-11-02 21:37:10 - tailf-etsi-rel2-nfvo-nfvis-staged-delete - INFO - Starting...

2017-11-02 21:37:10 - tailf-etsi-rel2-nfvo-nfvis-staged-delete - INFO - Started

2017-11-02 21:41:14 - tailf-etsi-rel2-nfvo-nfvis-staged-delete - ERROR - ConfD closed connection

2017-11-02 21:41:14 - tailf-etsi-rel2-nfvo-nfvis-staged-delete - ERROR - Traceback (most recent call last):

  File "/auto/nso/tools/nso/4.4.4/src/ncs/pyapi/ncs_pyvm/ncsthreads.py", line 172, in run

    self.main._run()

  File "/auto/nso/tools/nso/4.4.4/src/ncs/pyapi/ncs/application.py", line 218, in _run

    with maapi.Maapi(load_schemas=True):

  File "/auto/nso/tools/nso/4.4.4/src/ncs/pyapi/ncs/maapi.py", line 181, in __init__

    self.load_schemas()

  File "/auto/nso/tools/nso/4.4.4/src/ncs/pyapi/ncs/maapi.py", line 396, in load_schemas

    _tm.maapi.load_schemas(self.msock)

EOF: ConfD closed connection

2017-11-02 21:41:17 - tailf-etsi-rel2-nfvo-nfvis-staged-delete - INFO - Exiting...

2017-11-02 21:41:17 - root - ERROR - Traceback (most recent call last):

  File "/auto/nso/tools/nso/4.4.4/src/ncs/pyapi/ncs_pyvm/ncsthreads.py", line 68, in _finish

    x()

  File "/auto/nso/tools/nso/4.4.4/src/ncs/pyapi/ncs/application.py", line 241, in _finish

    self.wait.release()

AttributeError: 'NoneType' object has no attribute 'release'

2017-11-02 21:41:17 - tailf-etsi-rel2-nfvo-nfvis-staged-delete - INFO - Exited

2017-11-02 21:41:17 - tailf-etsi-rel2-nfvo-nfvis-staged-delete - INFO - Goodbye cruel world...

1 Accepted Solution

Accepted Solutions

Jan Lindblad
Cisco Employee
Cisco Employee

JVM and PythonVM dying when NSO starts.. Sounds a bit like you might be running out of memory. What packages do you have in your NSO environment, and how much free memory before you start? Did you run any command to raise the JVM memory limit?

View solution in original post

1 Reply 1

Jan Lindblad
Cisco Employee
Cisco Employee

JVM and PythonVM dying when NSO starts.. Sounds a bit like you might be running out of memory. What packages do you have in your NSO environment, and how much free memory before you start? Did you run any command to raise the JVM memory limit?