Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bandwidth test failed, file blocked by an other process #109

Open
littleskunk opened this issue Feb 22, 2016 · 7 comments
Open

Bandwidth test failed, file blocked by an other process #109

littleskunk opened this issue Feb 22, 2016 · 7 comments
Labels

Comments

@littleskunk
Copy link
Contributor

2016-02-22 09:28:20,759 ERROR storjnode.network.monitor 257: Bandwidth test failed: <twisted.python.failure.Failure exceptions.WindowsError: [Error 32] Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird: 'c:\\users\\jensh_~1\\appdata\\local\\temp\\tmp3vsy7r'>

@F483
Copy link
Contributor

F483 commented Feb 22, 2016

@robertsdotpm the bandwidth test works by streaming it to a temp file? Can it not just be done in momory or would that cause to much memory usage?

@robertsdotpm
Copy link
Contributor

It can be done in memory and you don't even need to use pre-generated files - you can just send garbage and rely on TCP to regulate reception. The problem is: that would require writing custom code just for the bandwidth tests instead of using the existing file code which is what you suggested.

@F483
Copy link
Contributor

F483 commented Feb 22, 2016

Well if the problem is reproducible and not just a one off thing we may have to change it.

The thing that I find odd it that this is a temp file that must have been created in the same process, so what could be causing the usage by another process? Antivirus?

@littleskunk
Copy link
Contributor Author

Disabled the windows defender (default firewall) but still the same exception.

2016-02-22 20:38:17,431 DEBUG storjnode.network.bandwidth.do_requests 297: Waiting for handle requests mutex
2016-02-22 20:38:17,434 DEBUG storjnode.network.bandwidth.do_requests 298: Got handle requests mutex
2016-02-22 20:38:17,437 DEBUG storjnode.network.bandwidth.do_requests 195: In handle requests
2016-02-22 20:38:17,750 DEBUG storjnode.network.bandwidth.do_rejections 70: Waiting for handle requests mutex
2016-02-22 20:38:17,763 DEBUG storjnode.network.bandwidth.do_rejections 71: Gote handle requests mutex
2016-02-22 20:38:17,775 DEBUG storjnode.network.bandwidth.do_rejections 19: In handle Rejections
2016-02-22 20:38:17,782 DEBUG storjnode.network.bandwidth.do_rejections 20: In handle Rejections
2016-02-22 20:38:17,786 DEBUG storjnode.network.file_transfer 29: In process unl requests:
2016-02-22 20:38:17,792 DEBUG storjnode.network.file_transfer 31: Aq7HJfZDGDHoRacObXWjNI7SJQf6c2dtCwlXRz1be3uowKAuYh4=
2016-02-22 20:38:17,799 DEBUG storjnode.network.file_transfer 39: unl req: invalid type
2016-02-22 20:38:17,802 DEBUG storjnode.network.file_transfer 40: unl_response
2016-02-22 20:38:18,016 DEBUG storjnode.network.bandwidth.test 288: attempting to start btest
2016-02-22 20:38:18,078 DEBUG storjnode.network.bandwidth.test 311: FINGER_log.debug HASH
2016-02-22 20:38:18,081 DEBUG storjnode.network.bandwidth.test 312: fe3f43db70e213ecb6ea49b50b9f06b5b4813da7d3985fa2f00800c0efa96365
2016-02-22 20:38:18,088 DEBUG storjnode.network.bandwidth.test 324: UNL
2016-02-22 20:38:18,089 DEBUG storjnode.network.bandwidth.test 325: Aq7HJfZDGDHoRacObXWjNI7SJQf6c2dtCwlXRz1be3uowKAuYh4=
2016-02-22 20:38:18,094 DEBUG storjnode.network.bandwidth.test 327: META
2016-02-22 20:38:18,095 DEBUG storjnode.network.bandwidth.test 328: OrderedDict([(u'file_size', 1048576), (u'algorithm', u'sha256'), (u'hash', u'fe3f43db70e213ecb6ea49b50b9f06b5b4813da7d3985fa2f00800c0efa96365')])
2016-02-22 20:38:18,802 DEBUG storjnode.network.bandwidth.test 333: SIG
2016-02-22 20:38:18,805 DEBUG storjnode.network.bandwidth.test 334: IOUSoiAjt9lycrath0ruyG/tDVnPFmSS+ya1F14VMI7pjjqlrN9OOba59RAQ/npMaRo+oo1X9jtTBczay4xdDR4=
2016-02-22 20:38:18,815 ERROR storjnode.network.monitor 257: Bandwidth test failed: <twisted.python.failure.Failure exceptions.WindowsError: [Error 32] Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird: 'c:\\users\\jensh_~1\\appdata\\local\\temp\\tmpsj_gvk'>

@F483
Copy link
Contributor

F483 commented Mar 4, 2016

@robertsdotpm @littleskunk is this still current?

@littleskunk
Copy link
Contributor Author

Retest impossible at the moment. I don't get a connection to any node. I don't see any bandwidth test. I will retest as soon as possible.

@littleskunk littleskunk added the bug label Mar 5, 2016
@littleskunk
Copy link
Contributor Author

I did a new test. I installed storjnode and pyp2p develop branch. This time i used the start_farmers.py.

2016-03-08 01:50:29,904 DEBUG storjnode.network.bandwidth.test 288: attempting to start btest
2016-03-08 01:50:30,051 DEBUG storjnode.network.bandwidth.test 311: FINGER_log.debug HASH
2016-03-08 01:50:30,055 DEBUG storjnode.network.bandwidth.test 312: 5d47a5016f54af33aec524361c4dcb6df66d2bc2831db2e9414237e4dfe51a4c
2016-03-08 01:50:30,063 DEBUG storjnode.network.bandwidth.test 324: UNL
2016-03-08 01:50:30,084 DEBUG storjnode.network.bandwidth.test 325: Am+ptcbCX5vxD9m4SvPd/zhAvy29c2dtAKdXRz1bZ3uowFlxZ7A=
2016-03-08 01:50:30,091 DEBUG storjnode.network.bandwidth.test 327: META
2016-03-08 01:50:30,117 DEBUG storjnode.network.bandwidth.test 328: OrderedDict([(u'file_size', 1048576), (u'algorithm', u'sha256'), (u'hash', u'5d47a5016f54af33aec524361c4dcb6df66d2bc2831db2e9414237e4dfe51a4c')])
2016-03-08 01:50:30,194 DEBUG storjnode.network.bandwidth.test 333: SIG
2016-03-08 01:50:30,200 DEBUG storjnode.network.bandwidth.test 334: IC1MFG3CWnnFWzULbrLS3JTyHmQxrAm7+aSY7vYWU4FmAVZxzjQ/C0kR2wFO+zuoEaDQS6rqPGr5ggQQNzXXu6c=
2016-03-08 01:50:30,236 ERROR storjnode.network.monitor 220: Bandwidth test failed: <twisted.python.failure.Failure exceptions.WindowsError: [Error 32] Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird: 'c:\\users\\jensh_~1\\appdata\\local\\temp\\tmpcyxwk0'>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants