Last modified: 2012-04-03 21:24:08 UTC
Since PHP 5.3 servers running the suhosin extension complain about automatic disabling of the memory_limit by scripts executed via cron (ALERT - script tried to disable memory_limit by setting it to a negative value -1 bytes which is not allowed). The standard MW maintenance scripts introduced the option --memory-limit <some value> to overcome this problem. Thus it might be a good idea to add this functionality to SMW maintenance scripts too.
memory_limit option has been already added to SMW maintenance scripts.
Cool, when did that happen? I see it was implemented for "SMW_refreshData.php". What about "SMW_conceptCache.php" and "SMW_dumpRDF.php"? For the first script it is not documented and I cannot check the second one, since this throws an error message.
Hit --help for both and see. But I have no idea why the second script throws a error. I think a file name should be specified to store the RDF data.(In reply to comment #2) > Cool, when did that happen? I see it was implemented for "SMW_refreshData.php". > What about "SMW_conceptCache.php" and "SMW_dumpRDF.php"? For the first script > it is not documented and I cannot check the second one, since this throws an > error message.
--help for "SMW_conceptCache.php" does not show the option --memory-limit and "SMW_dumpRDF.php" aborts with --help (see but 35679) so I cannot check this. I think the option --memory-limit should be added to the script documentation in case is is there and functional. Everything seems to be fluffy with "SMW_refreshData.php" :)