Last modified: 2012-04-03 21:24:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T35750, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33750 - adding option --memory-limit to SMW maintenance scripts
adding option --memory-limit to SMW maintenance scripts
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-16 10:18 UTC by [[kgh]]
Modified: 2012-04-03 21:24 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description [[kgh]] 2012-01-16 10:18:54 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.
Comment 1 sakthi 2012-04-03 19:52:08 UTC
memory_limit option has been already added to SMW maintenance scripts.
Comment 2 [[kgh]] 2012-04-03 20:03:54 UTC
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.
Comment 3 sakthi 2012-04-03 20:53:15 UTC
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.
Comment 4 [[kgh]] 2012-04-03 21:24:08 UTC
--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" :)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links