我创建了一个使用ESL管理Freeswitch服务器的web应用程序。 在我的代码中使用命令“ESLconnection”(“localhost”、“8021”、“ClueCon”)连接到freeswitch服务器时,apache永久冻结。你知道吗
class ESLconnection:
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ESLconnection, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ESLconnection, name)
__repr__ = _swig_repr
def __init__(self, *args):
print('before this')
this = apply(_ESL.new_ESLconnection, args)
print('after this')
try:
self.this.append(this)
except:
self.this = this
我的调试日志:
[Tue Nov 18 10:53:18.103572 2014] [error] before connection
[Tue Nov 18 10:53:18.103572 2014] [error] before this
[Tue Nov 18 10:53:18.103572 2014] [:info] [pid 13285] mod_wsgi (pid=13285): Daemon
process deadlock timer expired, stopping process 'localhost'.
[Tue Nov 18 10:53:18.103781 2014] [:info] [pid 13285] mod_wsgi (pid=13285):
Shutdown requested 'localhost'.`enter code here`
在这一点上,任何事情都会有所帮助。你知道吗
谢谢
我最后使用了eventsocketlib,它与Apache mod\uwsgi配合得非常好。你知道吗
谢谢
相关问题 更多 >
编程相关推荐