Closed jalees closed 8 months ago
The issue you're experiencing seems to be due to incorrect usage of the multiprocessing features. Multiprocessing in Python can be tricky, especially when dealing with connections and shared resources. To guide you towards a proper implementation, I recommend examining the example provided by the InfluxDB client for Python, which demonstrates a correct and efficient way to use multiprocessing for data import tasks. You can find the example here: Import Data Set Multiprocessing Example.
This example will show you how to structure your multiprocessing setup properly, especially in the context of handling InfluxDB connections and writing data.
If after consulting the example you still face issues or have any questions, feel free to ask for further assistance.
Specifications
Code sample to reproduce problem
Expected behavior
The values from the csv file should be added to the influx DB
Actual behavior
Started seeing below error and finally nothing was written to the DB:
Additional info
minimal csv info: