Re: Memory leak but only on Red Hat

2010-11-30 Thread D Tim Cummings
Hi Q WOHTTPConnection sendRequest(WORequest request) creates a new thread to implement timeout. I was creating threads also because the sendRequest implementation of timeout wasn't working for me. I disabled my code that created threads but was still getting the OutOfMemory problem. Start of

Re: Memory leak but only on Red Hat

2010-11-30 Thread Q
On 01/12/2010, at 3:36 PM, D Tim Cummings wrote: > We have a sessionless app that we have been running for years on Mac OS X on > XServes. We recently moved it to Red Hat servers and now we are getting Out > of Memory errors even though we have significantly increased the memory > available.

Memory leak but only on Red Hat

2010-11-30 Thread D Tim Cummings
We have a sessionless app that we have been running for years on Mac OS X on XServes. We recently moved it to Red Hat servers and now we are getting Out of Memory errors even though we have significantly increased the memory available. Red Hat is using the java sun jvm 1.6.0_20 64 bit, while t

Re: httpd-ssl.conf on snow leopard server

2010-11-30 Thread Tim Worman
Jeff: My experience is that you want to be very careful what you do manually vs. with Server Admin. I'm not sure what's driving you to default to doing this manually - you may have a good reason. But my experience is that you should set up as much as possible with Server Admin and then make any

Re: httpd-ssl.conf on snow leopard server

2010-11-30 Thread Jeff Schmitz
OK, Yeah, that's how my site installation is setup too. In the sites dir I have just a couple config files. One is _any_80_.conf that looks like it's setup for setting up a host that runs on port 80. Would the proper thing be to create a _any_443_.conf file (maybe copied from the p

Re: httpd-ssl.conf on snow leopard server

2010-11-30 Thread Tim Worman
Jeff: I _think_ /etc/apache2/extra/ is only there on OS X, not OS X Server. On OS X Server, you configure ssl per site or virtual host. For that reason I've always used Server Admin to set up SSL for web services. You'd find the individual configs for sites in /etc/apache2/sites/. Tim Worman U

httpd-ssl.conf on snow leopard server

2010-11-30 Thread Jeff Schmitz
I'm trying to configure SSL on my deployment machine running snow leopard server. I see lots of documents referencing a /etc/apache2/extra/httpd-ssl.conf file, but my installation has no such file, and in fact doesn’t even have a /etc/apache2/extra directory. Is my installation hosed some way

ERProfiling from Monitor deployment

2010-11-30 Thread Nathan Hadfield
Is there a way to enable ERProfiling for an instance running from Monitor? I've added -javaagent:/ERProfiling.framework/Resources/Java/gluonj-1.5beta.jar=er.profiling.PFProfilerMixin to the Additional Arguments (and verified the path is correct), but the profiling widget doesn't appear on the

Re: Memory control

2010-11-30 Thread John Larson
Don't I in order to vend my own EC subclasses using ERXEC.newEditingContext()? On Nov 30, 2010, at 1:38 PM, Anjo Krank wrote: > Am 30.11.2010 um 19:42 schrieb John Larson: > >> Since I'm scared to death of subclassing the factory in ERXEC > > Why would you? > > Cheers, Anjo > > > > >

Re: Memory control

2010-11-30 Thread Anjo Krank
Am 30.11.2010 um 19:42 schrieb John Larson: > Since I'm scared to death of subclassing the factory in ERXEC Why would you? Cheers, Anjo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-

Re: Memory control

2010-11-30 Thread Chuck Hill
On Nov 30, 2010, at 10:42 AM, John Larson wrote: > On Nov 30, 2010, at 12:28 PM, Chuck Hill wrote: >> >> As an alternative to this: >> >>> - eliminate or reduce the ec undo stack size. >> >> You can call undoManager().removeAllActions() after a successful save. To >> make this even easier,

Re: Memory control

2010-11-30 Thread John Larson
On Nov 30, 2010, at 12:28 PM, Chuck Hill wrote: > > > As an alternative to this: > >> - eliminate or reduce the ec undo stack size. > > You can call undoManager().removeAllActions() after a successful save. To > make this even easier, I use an EC subclass with this code: > >/** >

Re: Memory control

2010-11-30 Thread Chuck Hill
On Nov 30, 2010, at 3:29 AM, Gennady Kushnir wrote: > Hello list. > I've got "Out of memory" error once, when an app was under significant > load serving multiple users. > I am wondering if there is a way to monitor memory usage and possibly > force garbage-collection of unused objects. > For exa

Re: Database Connection Question

2010-11-30 Thread Chuck Hill
On Nov 30, 2010, at 2:59 AM, Gennady Kushnir wrote: > Thank you for these tips > > The point is that I do use multiple EOF stacks. I clearly admit that > each EOObjectStoreCoordinator gets its own set of db connections. It only needs a single connection to work. >>> >>> Let's

Re: Memory control

2010-11-30 Thread John Larson
I just got done doing some pretty intense research on one of my apps' memory usage so here are some tips / observations. - use -verbosegc -XX:+PrintGCDetails vm options to see memory activity on deployed instances if you don't want to or can't profile a deployed app. Google the terms for more

Re: Wonder's Monitor

2010-11-30 Thread Johann Werner
Hi David, another small interface lifting, add this to the css file: #ContentWrapper, .NavigationBox { min-width: 1025px; } to prevent that parts of the table on the application details page with details shown go off the window without possibility to scroll. jw

Re: Memory control

2010-11-30 Thread Pascal Robert
Any luck with seeing the threads in VisualVM for remote apps? I enabled JMX in some of our apps, and while I can see CPU and memory usage with VisualVM, I can't see the threads detail. I do see threads detail when connecting to a local Java app. > VisualVM is a great free alternative to already

Re: Memory control

2010-11-30 Thread Denis Frolov
VisualVM is a great free alternative to already mentioned JProfiler. On Tue, Nov 30, 2010 at 2:29 PM, Gennady Kushnir wrote: > Hello list. > I've got "Out of memory" error once, when an app was under significant > load serving multiple users. > I am wondering if there is a way to monitor memory u

Re: Memory control

2010-11-30 Thread Simon
jprofiler seems to be the way most people profile running apps. there are docs on the wiki about it. forcing garbage collection is normally a bad thing. if you've got old ec's kicking around the i would suspect bad code rather than bad jvm :-) simon On 30 November 2010 11:29, Gennady Kushnir wr

Memory control

2010-11-30 Thread Gennady Kushnir
Hello list. I've got "Out of memory" error once, when an app was under significant load serving multiple users. I am wondering if there is a way to monitor memory usage and possibly force garbage-collection of unused objects. For example, when debugging with MultiECLockManager I noticed that former

Re: Snow Leopard Deployment

2010-11-30 Thread Gennady Kushnir
In my case I did the same thing as on linux deployment: substituted /cgi-bin/... with /Apps/... in woadaptor configuration file ( /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf ) so that WO does not conflict with standard ScriptAlias 2010/11/24 Ron Lift : > Thank you > commenting ou

Re: Database Connection Question

2010-11-30 Thread Gennady Kushnir
Thank you for these tips The point is that I do use multiple EOF stacks. I clearly admit that each EOObjectStoreCoordinator gets its own set of db connections. >>> >>> It only needs a single connection to work. >> >> Let's say single connection for each used database ;) >> In fact that i

Re: CSS resources problem (Was: Wonder's Monitor)

2010-11-30 Thread Johann Werner
Am 29.11.2010 um 17:58 schrieb David LeBer: > > On 2010-11-29, at 11:03 AM, Johann Werner wrote: > >> >> Am 29.11.2010 um 16:46 schrieb David LeBer: >> >>> >>> On 2010-11-29, at 10:24 AM, Johann Werner wrote: >>> I have JavaMonitor running on a OS X Server box. The funny thing is I >>