Zopists, I am spoiled. I have a large server and until now I have never really monitored memory usage. But I noticed things slowing down a great deal and was curious. Swapping. Machine: RH 6.1 2.2.12-smp Dual Xenon 1 gig memory Zope install: Zope 2.1 Binary ZODB pure. No DA's Home grown ZClasses. 'ps' tells me Zope is the culprit. It's using 64% when things get swappy. There are no prosesses running on this machine BTW. It's just a Zope server. My Data.fs file is ~300 packed and gets to be about 1GB at the end of every day. (A lot of transactions :) Zope is eating memory at the rate of 10MB every 2 minutes. Is that appropriate? I never noticed a slowdown until I switched to 2.1, really. I've considered writing a small python progam to compare the output of 'free' to the Zope log, but I'd love to see if there is another way to nail what's eating mem. If someone can tell me the best way to narrow it down from experience, I'll do it this afternoon. Hopefully, -- Jason Spisak 444@hiretechs.com
Jason, Try /Control_Panel/manage_debug ... it will tell you exactly which kinds of objects are eating memory. Take a "snapshot" then refresh the page after a couple of minutes, and the table should list at the top the name of the class that's taking up more than its fair share. Shane Jason Spisak wrote:
Zopists,
I am spoiled. I have a large server and until now I have never really monitored memory usage. But I noticed things slowing down a great deal and was curious. Swapping.
Machine:
RH 6.1 2.2.12-smp Dual Xenon 1 gig memory
Zope install:
Zope 2.1 Binary ZODB pure. No DA's Home grown ZClasses.
'ps' tells me Zope is the culprit. It's using 64% when things get swappy. There are no prosesses running on this machine BTW. It's just a Zope server.
My Data.fs file is ~300 packed and gets to be about 1GB at the end of every day. (A lot of transactions :)
Zope is eating memory at the rate of 10MB every 2 minutes. Is that appropriate?
I never noticed a slowdown until I switched to 2.1, really.
I've considered writing a small python progam to compare the output of 'free' to the Zope log, but I'd love to see if there is another way to nail what's eating mem. If someone can tell me the best way to narrow it down from experience, I'll do it this afternoon.
Hopefully,
-- Jason Spisak 444@hiretechs.com
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Shane Hathaway writes: Okay, here's the output. (BTW is was trying manage_debug without the Control_Panel. That was not intelligent;) Class May 22, 2000 4:21 am May 22, 2000 4:22 am Delta OIBTree.Bucket 7132 8135 +1003 IOBTree.BTree 2570 2827 +257 BTree.BTree 1028 1105 +77 IIBTree.Bucket 4590 4619 +29 DocumentTemplate.DT_With.With 273 279 +6 2nd pass: Actually there's too damn much. Shane, I'll just send you the html. If anyone else wants to help let me know.
Jason,
Try /Control_Panel/manage_debug ... it will tell you exactly which kinds of objects are eating memory. Take a "snapshot" then refresh the page after a couple of minutes, and the table should list at the top the name of the class that's taking up more than its fair share.
Shane
Jason Spisak wrote:
Zopists,
I am spoiled. I have a large server and until now I have never really monitored memory usage. But I noticed things slowing down a great deal and was curious. Swapping.
Machine:
RH 6.1 2.2.12-smp Dual Xenon 1 gig memory
Zope install:
Zope 2.1 Binary ZODB pure. No DA's Home grown ZClasses.
'ps' tells me Zope is the culprit. It's using 64% when things get swappy. There are no prosesses running on this machine BTW. It's just a Zope server.
My Data.fs file is ~300 packed and gets to be about 1GB at the end of every day. (A lot of transactions :)
Zope is eating memory at the rate of 10MB every 2 minutes. Is that appropriate?
I never noticed a slowdown until I switched to 2.1, really.
I've considered writing a small python progam to compare the output of 'free' to the Zope log, but I'd love to see if there is another way to nail what's eating mem. If someone can tell me the best way to narrow it down from experience, I'll do it this afternoon.
Hopefully,
-- Jason Spisak 444@hiretechs.com
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
Jason Spisak wrote:
Shane Hathaway writes:
Okay, here's the output. (BTW is was trying manage_debug without the Control_Panel. That was not intelligent;)
Class May 22, 2000 4:21 am May 22, 2000 4:22 am Delta OIBTree.Bucket 7132 8135 +1003 IOBTree.BTree 2570 2827 +257 BTree.BTree 1028 1105 +77 IIBTree.Bucket 4590 4619 +29
Since you say you are not using any DA's, the culprit must be ZCatalog. What happens when you minimize the memory cache (setting the limit to 3 seconds)? Do the OIBTree.Bucket objects get unloaded? Shane
Shane Hathaway writes: I had to restart Zope. I was about to start swapping, and now everyone's a lunch. It's so weird. Even though there is really no one on it that memory is just flying out the window.
Jason Spisak wrote:
Shane Hathaway writes:
Okay, here's the output. (BTW is was trying manage_debug without the Control_Panel. That was not intelligent;)
Class May 22, 2000 4:21 am May 22, 2000 4:22 am Delta OIBTree.Bucket 7132 8135 +1003 IOBTree.BTree 2570 2827 +257 BTree.BTree 1028 1105 +77 IIBTree.Bucket 4590 4619 +29
Since you say you are not using any DA's, the culprit must be ZCatalog. What happens when you minimize the memory cache (setting the limit to 3 seconds)? Do the OIBTree.Bucket objects get unloaded?
Shane
How would I tell if they get unloaded? I am new to the manage_debug BTW. I set the Cache Parameters target time between accesses to 3. What am I looking for number-wise? Thanks again, Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
Shane Hathaway writes: It doesn't look like the number of objects is dropping like it should when it's set at 3 seconds. After 30 min I'm still at DateTime.DateTime.DateTime +7398 BTree.Bucket +3501 intSet.intSet +1863 IOBTree.Bucket +1572
Jason Spisak wrote:
Shane Hathaway writes:
Okay, here's the output. (BTW is was trying manage_debug without the Control_Panel. That was not intelligent;)
Class May 22, 2000 4:21 am May 22, 2000 4:22 am Delta OIBTree.Bucket 7132 8135 +1003 IOBTree.BTree 2570 2827 +257 BTree.BTree 1028 1105 +77 IIBTree.Bucket 4590 4619 +29
Since you say you are not using any DA's, the culprit must be ZCatalog. What happens when you minimize the memory cache (setting the limit to 3 seconds)? Do the OIBTree.Bucket objects get unloaded?
Shane
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
participants (2)
-
Jason Spisak -
Shane Hathaway