Issue Details (XML | Word | Printable)

Key: FOR-572
Type: Task Task
Status: Open Open
Priority: Critical Critical
Assignee: Unassigned
Reporter: David Crossley
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Forrest

run a memory profiler while forrest is operating

Created: 11/Jul/05 10:16 AM   Updated: 07/Jul/06 02:59 AM
Return to search
Component/s: Core operations
Affects Version/s: 0.8
Fix Version/s: 0.9-dev

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works step1_profiling.patch 2005-08-30 03:57 AM Ron Blaschke 3 kB
Issue Links:
Reference
 


 Description  « Hide
We need to run a memory profiler while forrest is operating.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
David Crossley added a comment - 11/Jul/05 10:20 AM
A couple of recent forrest-dev threads:

[HEADS_UP] SVN HEAD is broken
http://marc.theaimsgroup.com/?l=forrest-dev&m=112086829603887

possible memory problems
http://marc.theaimsgroup.com/?l=forrest-dev&m=111958832520115

David Crossley added a comment - 31/Jul/05 11:55 AM
Some preliminary results ...

Quick glimpse at Forrest's memory usage [FOR-572] Ron Blaschke
http://www.mail-archive.com/dev%40forrest.apache.org/index.html#03540

David Crossley added a comment - 31/Jul/05 12:19 PM
Another separate discussion thread:

possible memory problems FOR-572 (Was: svn commit: r226346)
http://www.mail-archive.com/dev%40forrest.apache.org/index.html#03562

David Crossley added a comment - 11/Aug/05 11:26 AM
Another separate discussion thread:

Deeper Look at Memory Issue, Maybe Successful
http://marc.theaimsgroup.com/?t=112371108100008

David Crossley added a comment - 12/Aug/05 11:02 AM
Another separate discussion thread:

Quick glimpse at Forrest's build times
http://marc.theaimsgroup.com/?t=112377044900006

Ron Blaschke added a comment - 13/Aug/05 07:16 PM
I reported the issue to Cocoon.

Possible Memory Leak with LinkRewriterTransformer
http://issues.apache.org/bugzilla/show_bug.cgi?id=36162

David Crossley added a comment - 22/Aug/05 12:38 PM
Another relevant thread:
Profiling Forrest [FOR-572]
http://marc.theaimsgroup.com/?l=forrest-dev&m=112456323907116

Ron Blaschke added a comment - 30/Aug/05 03:57 AM
This patch adds partial support for profiling through Cocoon pipelines.
You still need to replace the /standard pipes/ with the /profiling pipes/ in
sitemap.xmap.

The profiling results can be accessed via http://localhost:8888/profile.html during "forrest run".
Note that you need to load a page first, to get some profiling data.

Also note that after this change "profile.html" is reserved for the profiling page. This will
go away after step 1 below, I guess.

Next steps probably are:
1) Refactor profiler.xmap into a (output) plugin, probably including a profile2document stylesheet
2) Find out how to automatically replace the pipes with their profiling counterparts
3) Find out how to best get some "profile.html" during static site generation

Ron

David Crossley added a comment - 30/Aug/05 01:51 PM
Thanks. Applied patch step1_profiling.patch (3 kb)

Ross Gardler added a comment - 04/Sep/05 09:38 AM
No idea if this is any use, just spotted a reference to it on Cocoon user list:

http://svn.apache.org/viewcvs.cgi/cocoon/branches/BRANCH_2_1_X/tools/instrumentation/readme.txt?view=markup

David Crossley added a comment - 05/Oct/05 01:28 PM
Related to comment above [29/Aug/05 08:57 PM] ...
See a description of how to run the basic Cocoon Profiler
http://forrest.apache.org/docs_0_80/howto/howto-dev.html#debug
... profiling is much more of course, but that is a start.

Tim Williams added a comment - 07/Jul/06 02:59 AM
As David suggested in the mail below, this is an issue that is a holding area for lots of good info. This should just be turned into a doc somewhere.

http://marc.theaimsgroup.com/?t=115188972100002&r=1&w=2