-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
62 lines (48 loc) · 2.13 KB
/
Copy pathREADME
File metadata and controls
62 lines (48 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
NAME
RT-Extension-DebugMemory - Warns of memory growth
INSTALLATION
perl Makefile.PL
make
make install
May need root permissions
Edit your /opt/rt6/etc/RT_SiteConfig.pm
Add this line:
Plugin('RT::Extension::DebugMemory');
or add RT::Extension::DebugMemory to your existing Plugin line.
Restart your webserver
USAGE
Requests which trigger changes in the RSS size of the process will be
logged at the WARN level, as follows:
[warning]: MEM - 872[1]: (596K) | /
[warning]: MEM - 872[1]: (4220K) > /
[warning]: MEM - 872[2]: (160K) | /NoAuth/Login.html
[warning]: MEM - 872[2]: (684K) > /NoAuth/Login.html
[warning]: MEM - 872[3]: (2900K) > /
[warning]: MEM - 872[4]: (4276K) > /Ticket/Display.html?id=1
[warning]: MEM - 872[5]: (68K) > /Ticket/Display.html?id=1
[warning]: MEM - 872[6]: (72K) > /Ticket/Display.html?id=1
[warning]: MEM - 872[7]: (16K) > /Ticket/Display.html?id=1
^ ^ ^ ^ ^
| | | | |
PID | | | |
| | | |
Request number | | |
| | |
RSS size change | |
| |
">" means post-cleanup of request |
"|" means during the request |
Request URI
The size of the process is monitored using the Proc::ProcessTable module
to read the RSS (Resident Set Size) of the current process.
AUTHOR
Best Practical Solutions, LLC <modules@bestpractical.com>
BUGS
All bugs should be reported via
<http://rt.cpan.org/Public/Dist/Display.html?Name=RT-Extension-DebugMemo
ry> or bug-RT-Extension-DebugMemory@rt.cpan.org.
LICENSE AND COPYRIGHT
This software is Copyright (c) 2012-2026 by Best Practical Solutions,
LLC
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991