Edit python code with vscode on mac. The pool-related statements in it do not work properly.

problem description

write crawler code with vscode on mac, some of which try to use pool to crawl, but once you add the pool-related code, the program will not work properly, comment out the pool-related code and you can crawl the picture normally.

the environmental background of the problems and what methods you have tried

also wrote the code to test pool separately, as long as the code including pool does not work properly.

related codes

/ / Please paste the code text below (do not replace the code with pictures)
if name ="_ main__":
pool = Pool ()
groups = ([x * 20 for x in range (GROUP_START, GROUP_END + 1)])
pool.map (main, groups)
pool.close ()
pool.join ()
can be seen when the process has been established, but can not continue to execute in the map function.

what result do you expect? What is the error message actually seen?

May.15,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3f930-4357f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3f930-4357f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?