Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#45566 new defect (bug)

Apache crash because of missing images from filesystem within media library

Reported by: mvdve Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.8
Component: Media Keywords: reporter-feedback
Focuses: Cc:


When a lot of images are missing from the file system (for example within a staging environment), the media library overview keeps calling the backend to check for the missing images. This generates so many request that the apache webservers stops giving a 503 HTTP error.

Change History (1)

#1 @mikeschroder
2 years ago

  • Keywords reporter-feedback added; needs-testing removed

Hi @mvdve, and thanks for the report!

As far as I'm aware, WordPress doesn't check for existence of images (meaning, whether they 404 or not) at all while loading the media library, and that'd be up to the browser, but let's dig into this to see if we can find out what's happening.

Could you please walk me through specific reproduction steps, including

  • Browser(s) where you're seeing or not seeing the issue
  • Host or local server used, and whether it seems to be across all hosts or not
  • Amount of images required in library, or visible in library to trigger the issue, as much as is known

Thanks much!

Note: See TracTickets for help on using tickets.