For debugging, it is sometimes very useful to monitor memory usage on cron feed processing.

I propose to monitor memory increase while processing feeds. Will post patch shortly.

Comments

alex_b’s picture

StatusFileSize
new1.07 KB
alex_b’s picture

Assigned: alex_b » Unassigned
Status: Active » Needs review
aron novak’s picture

Status: Needs review » Reviewed & tested by the community

(PHP 4 >= 4.3.2, PHP 5) memory_get_usage - php.net
Required: PHP version 4.3.5 or higher - d.o

Then RTBC.

alex_b’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new3.19 KB

Why do we actually only store stats if there are $new items?

Pending: php version checking.

alex_b’s picture

StatusFileSize
new1.68 KB

Patch in #4 contained unrelated changes.

alex_b’s picture

StatusFileSize
new1.68 KB

Better comment wording.

aron novak’s picture

StatusFileSize
new771 bytes

Let's explain the change of the meaning of update rate field at the admin interface.

alex_b’s picture

Title: Measure memory usage » Adjust stat logging
StatusFileSize
new2.05 KB

Ok, this is growing out to be a more comprehensive overhaul of the statistics logging:

- Log not only if there are new items
- Log next refresh time
- Log growth in memory usage

aron novak’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new2.8 KB

Unified patch of #8 and #7
Seems to be okay.

alex_b’s picture

RTBC from my point of view, too.

aron novak’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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