Web interface hangs

Added by Stephen Farrell over 3 years ago

Running NexentaStor-Community-3.0.0-1.iso on both physical hadrware (hp ml115) and vsphere 4, the web interface constantly locks up and stops responding to new requests.


Replies

RE: Web interface hangs - Added by Dmitry Yusupov over 3 years ago

Could you verify your DNS settings?

Secondly, enable NMS trace_level, set it to 10 and see what command hangs in the logtail.

RE: Web interface hangs - Added by Stephen Farrell over 3 years ago

il do that, in the meantime this is in the logs for nmv

2010-04-01 10:54:06,331 cherrypy.msg INFO HTTP: Serving HTTP on http://0.0.0.0:2000/
2010-04-01 10:54:15,498 nmv.controllers ERROR
NMV Issue Report
------------------------------------------------------------------------
Title: NMV Internal Error: 
Date:  Thu Apr  1 10:54:15 2010

Request: GET /status/systemstat/system_data/?callback=jsonp1270115654865&_=1270115655378&updateInterval=5¶m_select=0&object_select=iopattern&seconds=20 HTTP/1.1
Headers:
Accept = text/javascript, application/javascript, */*
Accept-Encoding = gzip, deflate
Accept-Language = en-ie
Connection = Keep-Alive
Content-Length =
Content-Type =
Cookie = ys-jobviewer_expanded=b%3A0; session_id=71207903d7b026f3ea08da14e7ede7a5773d23ff; nmv_session=aec00a065f5c08e64bbf25c7955d403fb830799b
Host = 192.168.1.149:2000
Referer = http://192.168.1.149:2000/status/general/
Remote-Addr = 192.168.21.108
User-Agent = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.1; Dawn Meats Group)
X-Requested-With = XMLHttpRequest

Cookies:
nmv_session = aec00a065f5c08e64bbf25c7955d403fb830799b
session_id = 71207903d7b026f3ea08da14e7ede7a5773d23ff
ys-jobviewer_expanded = b%3A0

Params:
_ = 1270115655378
callback = jsonp1270115654865
object_select = iopattern
param_select = 0
seconds = 20
updateInterval = 5

Details:
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/nmv/httptools.py", line 53, in _loop_iter
  File "/usr/lib/pymodules/python2.5/cherrypy/_cphttptools.py", line 273, in main
    body = page_handler(*virtual_path, **self.params)
  File "", line 3, in system_data
  File "/usr/lib/pymodules/python2.5/turbogears/controllers.py", line 360, in expose
    *args, **kw)
  File "", line 5, in run_with_transaction
  File "/usr/lib/pymodules/python2.5/turbogears/database.py", line 363, in so_rwt
    retval = func(*args, **kw)
  File "", line 5, in _expose
  File "_d_speedups.pyx", line 356, in _d_speedups.BaseDispatcher.__getitem__
TypeError: ("'NoneType' object is not callable", >)


Exception in thread CPHTTPServer Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/pymodules/python2.5/cherrypy/_cpserver.py", line 114, in _start_http
    self.httpserver.start()
  File "/usr/lib/pymodules/python2.5/cherrypy/_cpwsgiserver.py", line 388, in start
    self.tick()
  File "/usr/lib/pymodules/python2.5/cherrypy/_cpwsgiserver.py", line 394, in tick
    s, addr = self.socket.accept()
  File "/usr/lib/python2.5/socket.py", line 172, in accept
    sock, addr = self._sock.accept()
error: (130, 'Software caused connection abort')

[ Apr  1 14:59:00 Stopping because service restarting. ]
[ Apr  1 14:59:00 Executing stop method ("/usr/bin/nmv.py stop"). ]
2010-04-01 14:59:00,060 cherrypy.msg INFO HTTP: HTTP Server shut down

RE: Web interface hangs - Added by Stephen Farrell over 3 years ago

Ok DNS is correct, how do i set NMS trace_level ?

RE: Web interface hangs - Added by Pavel Strashkin over 3 years ago

Stephen Farrell wrote:

Ok DNS is correct, how do i set NMS trace_level ?

From NMC: "setup appliance nms property trace_level"

RE: Web interface hangs - Added by Stephen Farrell over 3 years ago

ok, web gui is locked up and not responding

show appliance nms log

pr 01 15:34:26 (:1.10) EXEC: (969:0) ci -u -m'Option 'trace_level' changed'  /etc/nmsrc
Apr 01 15:34:51 (:1.7) DESTROY job PID=931, TYPE=runner_job ALIVE=0 runner_job: [name=services-check]
Apr 01 15:34:51 (:1.7) 931 destroyed
Apr 01 15:34:51 (:1.7) EXEC: (1003:0) pgrep nmdtrace
Apr 01 15:34:51 (:1.7) EXEC: (1004:0) pgrep nmdtrace
Apr 01 15:34:51 (:1.7) EXEC: (1005:0) pgrep nmdtrace
Apr 01 15:36:01 (:1.2) DESTROY job PID=923, TYPE=runner_job ALIVE=0 runner_job: [name=cpu-utilization-check]
Apr 01 15:36:01 (:1.2) 923 destroyed
Apr 01 15:36:01 (:1.2) Job runner_job started: 1037
Apr 01 15:36:02 (:1.16) memory-check locked
Apr 01 15:36:08 (:1.16) memory-check unlocked
Apr 01 15:45:00 (:1.2) Job runner_job started: 1084
Apr 01 15:45:01 (:1.18) cpu-utilization-check locked
Apr 01 15:45:05 (:1.5) Job runner_job started: 1091
Apr 01 15:45:07 (:1.20) services-check locked
Apr 01 15:45:07 (:1.20) services-check unlocked
Apr 01 15:45:16 (:1.18) cpu-utilization-check unlocked

RE: Web interface hangs - Added by Dmitry Yusupov over 3 years ago

What is the Web Browser version you are using?

RE: Web interface hangs - Added by Stephen Farrell over 3 years ago

IE8 and chrome same results each time.

RE: Web interface hangs - Added by Dmitry Yusupov over 3 years ago

Try the following:

nmc$ setup appliance upgrade

this will upgrade your software and potentially will fix IE8 bug which is known to be fixed with updated version of cherrypy.

RE: Web interface hangs - Added by Stephen Farrell over 3 years ago

So far so good, no hangs, web interface also seems faster?