santolp / pyrit

Automatically exported from code.google.com/p/pyrit
0 stars 0 forks source link

GPU runs out of memory after a few minutes of comutation #363

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Make pyrit compute passwords for a while
2.
3.

What is the expected output? What do you see instead?
Expected to have no problem.
Pyrit crashes with the following message:

Working on ESSID '2WIRE750'
Processed all workunits for ESSID '2WIRE750'; 1276 PMKs per second.

Working on ESSID '2WIRE756'
Exception in thread CUDA-Device #1 'GeForce 9600 GT':econd.
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 530, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/site-packages/cpyrit/cpyrit.py", line 113, in run
    self._testComputeFunction(101)
  File "/usr/lib/python2.7/site-packages/cpyrit/cpyrit.py", line 102, in _testComputeFunction
    self.solve(Core.TV_ESSID, [Core.TV_PW] * i))):
SystemError: CUDA_ERROR_OUT_OF_MEMORY

Exception in thread CPU-Core (SSE2):
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 530, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/site-packages/cpyrit/cpyrit.py", line 110, in run
    essid, pwlist = self.queue._gather(self.buffersize, timeout=0.5)
  File "/usr/lib/python2.7/site-packages/cpyrit/cpyrit.py", line 632, in _gather
    self._check_cores()
  File "/usr/lib/python2.7/site-packages/cpyrit/cpyrit.py", line 490, in _check_cores
    raise SystemError("The core '%s' has died unexpectedly" % core)
SystemError: The core 'CUDA-Device #1 'GeForce 9600 GT'' has died unexpectedly

Traceback (most recent call last):(9.4%); 100 PMKs per second.
  File "/usr/bin/pyrit", line 6, in <module>
    pyrit_cli.Pyrit_CLI().initFromArgv()
  File "/usr/lib/python2.7/site-packages/pyrit_cli.py", line 115, in initFromArgv
    func(self, **options)
  File "/usr/lib/python2.7/site-packages/pyrit_cli.py", line 803, in batchprocess
    for results in dbiterator:
  File "/usr/lib/python2.7/site-packages/cpyrit/cpyrit.py", line 759, in next
    solvedPMKs = self.cp.dequeue(block=True)
  File "/usr/lib/python2.7/site-packages/cpyrit/cpyrit.py", line 591, in dequeue
    self._check_cores()
  File "/usr/lib/python2.7/site-packages/cpyrit/cpyrit.py", line 490, in _check_cores
    raise SystemError("The core '%s' has died unexpectedly" % core)
SystemError: The core 'CUDA-Device #1 'GeForce 9600 GT'' has died unexpectedly

What version of the product are you using? On what operating system?
pyrit-0.4.0
cpyrit-cuda-0.4.0

Linux drakul 2.6.36-gentoo-r8 #2 SMP Thu Oct 6 10:46:54 CEST 2011 i686 Intel(R) 
Core(TM)2 Quad CPU Q8200 @ 2.33GHz GenuineIntel GNU/Linux
gcc (Gentoo 4.4.5 p1.2, pie-0.4.5) 4.4.5
Python 2.7.1

Please provide any additional information below.

Thank you for this great program!!

Original issue reported on code.google.com by freer...@gmail.com on 28 Oct 2011 at 10:16