Import fails with 503 Service Unavailable
-
I am trying to scan a large image library to import its media to my WordPress database. The can returns all files as expected.
If I choose to import all missing files, the process aborts after a few seconds with this error:
[Media Sync] [AJAX error] error E: Service Unavailable
Looking at the console, I see a POST error:
503 (Service Unavailable)I have found that I can import media files from scan results if I choose fewer than 10 files at a time, and this does not always work.
I have set the server and WP memory to 256M, and increased the PHP.ini max_execution_time to 300.
Any advice appreciated as it will take ages to import all files in batches of 10 or less.
Is there a way to throttle requests so the server doesn’t reject them?
- The topic ‘Import fails with 503 Service Unavailable’ is closed to new replies.