[Cado-nfs-discuss] [error] have enlarged memory and processor cores but failed to process

canny georgina cannysiska at gmail.com
Thu Jul 19 11:09:09 CEST 2018


Hi, i faced this error (for second time I think), as it shows something
like this:
root at chun-XPS-8300:/home/chun/Desktop/cado-nfs# ./cado-nfs.py
1807082088687404805951656164405905566278102516769401349170127021450056662540244048387341127590812303371781887966563182013214880557
tasks.polyselect.import=../c
c130(2) [winner].poly  cado-nfs/              cado-nfs-2.3.0/
cado-nfs-2.3.0.tar
root at chun-XPS-8300:/home/chun/Desktop/cado-nfs# ./cado-nfs.py
1807082088687404805951656164405905566278102516769401349170127021450056662540244048387341127590812303371781887966563182013214880557
tasks.polyselect.import=../c130\(2\)\ \[winner\].poly  tasks.sieve.I=15
Info:root: Using default parameter file ./parameters/factor/params.c130
Info:root: No database exists yet
Info:root: Created temporary directory /tmp/cado.i7airodn
Info:Database: Opened connection to database /tmp/cado.i7airodn/c130.db
Info:root: Set tasks.threads=8 based on detected logical cpus
Info:root: tasks.polyselect.threads = 2
Info:root: tasks.sieve.las.threads = 2
Info:root: slaves.scriptpath is /home/chun/Desktop/cado-nfs
Info:root: Command line parameters: ./cado-nfs.py
1807082088687404805951656164405905566278102516769401349170127021450056662540244048387341127590812303371781887966563182013214880557
'tasks.polyselect.import=../c130(2) [winner].poly' tasks.sieve.I=15
Info:root: If this computation gets interrupted, it can be resumed with
./cado-nfs.py /tmp/cado.i7airodn/c130.parameters_snapshot.0
Info:Server Launcher: Adding chun-XPS-8300 to whitelist to allow clients on
localhost to connect
Info:HTTP server: Using non-threaded HTTPS server
Info:HTTP server: Using whitelist: localhost,chun-XPS-8300
Info:Complete Factorization: Factoring
1807082088687404805951656164405905566278102516769401349170127021450056662540244048387341127590812303371781887966563182013214880557
Info:HTTP server: serving at https://chun-XPS-8300:42101 (0.0.0.0)
Info:HTTP server: For debugging purposes, the URL above can be accessed if
the server.only_registered=False parameter is added
Info:HTTP server: You can start additional cado-nfs-client.py scripts with
parameters: --server=https://chun-XPS-8300:42101
--certsha1=ee6e72370fd005fa284bb8c14e42acf61283b6ec
Info:HTTP server: If you want to start additional clients, remember to add
their hosts to server.whitelist
Info:Client Launcher: Starting client id localhost on host localhost
Info:Client Launcher: Starting client id localhost+2 on host localhost
Info:Client Launcher: Starting client id localhost+3 on host localhost
Info:Client Launcher: Starting client id localhost+4 on host localhost
Info:Client Launcher: Running clients: localhost+2 (Host localhost, PID
14731), localhost+4 (Host localhost, PID 14737), localhost+3 (Host
localhost, PID 14734), localhost (Host localhost, PID 14728)
Info:Polynomial Selection (size optimized): Skipping this phase, as we will
import the final polynomial
Warning:Polynomial Selection (size optimized): some stats could not be
displayed for polyselect1 (see log file for debug info)
Info:Polynomial Selection (root optimized): Starting
Info:Polynomial Selection (root optimized): Importing file ../c130(2)
[winner].poly
Info:Polynomial Selection (root optimized): New best polynomial from file
../c130(2) [winner].poly: Murphy E = 2.35e-17
Info:Polynomial Selection (root optimized): Best polynomial previously
found in ../c130(2) [winner].poly has Murphy_E = 2.35e-17
Info:Polynomial Selection (root optimized): Imported polynomial, skipping
this phase
Warning:Polynomial Selection (root optimized): some stats could not be
displayed for polyselect2 (see log file for debug info)
Info:Generate Factor Base: Starting
Info:Generate Factor Base: Finished
Info:Generate Factor Base: Total cpu/real time for makefb: 43.94/7.9897
Info:Generate Free Relations: Starting
Info:Generate Free Relations: Found 406278 free relations
Info:Generate Free Relations: Finished
Info:Generate Free Relations: Total cpu/real time for freerel: 331.9/42.7785
Info:Lattice Sieving: Starting
Info:Lattice Sieving: We want 22129742 relation(s)
Info:Lattice Sieving: Adding workunit c130_sieving_711270-720000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_720000-730000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_730000-740000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_740000-750000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_750000-760000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_760000-770000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_770000-780000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_780000-790000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_790000-800000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_800000-810000 to database
Info:HTTP server: 127.0.0.1 Sending workunit c130_sieving_711270-720000 to
client localhost
Info:HTTP server: 127.0.0.1 Sending workunit c130_sieving_720000-730000 to
client localhost+2
Warning:HTTP server: 127.0.0.1 Connection error: [Errno 104] Connection
reset by peer
Warning:HTTP server: 127.0.0.1 Connection error: [Errno 104] Connection
reset by peer
Info:HTTP server: 127.0.0.1 Sending workunit c130_sieving_730000-740000 to
client localhost+3
Warning:HTTP server: 127.0.0.1 Connection error: [Errno 104] Connection
reset by peer
Info:HTTP server: 127.0.0.1 Sending workunit c130_sieving_740000-750000 to
client localhost+4
Info:Lattice Sieving: Adding workunit c130_sieving_810000-820000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_820000-830000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_830000-840000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_840000-850000 to database
Info:HTTP server: 127.0.0.1 Sending workunit c130_sieving_750000-760000 to
client localhost+2
Info:Lattice Sieving: Adding workunit c130_sieving_850000-860000 to database

works well until that step above, and then it shows something like this:

Error:Lattice Sieving: Program run on localhost+2 failed with exit code 134
Error:Lattice Sieving: Stderr output follows (stored in file
/tmp/cado.i7airodn/c130.upload/c130_sieving_720000-730000.6jqlc3g5.stderr0):
b'# redoing q=720019, rho=25252 because buckets are full\n# Fullest
level-1s bucket #2470, wrote 5961/5824\n# Maybe you have too many threads
compared to the size of the factor bases.\n# Please try less threads, or a
larger -bkmult parameter (at some cost!).\n# The code will now try to adapt
by allocating more memory for buckets.\ncode BUG() : condition r0 !=
std::numeric_limits<double>::lowest() failed in expand_at_root at
/home/chun/Desktop/cado-nfs/sieve/logapprox.cpp:71 -- Abort\n*** Error:
caught signal "Aborted"\n======= Backtrace:
=========\n/tmp/cado.i7airodn/client/download/las()
[0x4ad063]\n/lib/x86_64-linux-gnu/libc.so.6(+0x354b0)
[0x7f7a553a24b0]\n/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)
[0x7f7a553a2428]\n/lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)
[0x7f7a553a402a]\n/tmp/cado.i7airodn/client/download/las(_ZN29piecewise_linear_approximator14expand_at_rootEd+0x28b)
[0x45ce9b]\n/tmp/cado.i7airodn/client/download/las(_ZN29piecewise_linear_approximator9logapproxEdd+0x144)
[0x45e074]\n/tmp/cado.i7airodn/client/download/las(_ZN13lognorm_smartC1ERK13siever_configRK13cxx_cado_polyiRK14qlattice_basisii+0x14c)
[0x45989c]\n/tmp/cado.i7airodn/client/download/las(_ZN10sieve_info16update_norm_dataEv+0xa5)
[0x45f635]\n/tmp/cado.i7airodn/client/download/las(_Z16do_one_special_qR8las_infoR8nfs_workSt10shared_ptrI7nfs_auxER11thread_poolR14cxx_param_list+0x497)
[0x474e27]\n/tmp/cado.i7airodn/client/download/las(main+0x2803)
[0x454eb3]\n/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)
[0x7f7a5538d830]\n/tmp/cado.i7airodn/client/download/las(_start+0x29)
[0x4561a9]\nAborted (core dumped)\n'

and it repeats again when trying to resubmit workunit:

Info:Lattice Sieving: Resubmitting workunit c130_sieving_720000-730000 as
c130_sieving_720000-730000#2
Info:HTTP server: 127.0.0.1 Sending workunit c130_sieving_760000-770000 to
client localhost+3
Error:Lattice Sieving: Program run on localhost+3 failed with exit code 134
Error:Lattice Sieving: Stderr output follows (stored in file
/tmp/cado.i7airodn/c130.upload/c130_sieving_730000-740000.okd0tco6.stderr0):
b'# redoing q=730003, rho=610977 because buckets are full\n# Fullest
level-1s bucket #579, wrote 5934/5824\n# Maybe you have too many threads
compared to the size of the factor bases.\n# Please try less threads, or a
larger -bkmult parameter (at some cost!).\n# The code will now try to adapt
by allocating more memory for buckets.\ncode BUG() : condition r0 !=
std::numeric_limits<double>::lowest() failed in expand_at_root at
/home/chun/Desktop/cado-nfs/sieve/logapprox.cpp:71 -- Abort\n*** Error:
caught signal "Aborted"\n======= Backtrace:
=========\n/tmp/cado.i7airodn/client/download/las()
[0x4ad063]\n/lib/x86_64-linux-gnu/libc.so.6(+0x354b0)
[0x7f0eb41214b0]\n/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)
[0x7f0eb4121428]\n/lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)
[0x7f0eb412302a]\n/tmp/cado.i7airodn/client/download/las(_ZN29piecewise_linear_approximator14expand_at_rootEd+0x28b)
[0x45ce9b]\n/tmp/cado.i7airodn/client/download/las(_ZN29piecewise_linear_approximator9logapproxEdd+0x144)
[0x45e074]\n/tmp/cado.i7airodn/client/download/las(_ZN13lognorm_smartC1ERK13siever_configRK13cxx_cado_polyiRK14qlattice_basisii+0x14c)
[0x45989c]\n/tmp/cado.i7airodn/client/download/las(_ZN10sieve_info16update_norm_dataEv+0xa5)
[0x45f635]\n/tmp/cado.i7airodn/client/download/las(_Z16do_one_special_qR8las_infoR8nfs_workSt10shared_ptrI7nfs_auxER11thread_poolR14cxx_param_list+0x497)
[0x474e27]\n/tmp/cado.i7airodn/client/download/las(main+0x2803)
[0x454eb3]\n/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)
[0x7f0eb410c830]\n/tmp/cado.i7airodn/client/download/las(_start+0x29)
[0x4561a9]\nAborted (core dumped)\n'
Info:Lattice Sieving: Resubmitting workunit c130_sieving_730000-740000 as
c130_sieving_730000-740000#2


i can't seem to identify what's wrong but since it's almost like the
previous error, I tried enlarging the parameter I=17. And it works well
until this step below:

root at chun-XPS-8300:/home/chun/Desktop/cado-nfs# ./cado-nfs.py
1807082088687404805951656164405905566278102516769401349170127021450056662540244048387341127590812303371781887966563182013214880557
tasks.polyselect.import=../c130\(2\)\ \[winner\].poly  tasks.sieve.I=17
Info:root: Using default parameter file ./parameters/factor/params.c130
Info:root: No database exists yet
Info:root: Created temporary directory /tmp/cado.fyat8r94
Info:Database: Opened connection to database /tmp/cado.fyat8r94/c130.db
Info:root: Set tasks.threads=8 based on detected logical cpus
Info:root: tasks.polyselect.threads = 2
Info:root: tasks.sieve.las.threads = 2
Info:root: slaves.scriptpath is /home/chun/Desktop/cado-nfs
Info:root: Command line parameters: ./cado-nfs.py
1807082088687404805951656164405905566278102516769401349170127021450056662540244048387341127590812303371781887966563182013214880557
'tasks.polyselect.import=../c130(2) [winner].poly' tasks.sieve.I=17
Info:root: If this computation gets interrupted, it can be resumed with
./cado-nfs.py /tmp/cado.fyat8r94/c130.parameters_snapshot.0
Info:Server Launcher: Adding chun-XPS-8300 to whitelist to allow clients on
localhost to connect
Info:HTTP server: Using non-threaded HTTPS server
Info:HTTP server: Using whitelist: localhost,chun-XPS-8300
Info:Complete Factorization: Factoring
1807082088687404805951656164405905566278102516769401349170127021450056662540244048387341127590812303371781887966563182013214880557
Info:HTTP server: serving at https://chun-XPS-8300:42583 (0.0.0.0)
Info:HTTP server: For debugging purposes, the URL above can be accessed if
the server.only_registered=False parameter is added
Info:HTTP server: You can start additional cado-nfs-client.py scripts with
parameters: --server=https://chun-XPS-8300:42583
--certsha1=d653ac2adf34ac72712acead387556cf4035a059
Info:HTTP server: If you want to start additional clients, remember to add
their hosts to server.whitelist
Info:Client Launcher: Starting client id localhost on host localhost
Info:Client Launcher: Starting client id localhost+2 on host localhost
Info:Client Launcher: Starting client id localhost+3 on host localhost
Info:Client Launcher: Starting client id localhost+4 on host localhost
Info:Client Launcher: Running clients: localhost+3 (Host localhost, PID
18356), localhost (Host localhost, PID 18350), localhost+4 (Host localhost,
PID 18359), localhost+2 (Host localhost, PID 18353)
Info:Polynomial Selection (size optimized): Skipping this phase, as we will
import the final polynomial
Warning:Polynomial Selection (size optimized): some stats could not be
displayed for polyselect1 (see log file for debug info)
Info:Polynomial Selection (root optimized): Starting
Info:Polynomial Selection (root optimized): Importing file ../c130(2)
[winner].poly
Info:Polynomial Selection (root optimized): New best polynomial from file
../c130(2) [winner].poly: Murphy E = 2.35e-17
Info:Polynomial Selection (root optimized): Best polynomial previously
found in ../c130(2) [winner].poly has Murphy_E = 2.35e-17
Info:Polynomial Selection (root optimized): Imported polynomial, skipping
this phase
Warning:Polynomial Selection (root optimized): some stats could not be
displayed for polyselect2 (see log file for debug info)
Info:Generate Factor Base: Starting
Info:Generate Factor Base: Finished
Info:Generate Factor Base: Total cpu/real time for makefb: 45.74/21.9923
Info:Generate Free Relations: Starting
Info:Generate Free Relations: Found 406278 free relations
Info:Generate Free Relations: Finished
Info:Generate Free Relations: Total cpu/real time for freerel:
331.23/105.993
Info:Lattice Sieving: Starting
Info:Lattice Sieving: We want 22129742 relation(s)
Info:Lattice Sieving: Adding workunit c130_sieving_711270-720000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_720000-730000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_730000-740000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_740000-750000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_750000-760000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_760000-770000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_770000-780000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_780000-790000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_790000-800000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_800000-810000 to database
Info:HTTP server: 127.0.0.1 Sending workunit c130_sieving_711270-720000 to
client localhost
Info:HTTP server: 127.0.0.1 Sending workunit c130_sieving_720000-730000 to
client localhost+2
Info:Lattice Sieving: Adding workunit c130_sieving_810000-820000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_820000-830000 to database
Info:HTTP server: 127.0.0.1 Sending workunit c130_sieving_730000-740000 to
client localhost+3
Info:HTTP server: 127.0.0.1 Sending workunit c130_sieving_740000-750000 to
client localhost+4
Info:Lattice Sieving: Adding workunit c130_sieving_830000-840000 to database
Info:Lattice Sieving: Adding workunit c130_sieving_840000-850000 to database

until it is stuck in this process and it shows something like this:
Warning:HTTP server: 127.0.0.1 Connection error: [Errno 104] Connection
reset by peer
Warning:HTTP server: 127.0.0.1 Connection error: [Errno 104] Connection
reset by peer
Warning:HTTP server: 127.0.0.1 Connection error: [Errno 104] Connection
reset by peer
Warning:HTTP server: 127.0.0.1 Connection error: [Errno 104] Connection
reset by peer
Warning:HTTP server: 127.0.0.1 Connection error: [Errno 104] Connection
reset by peer
Warning:HTTP server: 127.0.0.1 Connection error: [Errno 104] Connection
reset by peer

Is there something that i need to fix here?

Thank you very much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/cado-nfs-discuss/attachments/20180719/08f43bab/attachment-0001.html>


More information about the Cado-nfs-discuss mailing list