Adjust stat logging
alex_b - June 26, 2009 - 16:48
| Project: | FeedAPI |
| Version: | 6.x-1.x-dev |
| Component: | Code feedapi (core module) |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
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.

#1
#2
#3
(PHP 4 >= 4.3.2, PHP 5) memory_get_usage - php.net
Required: PHP version 4.3.5 or higher - d.o
Then RTBC.
#4
Why do we actually only store stats if there are $new items?
Pending: php version checking.
#5
Patch in #4 contained unrelated changes.
#6
Better comment wording.
#7
Let's explain the change of the meaning of update rate field at the admin interface.
#8
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
#9
Unified patch of #8 and #7
Seems to be okay.
#10
RTBC from my point of view, too.
#11
#12
Automatically closed -- issue fixed for 2 weeks with no activity.