]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc/radosgw: rgw_lua_max_memory_per_state defaults to 128K (not 500K)
authorFrédéric Nass <frederic.nass@clyso.com>
Thu, 29 Jan 2026 09:01:55 +0000 (10:01 +0100)
committerFrédéric Nass <frederic.nass@clyso.com>
Thu, 29 Jan 2026 09:01:55 +0000 (10:01 +0100)
doc/radosgw/lua-scripting.rst

index ef1729cb9cee132c55fa2ff10bda726d24ed0013..cf1441a83972953f0f2431cfd2847ea08c5aeaa1 100644 (file)
@@ -18,7 +18,7 @@ A request (pre or post) or data (get or put) context script may be constrained t
 The request context script can also access fields in the request and modify certain fields, as well as the `Global RGW Table`_.
 The data context script can access the content of the object as well as the request fields and the `Global RGW Table`_.
 All Lua language features can be used in all contexts.
-An execution of a script in a context can use up to 500K byte of memory. This include all libraries used by Lua, but not the memory which is managed by the RGW itself, and may be accessed from Lua.
+An execution of a script in a context can use up to 128K byte of memory. This include all libraries used by Lua, but not the memory which is managed by the RGW itself, and may be accessed from Lua.
 To change this default value, use the ``rgw_lua_max_memory_per_state`` configuration parameter. Note that the basic overhead of Lua with its standard libraries is ~32K bytes. To disable the limit, use zero.
 By default, the execution of a Lua script is limited to a maximum runtime of 1000 milliseconds. This limit can be changed using the ``rgw_lua_max_runtime_per_state`` configuration parameter. If a Lua script exceeds this runtime, it will be terminated. To disable the runtime limit, use zero.