python webserver(django项目)崩溃,“python.exe已停止工作” [英] python webserver (django project) crash with "python.exe has stopped working"
问题描述
我们在工业PC上运行python webserver(django项目)。在性能测试期间,python进程突然崩溃。此时python进程已占用所有物理内存并将大量数据交换到虚拟内存。但是还没有达到
的虚拟内存限制。这个程序是可重复的。
知道发生了什么吗?
系统:
#####
Windows 7专业版(64位)
物理内存:8GB
虚拟内存:8GB
Python 2.7.11 64位b
Windows事件查看器:
$
###############
$
Faulting应用程序名称:python.exe,版本:0.0.0.0,时间戳:0x56634c02
错误模块名称:ntdll.dll,版本:6.1.7601.23677,时间戳:0x589c99e1
异常代码:0xc0000374
故障偏移:0x00000000000bf3e2
故障流程id:0x1648
故障应用程序启动时间:0x01d2fb0abc8bd8e5
错误的应用程序路径:C:\Python27 \ python.exe
错误模块路径:C:\ Windows \SYSTEM32 \ antdll.dll
报告Id:23e31507-66ff-11e7-a252-0001051527cd
您好,
感谢您在此处发帖。
您是否调试了python应用程序的源代码? n在工业电脑上?
您是否使用
windbg工具检查内存?
当你使用windbg工具时,遇到一些问题,你可以在这里发布问题。 / p>
https://social.msdn。 microsoft.com/Forums/windowsdesktop/en-US/home?forum=windbg
由于问题与python语言有关,我不确定该语言是否已开发由微软公司提供。
您可以在他们的支持下查阅该问题。我将把案件移到偏离主题的地方。
最好的问候,
Hart
We running a python webserver (django project) on a Industrial PC. During performance tests the python process suddenly crash. At this time the python process already consume all physical memory and swapped a lot of data to the virtual memory. But the
virtual memory limit is not reached yet. This procedure is repeatable.
Any idea what happened?
System:
#####
Windows 7 Professional (64bit)
Physical Memory: 8GB
Virtual Memory: 8GB
Python 2.7.11 64bit
Windows Event Viewer:
###############
Faulting application name: python.exe, version: 0.0.0.0, time stamp: 0x56634c02
Faulting module name: ntdll.dll, version: 6.1.7601.23677, time stamp: 0x589c99e1
Exception code: 0xc0000374
Fault offset: 0x00000000000bf3e2
Faulting process id: 0x1648
Faulting application start time: 0x01d2fb0abc8bd8e5
Faulting application path: C:\Python27\python.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: 23e31507-66ff-11e7-a252-0001051527cd
Hi,
Thank you for posting here.
Did you debug the source code of the python application on industrial pc?
Did you use the windbg tool to check the memory?
When you are using windbg tool, you encounter some issue, you can post the issue on here.
https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/home?forum=windbg
Since the issue is related to python language, I am not sure that the language is developed by Microsoft company.
You could consult the issue on their support. I will move the case to off-topic.
Best Regards,
Hart
这篇关于python webserver(django项目)崩溃,“python.exe已停止工作”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!