Frequently Asked Questions¶
How to speed up a bit the process/test?¶
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.
- DNS Server response time.
- 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.
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\('
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
True in your
$ 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.
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
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.