[GH-ISSUE #2317] John does not fork as many times as I want #1551

Closed
opened 2026-10-15 04:19:53 +07:00 by bsakaguchi · 6 comments
Owner

Originally created by @matlink on GitHub (Nov 3, 2016).
Original GitHub issue: https://github.com/openwall/john/issues/2317

I'm using john-1.8.0-jumbo-1 to crack Linkedin password on a 64-core/512GB ram server.
I want john to fork many times, I'm then using the following command:

$ john --fork=40 --format=Raw-SHA1-Linkedin ../UNZIPPED/linkedin/passwords.txt > linkedin.log

After approx 5 minutes, john starts to fork and outputs:

Node numbers 1-40 of 40 (fork)

Even after waiting dozens of minutes, process monitoring only display 4 john forks:

$ ps -ef | grep john | wc -l
5

Is that an expected behavior or I am missing something?

Originally created by @matlink on GitHub (Nov 3, 2016). Original GitHub issue: https://github.com/openwall/john/issues/2317 I'm using john-1.8.0-jumbo-1 to crack Linkedin password on a 64-core/512GB ram server. I want john to fork many times, I'm then using the following command: `$ john --fork=40 --format=Raw-SHA1-Linkedin ../UNZIPPED/linkedin/passwords.txt > linkedin.log` After approx 5 minutes, john starts to fork and outputs: `Node numbers 1-40 of 40 (fork)` Even after waiting dozens of minutes, process monitoring only display 4 john forks: `$ ps -ef | grep john | wc -l` `5` Is that an expected behavior or I am missing something?
Author
Owner

@magnumripper commented on GitHub (Nov 3, 2016):

I think you should ask that on the mailing list instead. This is a bug tracker.

<!-- gh-comment-id:258290430 --> @magnumripper commented on GitHub (Nov 3, 2016): I think you should ask that on the mailing list instead. This is a bug tracker.
Author
Owner

@solardiz commented on GitHub (Nov 3, 2016):

This behavior is not expected, but john-1.8.0-jumbo-1 is 2 years old, and we won't look into issues specific to that version now. Please re-test on bleeding-jumbo, then bring this to the john-users mailing list as magnum suggested. Thanks!

<!-- gh-comment-id:258293249 --> @solardiz commented on GitHub (Nov 3, 2016): This behavior is not expected, but john-1.8.0-jumbo-1 is 2 years old, and we won't look into issues specific to that version now. Please re-test on bleeding-jumbo, then bring this to the john-users mailing list as magnum suggested. Thanks!
Author
Owner

@matlink commented on GitHub (Nov 4, 2016):

Tried with the bleeding version, same result.
In fact, after that I have an error:
1: fork:Cannot allocate memory
which explains why not all forks can be made.
However it seems that I have plenty of memory available (about 200GB free). Can this error come from another situation than lack of memory?

<!-- gh-comment-id:258436677 --> @matlink commented on GitHub (Nov 4, 2016): Tried with the `bleeding` version, same result. In fact, after that I have an error: `1: fork:Cannot allocate memory` which explains why not all forks can be made. However it seems that I have plenty of memory available (about 200GB free). Can this error come from another situation than lack of memory?
Author
Owner

@frank-dittrich commented on GitHub (Nov 4, 2016):

Most likely you'll not have enough memory (more than 40 times the memory to load all the hashes in Raw-SHA1-Linkedin).

512 GB sounds like a lot of memory, but
-how many hashes are in Raw-SHA1-Linkedin?
-is any ulimit setting preventing you from using all that memory?

<!-- gh-comment-id:258439709 --> @frank-dittrich commented on GitHub (Nov 4, 2016): Most likely you'll not have enough memory (more than 40 times the memory to load all the hashes in Raw-SHA1-Linkedin). 512 GB sounds like a lot of memory, but -how many hashes are in Raw-SHA1-Linkedin? -is any ulimit setting preventing you from using all that memory?
Author
Owner

@solardiz commented on GitHub (Nov 4, 2016):

Matlink, this is really john-users material. No further comments on GitHub, please.

<!-- gh-comment-id:258439718 --> @solardiz commented on GitHub (Nov 4, 2016): Matlink, this is really john-users material. No further comments on GitHub, please.
Author
Owner

@matlink commented on GitHub (Nov 4, 2016):

Well sorry then, will switch to john-users mailing list. @frank-dittrich please switch too :)

<!-- gh-comment-id:258440070 --> @matlink commented on GitHub (Nov 4, 2016): Well sorry then, will switch to john-users mailing list. @frank-dittrich please switch too :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#1551
No description provided.