We ended up having a lot of storage objects marked as STORAGE_STATUS_PROCESS_CRON (around 950000 objects).

That let to a memory exhaust while running cron.

The attached patch removes the fetchCol() part of the SQL and processes each result row individually and that removed the memory exhaustion.

Comments

arnested’s picture

Status: Active » Needs review
StatusFileSize
new606 bytes
arnested’s picture

StatusFileSize
new605 bytes

Ooops. Added faulty patch (contained a typo). Right one attached now.

Andre-B’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

works thanks.

arnested’s picture

rodpal’s picture

Still working

  • Perignon committed ee2907b on 7.x-1.x authored by arnested
    Issue #2015957 by arnested: Memory exhaust in _storage_check_files()
    
perignon’s picture

Assigned: Unassigned » perignon
Status: Reviewed & tested by the community » Fixed

Easy fix. Committed! Apologize for the delay.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.