PT_USERMEM / PT_USERTIME Debugging info

Post Reply
aegis
Junior Member
Posts: 12
Joined: 31 Jan 2010, 00:13

PT_USERMEM / PT_USERTIME Debugging info

Post by aegis »

At the moment when PT_USERMEM or PT_USERTIME are exceeded you just get a message telling you which process has exceeded the limit.

Could more debugging info be included such as a trace of the process causing the memory limit to be broken?

For example, I've had a couple of users go past a 200MB limit with a particular Joomla/Virtumart install. Normally it runs in less than 15MB but very occasionally it's going past 200MB for no obvious reason. Debugging it is almost impossible to catch since it seems to be a very quick script that allocates a lot of ram.

Or perhaps this should be a trigger for another script such as PT_LOAD_ACTION ?
chirpy
Moderator
Posts: 3537
Joined: 09 Dec 2006, 18:13

Post by chirpy »

I'll look at adding a PT_USERACTION or similar setting that passes the process PID to it so that more can be done if desired.
Post Reply