APM and Symfony 1.1

2 views
Skip to first unread message

Mathieu ZIK

unread,
Oct 28, 2010, 8:27:13 AM10/28/10
to Alternative PHP Monitor - Dev
Hi,

We try to use apm with Symfony 1.1 and for now, if I do not
desactivate the apm.stacktrace_enabled=off, I have a memory
overloaded.In fact, stacktrace have too many levels, maybe could you
limit the number of level?

Regards

Paul Dragoonis

unread,
Oct 28, 2010, 8:40:34 AM10/28/10
to apm...@googlegroups.com
Maybe you should check your max_memory_limit setting.

APM just taps into the backtrace that you get from normal PHP userland (debug_backtrace()) so not doing anything unusual.

How long is your backtrace ?

--
Paul Dragoonis
Senior Software Engineer
drag...@php.net


--
You received this message because you are subscribed to the Google Groups "Alternative PHP Monitor - Dev" group.
To post to this group, send email to apm...@googlegroups.com.
To unsubscribe from this group, send email to apm-dev+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/apm-dev?hl=en.





Patrick ALLAERT

unread,
Oct 28, 2010, 1:04:10 PM10/28/10
to apm...@googlegroups.com
Hi,

2010/10/28 Mathieu ZIK <ziko...@gmail.com>:

This is a valid remark, I have been able to exhaust the disk space of
a server because of the size of stacktrace in the DB.
However, how would the stacktrace be significant if you would only
have the top n levels? In most framework-enabled project you will have
every time the same first results because of routers/front
controllers,...

Only displaying the last n levels would still require to start from
the topmost frame and would therefor require the same amount of
memory.

I would suggest to avoid collecting the stacktrace on such kind of
project as it would not be very helpful to debug problems, right?

Regards,

--
Patrick Allaert
---
http://code.google.com/p/peclapm/ - Alternative PHP Monitor

Reply all
Reply to author
Forward
0 new messages