django使用教程应用程序中断系统调用

时间:2012-11-08 23:48:20

标签: python django system call

即使只使用轮询应用程序,我仍然会收到此间歇性错误。我的应用程序非常简单,至少在目前,它只是通过JSON向jquery表提供一个小的csv文件。下面列出了回溯和我的系统配置。提前谢谢!

代码

  

追踪(最近一次通话):     文件“manage.py”,第14行,in       execute_manager(设置)     文件“/home/baldig/shared_libraries/centos64/pkgs/python/2.6.5/lib/python2.6/site-packages/django/core/management/init.py”,第459行,在execute_manager中       utility.execute()     文件“/home/baldig/shared_libraries/centos64/pkgs/python/2.6.5/lib/python2.6/site-packages/django/core/management/init.py”,第382行,执行中       self.fetch_command(子命令).run_from_argv(self.argv)     在run_from_argv中输入文件“/home/baldig/shared_libraries/centos64/pkgs/python/2.6.5/lib/python2.6/site-packages/django/core/management/base.py”,第196行       self.execute(* args,** options。 dict )     文件“/home/baldig/shared_libraries/centos64/pkgs/python/2.6.5/lib/python2.6/site-packages/django/core/management/base.py”,第232行,执行       output = self.handle(* args,** options)     文件“/home/baldig/shared_libraries/centos64/pkgs/python/2.6.5/lib/python2.6/site-packages/django/core/management/commands/runserver.py”,第69行,句柄       self.run(* args,** options)     文件“/home/baldig/shared_libraries/centos64/pkgs/python/2.6.5/lib/python2.6/site-packages/django/core/management/commands/runserver.py”,第80行,在运行中       self.inner_run(* args,** options)     在inner_run中输入文件“/home/baldig/shared_libraries/centos64/pkgs/python/2.6.5/lib/python2.6/site-packages/django/core/management/commands/runserver.py”,第111行       ipv6 = self.use_ipv6,threading = threading)     文件“/home/baldig/shared_libraries/centos64/pkgs/python/2.6.5/lib/python2.6/site-packages/django/core/servers/basehttp.py”,第253行,在运行中       httpd.serve_forever()     在service_forever中输入文件“/home/baldig/shared_libraries/centos64/pkgs/python/2.6.5/lib/python2.6/SocketServer.py”,第224行       r,w,e = select.select([self],[],[],poll_interval)   select.error:(4,'中断系统调用')

配置#

Django 1.4.1版 Python 2.6.5 CentOS 6 英特尔至强E5630 64GB RAM

1 个答案:

答案 0 :(得分:2)

请检查this thread,并为SocketServer.py 'Interrupted system call'添加相同的错误。