Thanks DK. Can you tell how I can start logging the Metrics in CF MX 6.1? - Ken.
On 4/21/06, Douglas Knudsen <[EMAIL PROTECTED]> wrote: > > to chime in...i suggest you turn the metrics logs on too, this will > give you a better idea of what's going on internally. > > DK > > On 4/21/06, Ryan Guill <[EMAIL PROTECTED]> wrote: > > Are you sure that it is the scheduled task that is causing it? Even > > if the scheduled task is the code reporting the error, if you have > > other things that are causing the out of memory, the scheduled task > > could just be the proverbial straw that does the server in. > > > > I would keep an eye on the memory usage constantly and see if it is > > jumping directly at the time the task is running, or disable it for a > > while (if that is possible) and see if it makes a difference. > > > > Also, you have mentioned two seperate errors, a max connections > > reached and a out of memory... While related they are two different > > things. Can you show us a dump of the error and the stack trace? > > > > On 4/21/06, Ken <[EMAIL PROTECTED]> wrote: > > > I forgot to mention, the JVM heap size is set to Min: 128 MB , Max: > 1024 > > > MB. > > > > > > On 4/21/06, Ken <[EMAIL PROTECTED] > wrote: > > > > > > > > My site is fairly busy. We are running Xeon with 2GB server. And > yes, this > > > > error has occured: It said: " Java.Lang.OutOfMemory". > > > > > > > > > > > > > > > > On 4/21/06, Ben Nadel <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Ken, > > > > > > > > > > Is this an error that has actually occurred for you? What kind of > > > > > traffic > > > > > does your site get? > > > > > > > > > > ....................... > > > > > Ben Nadel > > > > > www.bennadel.com > > > > > > > > > > -----Original Message----- > > > > > From: Ken [mailto:[EMAIL PROTECTED] > > > > > Sent: Friday, April 21, 2006 6:32 AM > > > > > To: CF-Talk > > > > > Subject: Too many connections? > > > > > > > > > > Hi. Just wondering.... if i have a Scheduled Task setup to run > every 3 > > > > > minutes, and it performs a database Insert, followed by database > > > > > updates, > > > > > How can I prevent my CF server from treating each request from > that Task > > > > > as > > > > > a new client connection, and not crash saying : "Max connections > > > > > reached"? > > > > > > > > > > Should I be using a CFLOCK with a timeout greater than 3 minutes? > I want > > > > > the > > > > > CF server to maintain an active session for my scheduled task, and > not > > > > > create a new connection for each time the task runs, every 3 > miinutes. > > > > > > > > > > Please help. > > > > > > > > > > Thanks. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238511 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

