error Cannot create cookie: path = /
Any idea what these errors are within the cfusion-event.log are? We are not using cfcookie it anything like this? error Cannot create cookie: path = / Anyway to stop it happening? Thanks ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279724 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: error Cannot create cookie: path = /
My server is now running around 425 mbs in the windows task manager. Do you think I should raise the heap size higher then 512mbs (maybe to 640 mbs or 768 mbs)? Right now the machine as a whole is using about 800mbs and I have 2 gigs of ram on the server. Rich On Sat, 23 Oct 2004 19:14:07 -0400, Josh [EMAIL PROTECTED] wrote: Yes, caching queries will add to the amount of memory needed by CF. If I am not mistaken, cached queries are stored in memory... -- Exciteworks, Inc Expert Hosting for less! *Ask for a free 30 day trial!* http://exciteworks.com Plans starting at -$12.95- including MS SQL Server! Rich Tretola wrote: My numbers now look like this: Free Allocated Memory: 417mb Total Memory Allocated: 502mb Max Memory Available to JVM: 502mb % of Free Allocated Memory: 83% % of Available Memory Allocated: 100% Would caching some queries add to the total memory needed by CF? ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182910 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
Re: error Cannot create cookie: path = /
What do you have your XX:MaxPermSize= set to? Rich On Fri, 22 Oct 2004 21:39:14 +0100, Andrew Dixon [EMAIL PROTECTED] wrote: In this document: http://www.macromedia.com/support/coldfusion/ts/documents/cfmx_perf_tips.htm under the heading Memory, here is a quote: For best performance, it's best to set your initial heap size and your maximum heap size to the same value. Andrew. On Fri, 22 Oct 2004 15:15:36 -0500, Rich Tretola [EMAIL PROTECTED] wrote: Where did you see these recomendations on MM's site? Rich On Fri, 22 Oct 2004 14:56:39 -0500, Rich Tretola [EMAIL PROTECTED] wrote: So would 756 and 756 improve performance? Rich ~| This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.houseoffusion.com/banners/view.cfm?bannerid=11 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182424 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: error Cannot create cookie: path = /
-XX:MaxPermSize=128m On Sat, 23 Oct 2004 11:54:56 -0500, Rich Tretola [EMAIL PROTECTED] wrote: What do you have your XX:MaxPermSize= set to? Rich ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182431 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
Re: error Cannot create cookie: path = /
Thanks for your help, I am going to change the min to be the same as the max. My cfserver has been using between 260 - 300mbs so I guess I will keep the min/max at 512 for now. Would caching some queries add to the total memory needed by CF? Rich On Sat, 23 Oct 2004 22:22:08 +0100, Andrew Dixon [EMAIL PROTECTED] wrote: -XX:MaxPermSize=128m On Sat, 23 Oct 2004 11:54:56 -0500, Rich Tretola [EMAIL PROTECTED] wrote: What do you have your XX:MaxPermSize= set to? Rich ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=38 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182433 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: error Cannot create cookie: path = /
My numbers now look like this: Free Allocated Memory: 417mb Total Memory Allocated: 502mb Max Memory Available to JVM: 502mb % of Free Allocated Memory: 83% % of Available Memory Allocated: 100% Would caching some queries add to the total memory needed by CF? ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=35 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182434 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: error Cannot create cookie: path = /
Yes, caching queries will add to the amount of memory needed by CF. If I am not mistaken, cached queries are stored in memory... -- Exciteworks, Inc Expert Hosting for less! *Ask for a free 30 day trial!* http://exciteworks.com Plans starting at -$12.95- including MS SQL Server! Rich Tretola wrote: My numbers now look like this: Free Allocated Memory: 417mb Total Memory Allocated: 502mb Max Memory Available to JVM: 502mb % of Free Allocated Memory: 83% % of Available Memory Allocated: 100% Would caching some queries add to the total memory needed by CF? ~| The annual ColdFusion User Conference is being held Sat 6/26 - Sun 6/27/04 8am-5pm in the Washington DC Area. http://www.houseoffusion.com/banners/view.cfm?bannerid=44 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182435 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
Re: error Cannot create cookie: path = /
So what do you think? I notice that the exp day in the error is always 2 days from today which is my default timeout for application variable timeout. Rich On Thu, 21 Oct 2004 12:27:57 -0500, Rich Tretola [EMAIL PROTECTED] wrote: That wasn't the test, that simply resets the cookie on close of browser so that the client is logged out automatically on browser close. I didn't show the test because it is a javascript test which should not bother JRun. Rich On Thu, 21 Oct 2004 12:51:47 -0400, Dave Watts [EMAIL PROTECTED] wrote: This is the only cooke being created by CF: cfif IsDefined(cookie.cfid) AND IsDefined(cookie.cftoken) cfset localCFID = cookie.cfid cfset localCFTOKEN = cookie.cftoken cfcookie name=CFID value=#localCFID# cfcookie name=CFTOKEN value=#localCFTOKEN# /cfif Other than this, I have a cookie test but that is in javascript. Could the problem simply be that the cookie test is taking place after the cfcookie tag and those users are not allowing the cookie? I'm not sure what your cookie test is doing. However, rather than writing the cookies for each page request, you could do something like this instead: cfapplication ... setclientcookies=no cfif not IsDefined(Cookie.CFID) cfcookie name=CFID value=#Session.CFID# cfcookie name=CFTOKEN value=#Session.CFTOKEN# /cfif Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=35 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182338 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
RE: error Cannot create cookie: path = /
That wasn't the test, that simply resets the cookie on close of browser so that the client is logged out automatically on browser close. I didn't show the test because it is a javascript test which should not bother JRun. Right. My point about your code was that it resets the cookie on each page request, when it only needs to reset the cookie once. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=34 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182341 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: error Cannot create cookie: path = /
So what do you think? I notice that the exp day in the error is always 2 days from today which is my default timeout for application variable timeout. Actually, I think that the problem doesn't have anything to do with your code. I was at a client's site yesterday, and they had the same log errors. Their site was crashing frequently, and I think that they were having problems with the JVM running out of memory. So, you might want to look into that. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=34 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182343 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: error Cannot create cookie: path = /
How could I check the jvm memory and it there a way to increase it if I need to? Rich On Fri, 22 Oct 2004 12:16:47 -0400, Dave Watts [EMAIL PROTECTED] wrote: So what do you think? I notice that the exp day in the error is always 2 days from today which is my default timeout for application variable timeout. Actually, I think that the problem doesn't have anything to do with your code. I was at a client's site yesterday, and they had the same log errors. Their site was crashing frequently, and I think that they were having problems with the JVM running out of memory. So, you might want to look into that. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~| The annual ColdFusion User Conference is being held Sat 6/26 - Sun 6/27/04 8am-5pm in the Washington DC Area. http://www.houseoffusion.com/banners/view.cfm?bannerid=44 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182348 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
Re: error Cannot create cookie: path = /
Here are my stats: Free Allocated Memory: 14mb Total Memory Allocated: 179mb Max Memory Available to JVM: 493mb % of Free Allocated Memory: 8% % of Available Memory Allocated: 36% Can I increase the memory available? Rich On Fri, 22 Oct 2004 11:39:42 -0500, Rich Tretola [EMAIL PROTECTED] wrote: How could I check the jvm memory and it there a way to increase it if I need to? Rich On Fri, 22 Oct 2004 12:16:47 -0400, Dave Watts [EMAIL PROTECTED] wrote: So what do you think? I notice that the exp day in the error is always 2 days from today which is my default timeout for application variable timeout. Actually, I think that the problem doesn't have anything to do with your code. I was at a client's site yesterday, and they had the same log errors. Their site was crashing frequently, and I think that they were having problems with the JVM running out of memory. So, you might want to look into that. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~| Get the mailserver that powers this list at http://www.houseoffusion.com/banners/view.cfm?bannerid=17 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182350 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: error Cannot create cookie: path = /
yeah, I've seen these errors in my logs too, odd. Using the same technique as Rich here does. No JVM memory issues though. Doug On Fri, 22 Oct 2004 12:16:47 -0400, Dave Watts [EMAIL PROTECTED] wrote: So what do you think? I notice that the exp day in the error is always 2 days from today which is my default timeout for application variable timeout. Actually, I think that the problem doesn't have anything to do with your code. I was at a client's site yesterday, and they had the same log errors. Their site was crashing frequently, and I think that they were having problems with the JVM running out of memory. So, you might want to look into that. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=36 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182351 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
Re: error Cannot create cookie: path = /
From the stats that I provided in my last post, it looks like I may have jvm issues right? My machine has 2 gigs of ram so can I allocate more than 512 in the max heap size? Rich On Fri, 22 Oct 2004 12:53:16 -0400, Douglas Knudsen [EMAIL PROTECTED] wrote: yeah, I've seen these errors in my logs too, odd. Using the same technique as Rich here does. No JVM memory issues though. Doug On Fri, 22 Oct 2004 12:16:47 -0400, Dave Watts [EMAIL PROTECTED] wrote: So what do you think? I notice that the exp day in the error is always 2 days from today which is my default timeout for application variable timeout. Actually, I think that the problem doesn't have anything to do with your code. I was at a client's site yesterday, and they had the same log errors. Their site was crashing frequently, and I think that they were having problems with the JVM running out of memory. So, you might want to look into that. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=38 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182353 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
Re: error Cannot create cookie: path = /
there are numerous resources for this. Search the cf-talk archives for sure. Here are some refs http://www.macromedia.com/support/coldfusion/ts/documents/cfmx_perf_tips.htm http://www.petefreitag.com/item/89.cfm http://www.talkingtree.com/blog/index.cfm?getCategory=ColdFusionstart=130 in short you mod the jvm.config filemodify the -xms and -xmx values for example -Xms512m -Xmx512m not to be raised to arbitrarily large values though, eh? Doug On Fri, 22 Oct 2004 11:52:09 -0500, Rich Tretola [EMAIL PROTECTED] wrote: Here are my stats: Free Allocated Memory: 14mb Total Memory Allocated: 179mb Max Memory Available to JVM: 493mb % of Free Allocated Memory: 8% % of Available Memory Allocated: 36% Can I increase the memory available? Rich On Fri, 22 Oct 2004 11:39:42 -0500, Rich Tretola [EMAIL PROTECTED] wrote: How could I check the jvm memory and it there a way to increase it if I need to? Rich On Fri, 22 Oct 2004 12:16:47 -0400, Dave Watts [EMAIL PROTECTED] wrote: So what do you think? I notice that the exp day in the error is always 2 days from today which is my default timeout for application variable timeout. Actually, I think that the problem doesn't have anything to do with your code. I was at a client's site yesterday, and they had the same log errors. Their site was crashing frequently, and I think that they were having problems with the JVM running out of memory. So, you might want to look into that. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182355 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
Re: error Cannot create cookie: path = /
drat! forgot to mention, that info was for CFMX on JRun, the J2EE install. I dunno if its sim to the standalone install. Doug On Fri, 22 Oct 2004 13:12:07 -0400, Douglas Knudsen [EMAIL PROTECTED] wrote: there are numerous resources for this. Search the cf-talk archives for sure. Here are some refs http://www.macromedia.com/support/coldfusion/ts/documents/cfmx_perf_tips.htm http://www.petefreitag.com/item/89.cfm http://www.talkingtree.com/blog/index.cfm?getCategory=ColdFusionstart=130 in short you mod the jvm.config filemodify the -xms and -xmx values for example -Xms512m -Xmx512m not to be raised to arbitrarily large values though, eh? Doug On Fri, 22 Oct 2004 11:52:09 -0500, Rich Tretola [EMAIL PROTECTED] wrote: Here are my stats: Free Allocated Memory: 14mb Total Memory Allocated: 179mb Max Memory Available to JVM: 493mb % of Free Allocated Memory: 8% % of Available Memory Allocated: 36% Can I increase the memory available? Rich On Fri, 22 Oct 2004 11:39:42 -0500, Rich Tretola [EMAIL PROTECTED] wrote: How could I check the jvm memory and it there a way to increase it if I need to? Rich On Fri, 22 Oct 2004 12:16:47 -0400, Dave Watts [EMAIL PROTECTED] wrote: So what do you think? I notice that the exp day in the error is always 2 days from today which is my default timeout for application variable timeout. Actually, I think that the problem doesn't have anything to do with your code. I was at a client's site yesterday, and they had the same log errors. Their site was crashing frequently, and I think that they were having problems with the JVM running out of memory. So, you might want to look into that. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182356 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
Re: error Cannot create cookie: path = /
Where do I edit this line: -Xms512m -Xmx512m ? Rich On Fri, 22 Oct 2004 13:12:07 -0400, Douglas Knudsen [EMAIL PROTECTED] wrote: there are numerous resources for this. Search the cf-talk archives for sure. Here are some refs http://www.macromedia.com/support/coldfusion/ts/documents/cfmx_perf_tips.htm http://www.petefreitag.com/item/89.cfm http://www.talkingtree.com/blog/index.cfm?getCategory=ColdFusionstart=130 in short you mod the jvm.config filemodify the -xms and -xmx values for example -Xms512m -Xmx512m not to be raised to arbitrarily large values though, eh? Doug On Fri, 22 Oct 2004 11:52:09 -0500, Rich Tretola [EMAIL PROTECTED] wrote: Here are my stats: Free Allocated Memory: 14mb Total Memory Allocated: 179mb Max Memory Available to JVM: 493mb % of Free Allocated Memory: 8% % of Available Memory Allocated: 36% Can I increase the memory available? Rich On Fri, 22 Oct 2004 11:39:42 -0500, Rich Tretola [EMAIL PROTECTED] wrote: How could I check the jvm memory and it there a way to increase it if I need to? Rich On Fri, 22 Oct 2004 12:16:47 -0400, Dave Watts [EMAIL PROTECTED] wrote: So what do you think? I notice that the exp day in the error is always 2 days from today which is my default timeout for application variable timeout. Actually, I think that the problem doesn't have anything to do with your code. I was at a client's site yesterday, and they had the same log errors. Their site was crashing frequently, and I think that they were having problems with the JVM running out of memory. So, you might want to look into that. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182361 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: error Cannot create cookie: path = /
I have the same problem as this and already have the setting -Xms512m -Xmx512m and it doesn't help. Looking at my logs I think this problem only started with the install of CFMX6.1 Updater. Do you have the updater installed? Andrew. On Fri, 22 Oct 2004 12:52:02 -0500, Rich Tretola [EMAIL PROTECTED] wrote: Where do I edit this line: -Xms512m -Xmx512m ? Rich On Fri, 22 Oct 2004 13:12:07 -0400, Douglas Knudsen [EMAIL PROTECTED] wrote: there are numerous resources for this. Search the cf-talk archives for sure. Here are some refs http://www.macromedia.com/support/coldfusion/ts/documents/cfmx_perf_tips.htm http://www.petefreitag.com/item/89.cfm http://www.talkingtree.com/blog/index.cfm?getCategory=ColdFusionstart=130 in short you mod the jvm.config filemodify the -xms and -xmx values for example -Xms512m -Xmx512m not to be raised to arbitrarily large values though, eh? Doug On Fri, 22 Oct 2004 11:52:09 -0500, Rich Tretola [EMAIL PROTECTED] wrote: Here are my stats: Free Allocated Memory: 14mb Total Memory Allocated: 179mb Max Memory Available to JVM: 493mb % of Free Allocated Memory: 8% % of Available Memory Allocated: 36% Can I increase the memory available? Rich On Fri, 22 Oct 2004 11:39:42 -0500, Rich Tretola [EMAIL PROTECTED] wrote: How could I check the jvm memory and it there a way to increase it if I need to? Rich On Fri, 22 Oct 2004 12:16:47 -0400, Dave Watts [EMAIL PROTECTED] wrote: So what do you think? I notice that the exp day in the error is always 2 days from today which is my default timeout for application variable timeout. Actually, I think that the problem doesn't have anything to do with your code. I was at a client's site yesterday, and they had the same log errors. Their site was crashing frequently, and I think that they were having problems with the JVM running out of memory. So, you might want to look into that. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=38 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182364 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: error Cannot create cookie: path = /
I just updated the other day and just started seeing these entries. The updater fixed many other problems through so it was worth it. Should I have a value set for my minimum heap size? Currently that field is blank and the max heap size field is at 512mb. Again. the machine has 2 gigs of ram. Rich On Fri, 22 Oct 2004 19:11:14 +0100, Andrew Dixon [EMAIL PROTECTED] wrote: I have the same problem as this and already have the setting -Xms512m -Xmx512m and it doesn't help. Looking at my logs I think this problem only started with the install of CFMX6.1 Updater. Do you have the updater installed? Andrew. On Fri, 22 Oct 2004 12:52:02 -0500, Rich Tretola [EMAIL PROTECTED] wrote: Where do I edit this line: -Xms512m -Xmx512m ? Rich On Fri, 22 Oct 2004 13:12:07 -0400, Douglas Knudsen [EMAIL PROTECTED] wrote: there are numerous resources for this. Search the cf-talk archives for sure. Here are some refs http://www.macromedia.com/support/coldfusion/ts/documents/cfmx_perf_tips.htm http://www.petefreitag.com/item/89.cfm http://www.talkingtree.com/blog/index.cfm?getCategory=ColdFusionstart=130 in short you mod the jvm.config filemodify the -xms and -xmx values for example -Xms512m -Xmx512m not to be raised to arbitrarily large values though, eh? Doug On Fri, 22 Oct 2004 11:52:09 -0500, Rich Tretola [EMAIL PROTECTED] wrote: Here are my stats: Free Allocated Memory: 14mb Total Memory Allocated: 179mb Max Memory Available to JVM: 493mb % of Free Allocated Memory: 8% % of Available Memory Allocated: 36% Can I increase the memory available? Rich On Fri, 22 Oct 2004 11:39:42 -0500, Rich Tretola [EMAIL PROTECTED] wrote: How could I check the jvm memory and it there a way to increase it if I need to? Rich On Fri, 22 Oct 2004 12:16:47 -0400, Dave Watts [EMAIL PROTECTED] wrote: So what do you think? I notice that the exp day in the error is always 2 days from today which is my default timeout for application variable timeout. Actually, I think that the problem doesn't have anything to do with your code. I was at a client's site yesterday, and they had the same log errors. Their site was crashing frequently, and I think that they were having problems with the JVM running out of memory. So, you might want to look into that. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=34 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182367 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
Re: error Cannot create cookie: path = /
MM recommend setting the min and max to same value as it make CF more efficient as it doesn't have to do load of 'garbage collection'. I have mine set to 512 and 512 on a 1Gb RAM machine. Andrew. On Fri, 22 Oct 2004 13:21:59 -0500, Rich Tretola [EMAIL PROTECTED] wrote: I just updated the other day and just started seeing these entries. The updater fixed many other problems through so it was worth it. Should I have a value set for my minimum heap size? Currently that field is blank and the max heap size field is at 512mb. Again. the machine has 2 gigs of ram. Rich On Fri, 22 Oct 2004 19:11:14 +0100, Andrew Dixon [EMAIL PROTECTED] wrote: I have the same problem as this and already have the setting -Xms512m -Xmx512m and it doesn't help. Looking at my logs I think this problem only started with the install of CFMX6.1 Updater. Do you have the updater installed? Andrew. On Fri, 22 Oct 2004 12:52:02 -0500, Rich Tretola [EMAIL PROTECTED] wrote: Where do I edit this line: -Xms512m -Xmx512m ? Rich On Fri, 22 Oct 2004 13:12:07 -0400, Douglas Knudsen [EMAIL PROTECTED] wrote: there are numerous resources for this. Search the cf-talk archives for sure. Here are some refs http://www.macromedia.com/support/coldfusion/ts/documents/cfmx_perf_tips.htm http://www.petefreitag.com/item/89.cfm http://www.talkingtree.com/blog/index.cfm?getCategory=ColdFusionstart=130 in short you mod the jvm.config filemodify the -xms and -xmx values for example -Xms512m -Xmx512m not to be raised to arbitrarily large values though, eh? Doug On Fri, 22 Oct 2004 11:52:09 -0500, Rich Tretola [EMAIL PROTECTED] wrote: Here are my stats: Free Allocated Memory: 14mb Total Memory Allocated: 179mb Max Memory Available to JVM: 493mb % of Free Allocated Memory: 8% % of Available Memory Allocated: 36% Can I increase the memory available? Rich On Fri, 22 Oct 2004 11:39:42 -0500, Rich Tretola [EMAIL PROTECTED] wrote: How could I check the jvm memory and it there a way to increase it if I need to? Rich On Fri, 22 Oct 2004 12:16:47 -0400, Dave Watts [EMAIL PROTECTED] wrote: So what do you think? I notice that the exp day in the error is always 2 days from today which is my default timeout for application variable timeout. Actually, I think that the problem doesn't have anything to do with your code. I was at a client's site yesterday, and they had the same log errors. Their site was crashing frequently, and I think that they were having problems with the JVM running out of memory. So, you might want to look into that. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=37 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182387 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: error Cannot create cookie: path = /
So would 756 and 756 improve performance? Rich ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=38 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182391 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
error Cannot create cookie: path = /
My default error log has a bunch of entries like this, the day changes: 10/20 11:35:34 error Cannot create cookie: expires = Fri 10/20 11:35:34 error Cannot create cookie: path = / 10/20 11:35:38 error Cannot create cookie: expires = Fri 10/20 11:35:38 error Cannot create cookie: path = / 10/20 11:35:40 error Cannot create cookie: expires = Fri 10/20 11:35:40 error Cannot create cookie: path = / Any ideas? Rich ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=38 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182154 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: error Cannot create cookie: path = /
My default error log has a bunch of entries like this, the day changes: 10/20 11:35:34 error Cannot create cookie: expires = Fri 10/20 11:35:34 error Cannot create cookie: path = / 10/20 11:35:38 error Cannot create cookie: expires = Fri 10/20 11:35:38 error Cannot create cookie: path = / 10/20 11:35:40 error Cannot create cookie: expires = Fri 10/20 11:35:40 error Cannot create cookie: path = / Any ideas? Can you show the code that you're using to create cookies? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=35 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182199 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: error Cannot create cookie: path = /
This is the only cooke being created by CF: cfif IsDefined(cookie.cfid) AND IsDefined(cookie.cftoken) cfset localCFID = cookie.cfid cfset localCFTOKEN = cookie.cftoken cfcookie name=CFID value=#localCFID# cfcookie name=CFTOKEN value=#localCFTOKEN# /cfif Other than this, I have a cookie test but that is in javascript. Could the problem simply be that the cookie test is taking place after the cfcookie tag and those users are not allowing the cookie? Rich On Thu, 21 Oct 2004 11:58:18 -0400, Dave Watts [EMAIL PROTECTED] wrote: My default error log has a bunch of entries like this, the day changes: 10/20 11:35:34 error Cannot create cookie: expires = Fri 10/20 11:35:34 error Cannot create cookie: path = / 10/20 11:35:38 error Cannot create cookie: expires = Fri 10/20 11:35:38 error Cannot create cookie: path = / 10/20 11:35:40 error Cannot create cookie: expires = Fri 10/20 11:35:40 error Cannot create cookie: path = / Any ideas? Can you show the code that you're using to create cookies? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=34 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182212 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: error Cannot create cookie: path = /
This is the only cooke being created by CF: cfif IsDefined(cookie.cfid) AND IsDefined(cookie.cftoken) cfset localCFID = cookie.cfid cfset localCFTOKEN = cookie.cftoken cfcookie name=CFID value=#localCFID# cfcookie name=CFTOKEN value=#localCFTOKEN# /cfif Other than this, I have a cookie test but that is in javascript. Could the problem simply be that the cookie test is taking place after the cfcookie tag and those users are not allowing the cookie? I'm not sure what your cookie test is doing. However, rather than writing the cookies for each page request, you could do something like this instead: cfapplication ... setclientcookies=no cfif not IsDefined(Cookie.CFID) cfcookie name=CFID value=#Session.CFID# cfcookie name=CFTOKEN value=#Session.CFTOKEN# /cfif Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=37 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182218 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
Re: error Cannot create cookie: path = /
That wasn't the test, that simply resets the cookie on close of browser so that the client is logged out automatically on browser close. I didn't show the test because it is a javascript test which should not bother JRun. Rich On Thu, 21 Oct 2004 12:51:47 -0400, Dave Watts [EMAIL PROTECTED] wrote: This is the only cooke being created by CF: cfif IsDefined(cookie.cfid) AND IsDefined(cookie.cftoken) cfset localCFID = cookie.cfid cfset localCFTOKEN = cookie.cftoken cfcookie name=CFID value=#localCFID# cfcookie name=CFTOKEN value=#localCFTOKEN# /cfif Other than this, I have a cookie test but that is in javascript. Could the problem simply be that the cookie test is taking place after the cfcookie tag and those users are not allowing the cookie? I'm not sure what your cookie test is doing. However, rather than writing the cookies for each page request, you could do something like this instead: cfapplication ... setclientcookies=no cfif not IsDefined(Cookie.CFID) cfcookie name=CFID value=#Session.CFID# cfcookie name=CFTOKEN value=#Session.CFTOKEN# /cfif Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=35 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182230 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54