(This message has been automatically imported from the retired mailing list)
Hello,
I have a staging server, with about 6 services, with not much load, the =
server load average is .10, with no process using more than 2% of the =
cpu, however the zato Admin is extremely slow, sometimes timing out, or =
throwing errors like this:
Could not invoke the method, e:[Traceback (most recent call last):
File =
"/opt/zato/1.1/zato-web-admin/src/zato/admin/web/views/scheduler.py", =
line 286, in index
response =3D req.zato.client.invoke(‘zato.scheduler.job.get-list’, =
{‘cluster_id’: req.zato.cluster_id})
File “/opt/zato/1.1/zato-client/src/zato/client/init.py”, line =
377, in invoke
return self._invoke(async=3DFalse, *args, **kwargs)
File “/opt/zato/1.1/zato-client/src/zato/client/init.py”, line =
374, in _invoke
return super(AnyServiceInvoker, self).invoke(dumps(request), =
ServiceInvokeResponse, async, headers, output_repeated)
File “/opt/zato/1.1/zato-client/src/zato/client/init.py”, line =
311, in invoke
return self.inner_invoke(request, response_class, async, =
headers=3Dheaders)
File “/opt/zato/1.1/zato-client/src/zato/client/init.py”, line =
297, in inner_invoke
self.max_cid_repr, self.logger, output_repeated)
File “/opt/zato/1.1/zato-client/src/zato/client/init.py”, line =
226, in init
super(ServiceInvokeResponse, self).init(*args, **kwargs)
File “/opt/zato/1.1/zato-client/src/zato/client/init.py”, line 69, =
in init
self.init()
File “/opt/zato/1.1/zato-client/src/zato/client/init.py”, line =
165, in init
json =3D loads(self.inner.text)
File “/opt/zato/1.1/eggs/anyjson-0.3.3-py2.7.egg/anyjson/init.py”, =
line 135, in loads
return implementation.loads(value, *args, **kwargs)
File “/opt/zato/1.1/eggs/anyjson-0.3.3-py2.7.egg/anyjson/init.py”, =
line 99, in loads
return self._decode(s, *args, **kwargs)
ValueError: JSON parsing error at line 1, column 1 (position 0): =
Unexpected U+003C (<) while looking for .
or this:
Traceback (most recent call last): File =
"/opt/zato/1.1/zato-web-admin/src/zato/admin/web/views/init.py", =
line 221, in call response =3D self.invoke_admin_service() File =
"/opt/zato/1.1/zato-web-admin/src/zato/admin/web/views/init.py", =
line 186, in invoke_admin_service return =
self.req.zato.client.invoke(self.service_name, input_dict) File =
"/opt/zato/1.1/zato-client/src/zato/client/init.py", line 377, in =
invoke return self._invoke(async=3DFalse, *args, **kwargs) File =
"/opt/zato/1.1/zato-client/src/zato/client/init.py", line 374, in =
_invoke return super(AnyServiceInvoker, self).invoke(dumps(request), =
ServiceInvokeResponse, async, headers, output_repeated) File =
"/opt/zato/1.1/zato-client/src/zato/client/init.py", line 311, in =
invoke return self.inner_invoke(request, response_class, async, =
headers=3Dheaders) File =
"/opt/zato/1.1/zato-client/src/zato/client/init.py", line 297, in =
inner_invoke self.max_cid_repr, self.logger, output_repeated) File =
"/opt/zato/1.1/zato-client/src/zato/client/init.py", line 226, in =
init super(ServiceInvokeResponse, self).init(*args, **kwargs) =
File “/opt/zato/1.1/zato-client/src/zato/client/init.py”, line 69, =
in init self.init() File =
"/opt/zato/1.1/zato-client/src/zato/client/init.py", line 165, in =
init json =3D loads(self.inner.text) File =
"/opt/zato/1.1/eggs/anyjson-0.3.3-py2.7.egg/anyjson/init.py", line =
135, in loads return implementation.loads(value, *args, **kwargs) File =
"/opt/zato/1.1/eggs/anyjson-0.3.3-py2.7.egg/anyjson/init.py", line =
99, in loads return self._decode(s, *args, **kwargs) ValueError: JSON =
parsing error at line 1, column 1 (position 0): Unexpected U+003C (<) =
while looking for .
I have a scheduler to do the stats maintenance but that doesn=92t seem =
to improve anything,
All the services are working good, as the I can see the logs for each =
server, but I can=92t do anything with the UI, if I restart zato it =
seems to work fine for a while but after some time this same behavior =
starts to appear.
What can I do to improve the slowness of the UI?=