python webserver (django project) crash with "python.exe has stopped working" RRS feed

  • Question

  • 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?

    Windows 7 Professional (64bit)
    Physical Memory: 8GB
    Virtual Memory: 8GB
    Python 2.7.11 64bit

    Windows Event Viewer:
    Faulting application name: python.exe, version:, 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
    • Moved by Hart Wang Wednesday, July 26, 2017 2:48 AM
    Friday, July 14, 2017 10:15 AM

All replies

  • 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.

    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,


    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    • Proposed as answer by Hart Wang Friday, July 21, 2017 8:14 AM
    Monday, July 17, 2017 2:38 AM