Closed (fixed)
Project:
DataSync
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2009 at 23:15 UTC
Updated:
3 Sep 2009 at 14:20 UTC
Hi,
There's some code at the bottom of the while(TRUE) loop in the daemon which checks how close to the memory limit the script is. Unfortunately the ceiling is an undefined variable minus 10MB by default. This causes it to always be in excess of its memory limit and exit after one shot.
I've attached a patch that correctly defines $mem_lim and fixes the issue for me.
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| datasync_run.php_.memlimit.patch | 948 bytes | neilnz |
Comments
Comment #1
andrewlevine commentedneil, thanks for your bug reports. i'm not ignoring them. getting to them ASAP
Comment #2
andrewlevine commentedthanks, fixed in dev. just a little different then your patch because we already have a function that returns the memory_limit setting in bytes