Mantis - Quercus
Viewing Issue Advanced Details
2102 trivial always 10-20-07 23:51 10-21-07 15:56
koreth  
ferg  
normal  
closed 3.1.3  
fixed  
none    
none 3.1.4  
0002102: Resource usage functions undefined
Some of our debug logging code calls getrusage(), memory_get_usage(), and memory_get_peak_usage(), none of which are defined by Quercus. Obviously it's hard to return meaningful results for those in an app server environment, but right now the code just bombs out. Dummy results would be preferable. (Obviously it'd be possible to compute a rough memory usage estimate, but that's most likely not worth the trouble.)

For now I have just defined these as dummy functions in PHP, so this is not urgent.

Notes
(0002375)
ferg   
10-21-07 15:56   
php/1a0{w,x}