Re: Need help with restricting number of new objects a user script can create

2006-03-22 Thread Sybren Stuvel
vj enlightened us with: > Run using lua generates: > > Fatal error: Allowed memory size of 8388608 bytes exhausted (tried > to allocate 35 bytes) in > /home/groups/d/do/doris/htdocs/lua/weblua.php on line 109 Ehm... this can also be done with Python & ulimit. Sybren -- The problem with the worl

Re: Need help with restricting number of new objects a user script can create

2006-03-22 Thread vj
I think the only option is to come up with my own mini language. Searching on google, I found several examples where people replaced python with lua for scripting. Am reading up on lua and looks very promissing. I also tried doing the following: for i=1,1 do print(i) end on: http://doris.

Re: Need help with restricting number of new objects a user script can create

2006-03-22 Thread Sybren Stuvel
vj enlightened us with: > how do I restrict the user from (inadvertently or maliciously) > creating a large number of objects which will bring down the entire > 100 nodes. Use ulimit to give them a limited amount of CPU time, memory etc. The kernel will then kill runaway processes. Sybren -- The