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 toolto check the memory?
When you are using windbg tool, you encounter some issue, you can post the issue on here.
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