Live Calls Error
Forum » WikiPBX / Technical Support » Live Calls Error
Started by: visuallinuxvisuallinux
On: 1244761397|%e %b %Y, %H:%M %Z|agohover
Number of posts: 4
rss icon RSS: New posts
Live Calls Error
visuallinuxvisuallinux 1244761397|%e %b %Y, %H:%M %Z|agohover

Hello.

Today and before some few days, i works again with wikipbx consulting Live Calls and i get the following error on screen:

Could not get live calls: [Failure instance: Traceback: psycopg.OperationalError: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. /usr/lib/python2.4/site-packages/twisted/internet/defer.py:310:_startRunCallbacks /usr/lib/python2.4/site-packages/twisted/internet/defer.py:326:_runCallbacks /usr/lib/python2.4/site-packages/twisted/internet/defer.py:287:_continue /usr/lib/python2.4/site-packages/twisted/internet/defer.py:283:unpause - - /usr/lib/python2.4/site-packages/twisted/internet/defer.py:326:_runCallbacks /usr/src/wikipbx/wikipbxweb/views.py:1301:livecalls_list /usr/lib/python2.4/site-packages/django/template/context.py:100:init /usr/lib/python2.4/site-packages/django/core/context_processors.py:17:auth /usr/lib/python2.4/site-packages/django/contrib/auth/models.py:232:get_and_delete_messages /usr/lib/python2.4/site-packages/django/db/models/query.py:108:iter /usr/lib/python2.4/site-packages/django/db/models/query.py:470:_get_data /usr/lib/python2.4/site-packages/django/db/models/query.py:183:iterator /usr/lib/python2.4/site-packages/django/db/backends/util.py:12:execute /usr/lib/python2.4/site-packages/django/db/backends/postgresql/base.py:43:execute ]

I reboot the machine and problem was solved

Any idea?

Fernando

Reply  |  Options
Unfold Live Calls Error by visuallinuxvisuallinux, 1244761397|%e %b %Y, %H:%M %Z|agohover
Re: Live Calls Error
stas_shtinstas_shtin 1244804648|%e %b %Y, %H:%M %Z|agohover

It's some kind of DB error, not related to wikipbx. Most likely you're running into DB connection limit.

Reply  |  Options
Unfold Re: Live Calls Error by stas_shtinstas_shtin, 1244804648|%e %b %Y, %H:%M %Z|agohover
Re: Live Calls Error
tleydentleyden 1244827158|%e %b %Y, %H:%M %Z|agohover

I agree its a database resource issue and not a code bug in wikipbx, though I think it is a little early to rule out wikipbx as the underlying culprit.

Is there anything else accessing the rdbms server?

When that happens again, please list all your database connections and see if they are related to wikipbx or not.

Reply  |  Options
Unfold Re: Live Calls Error by tleydentleyden, 1244827158|%e %b %Y, %H:%M %Z|agohover
Re: Live Calls Error
visuallinuxvisuallinux 1244927672|%e %b %Y, %H:%M %Z|agohover

Hi,

I thinks that the reason problem was before i get the excepction i was developed a application in Web2py for accesing to Database wikipbx and i reinit server with /etc/init.t/postgresql-8.1

If i get the same exception i will comments in the forum.

Thanks

Reply  |  Options
Unfold Re: Live Calls Error by visuallinuxvisuallinux, 1244927672|%e %b %Y, %H:%M %Z|agohover
New Post
page_revision: 0, last_edited: 1226259295|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License