Hi, If you want to profile your php stack in the production env XHprof is
the correct tool,
if you want to motorize your server memory see Nagios, Munin, cacti, New
Relic etc..
but if you want an application-level monitoring, I suggest to see this
bundle
https://github.com/liuggio/StatsDClientBundle
It uses statsd+graphite, you could do a lot of thinks and there are some
data collector ready to use for example for the memory usage.
Statsd was created by Etsy and is a really useful.

If you want to read more:
http://blog.servergrove.com/2012/10/09/interesting-symfony-bundles-statsdclientbundle/
http://www.slideshare.net/liuggio/rationally-boost-your-symfony2-application-with-caching-tips-and-monitoring



On Thu, Nov 8, 2012 at 10:00 AM, Jasper N. Brouwer <jas...@nerdsweide.nl>wrote:

> You might want to look at XHprof (https://github.com/facebook/xhprof),
> and maybe XHGui (https://github.com/preinheimer/xhprof).
> It's a simple but complete profiler suitable for running on production
> applications (originally built for Facebook).
>
> --
> Jasper N. Brouwer
>
>
>
> On 08-11-2012, at 08:40, Christophe L <cl.subscript...@gmail.com> wrote:
>
> > Hello,
> >
> > would it possible to add memory usage information in the
> TimeDataCollector (so there would be a need of renaming it of course ;) ?
> >
> > This could be quite helpful for analysing memory usage of the requests
> because for a good profiling, both time and memory usage information are
> useful.
> >
> > Since we have memory issue with Symfony2 on our application, I modified
> mainly the Stopwatch and StopwatchEvent classes in order to add calls to
> memory_get_usage(true); here and there and created an additional
> DataCollector, but it's quite similar to the TimeDataCollector, and it
> would be nice to have all information on the timeline diagram.
> >
> > Thanks in advance for your feedback.
> >
> > Best regards,
> > Christophe
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to symfony-devs@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-devs+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
>



-- 
 __________________liuggio_________________________________

  __/|_      We reject kings, presidents and voting.
/o )   \/    We believe in rough consensus
)__ v _/\          and running code  (I.E.T.F. credo)
______________________________________________________________

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to