Hey there,
My XML file consists of 100 lines of different entries.
Here is an example of a line of my XML file:
<CBDINSTL BDINR="84" BDINAAM_RELATIE="ROC Midden Ned. lok.Gildevaart" BDISTRAATVEST="HARMONIELAAN" BDIHUISNRVEST="2" BDIPCVEST_NL="3438EB" BDIPCVEST_BUIT="" BDIPLAATSVEST="NIEUWEGEIN" BDITELNRVEST="(030) 607 85 85" HOME_PAGE="www.rocmn.nl" />
I have an importer and it is importing reaaaly slow if I add a location mapper. Without adding a location mapper, with all the other mappers, it imports in a second. But if I try adding a location mapper (for example: Location:City) it will take approx. 5 minutes just to import 100 lines.
Also if I add more than 1 mapper for location (say 5 different ones for street, phone, Postcode etc) it doesn't change the import time. It also takes approx. 5 minutes.
I use XPath Parser module to take location information form the attributes of a node.
Thanks in advance...
Comments
Comment #1
elliotttf commentedCan you export your feed into a feature and give me a well formed sample file to work with? I did some local testing but couldn't confirm the issue you're seeing.
Comment #2
Sinan Erdem commentedHey Elliot,
Thank you for your interest.
I am attaching the feature as a zip(location_feed). I am also attaching the XML file (location.xml) In this file, I only need to take the information under CBDINSTL nodes. V_A_SCHOOL_CREBO nodes are ignored.
Also after the first import, the last CBDINSTL is not imported. There is no success message given either. But if I run the importer for the second time, it will import the last node and will give a success message.
Cheers,
Sinan
Comment #3
elliotttf commentedThank you for the data. I was not able to reproduce your specific issue; however, I do not have a "school" node type so feeds was just happily chugging through the list and throwing out data. Can you add the school node type you are using to the feature and re-upload it?
Comment #4
Sinan Erdem commentedAhh, sorry, I forgot. Here is the feature with school content type included.
Thanks...
Comment #5
dcsmith130 commentedI am experiencing the same issue. I'll follow this thread. Let me know if I can be of any help. Happy to provide more detail if another testcase is needed.
Comment #6
Sinan Erdem commentedCan it be related to geocoding? Because I am using Google geocoding in order to get the coordinates from given addresses from the feed.
Comment #7
dcsmith130 commentedfor what its worth I am not using any geocoding during the feed load (data already contains address, lat/lon)
Comment #8
elliotttf commentedSorry for the slow response to this, I've been quite busy at work. I just ran the import with the feature you provided and did not experience any slowness. Is there any more info anyone that's seeing this could give me that might be useful?
Comment #9
dskaw commentedJust curious if anything ever got resolved with feeds being slow?
we are trying to import 100,000+ records and it is VERY SLOW....
it would take several hours to upload.
Comment #10
Chris CharltonHave you looked at bumping up the variable
'feeds_process_limit'? https://www.drupal.org/node/1551246