Frequently Asked Questions¶
How to speed up a bit the process/test?¶
Warning
Beware, when talking about speed a lot a thing have to be taken in consideration. Indeed here is a non exaustive list of things which fluctuate testing speed.
- Bandwidth.
- DNS Server response time.
- CPU.
- ISP blocking a big amount of connection to the outside world.
- Our databases management (do not apply for MySQL and MariaDB format).
- Amount of data to test.
- …
I have multiple CPU¶
Simply use the -m | --multiprocess
argument to activate
the usage of multiple processes.
You can in addition to that use the -p | --processes
argument to tell set the number of simultaneous process to run.
Note
A good number for -p
is your number of CPU_cores -1
, to leave room for orther processes to work.
Unless you have a dedicated installation for this work.
Inside a Unix based system, you can use this code snippet to see how many CPU and cores you have.
$ lscpu | grep -E '^Thread|^Core|^Socket|^CPU\('
Warning
DO NOT try to exceed your total number of CPU cores (as -p | --processes
),
if you want to keep your machine somehow alive and healthy.
I do not have multiple CPU¶
In case you only have a single core, you should disable the usage of
the WHOIS lookup by adding the -.no-whois
to your command line
or switching the value of no_whois
to True
in your
configuration file.
As example:
$ PyFunceble --no-whois -d example.net
This action will speed up the script because it only
use the equivalent of nslookup
and the
HTTP status code
to determine the availability status.
Warning
PyFunceble request the WHOIS record in order to avoid specific false positive case.
If the usage of WHOIS request is disabled, all domains which are still registered
but not assigned to an IP address, would be flagged as INACTIVE
.
It’s not a problem if you keep/use the database system because the domain will be retested over time. But please keep in mind that without the database system the accuracy of the result is not guaranteed.