Re: CF10 creating extra CFID/CFTOKEN cookies at the domain level

2014-10-02 Thread John Pullam
Some more info: - I have not issued a setclientcookies=yes so assuming that is the default it should be there. - the redirect is via an htaccess file which says RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] - I think the redirect

Why this regex takes so long?

2014-10-02 Thread Claude Schnéegans
Hi, I'm having a problem with a scheduled task that chokes my server. Its role is to analyse bounced messages. I have been able to identify where it blocks, when analysing a line like this one with the regex below: Message-id: 26823262.22036.1411993378646.JavaMail.NS4007563$@127.0.0.1 CFSET

Re: Getting memory amount used

2014-10-02 Thread Claude Schnéegans
Might be able to get this using Java. Thanks, I'll dig into this. I thought that my server chokes because of lack of memory, but I finally found that it was because of an infinite time taken in a regExp analysis. I just dropped a post about this.

Re: Why this regex takes so long?

2014-10-02 Thread Byron Mann
Think this has something to do with the Regex itself. I stink at them; however try plugging it in here: http://regex101.com/ It returns something about catastrophic backtracking. You may want something like this: [A-Z0-9]*@ On Thu, Oct 2, 2014 at 11:51 AM, wrote: Hi, I'm having a problem

Re: Why this regex takes so long?

2014-10-02 Thread Claude Schnéegans
however try plugging it in here: It gives me the same result: Timout for PHP and Python (after about 3 sec) and a result in Javascript in about 4 sec, because it happens in my computer and there is no time out. It looks like the problem is really in the regEx itself. I'll try to get another

CF11 Licensing - 2 servers behind load balancer

2014-10-02 Thread Dan LeGate
Okay, if I have a single site, being run on two or more virtual (vmware) servers behind a load balancer, does each server need a license? Or does one license cover the site? Thanks! ~| Order the Adobe Coldfusion Anthology

Re: CF11 Licensing - 2 servers behind load balancer

2014-10-02 Thread Wil Genovese
IANAL - As I understand it if one server is just failover then you only need one license. If both servers are active then you need two. Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Oct 2, 2014, at

Re: CF11 Licensing - 2 servers behind load balancer

2014-10-02 Thread Russ Michaels
as they are virtual, if you have enterprise license then you are covered as long as you are within the CPU/core requirements. On Thu, Oct 2, 2014 at 8:15 PM, Dan LeGate d...@legeek.com wrote: Okay, if I have a single site, being run on two or more virtual (vmware) servers behind a load

Re: CF11 Licensing - 2 servers behind load balancer

2014-10-02 Thread Wil Genovese
as they are virtual, if you have enterprise license then you are covered as long as you are within the CPU/core requirements. And this is why I hate licensing agreements. You need a lawyer to understand it and another lawyer to tell you you got it wrong. 😉 Why does it have to be so

RE: CF11 Licensing - 2 servers behind load balancer

2014-10-02 Thread UXB Internet
Why does it have to be so complicated? Money. Dennis Powers UXB Internet - A website Design and Hosting Company P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844 W: http://www.uxbinternet.com W: http://www.ctbusinesslist.com

RE: CFML restart ACF 10 app server service

2014-10-02 Thread UXB Internet
we have a scheduled task setup to restart CF every morning. Since we have done this we have hardly any cf issues any more. Wow! How far we have come, he says with great sarcasm, it harkens back to the good old CF4 on NT server days. Dennis Powers UXB Internet - A website Design and

Re: CFML restart ACF 10 app server service

2014-10-02 Thread Russ Michaels
except we rarely had any such issues with cf4/5, it ran like a dream compared to CF6+, which is down to java On Thu, Oct 2, 2014 at 8:59 PM, UXB Internet denn...@uxbinternet.com wrote: we have a scheduled task setup to restart CF every morning. Since we have done this we have hardly any

Re: CFML restart ACF 10 app server service

2014-10-02 Thread Wil Genovese
If you are having to do regular restarts for server stability then there is definitely something wrong. At CF Webtools we have work with a large number of clients on CF10 that have very high load websites. None of them need regular restarts anymore. We are experts at rooting out server

Re: CFML restart ACF 10 app server service

2014-10-02 Thread Russ Michaels
so just to clarify, these are servers with hundreds of different websites and customers on right ? not just 1 client/app per server? which is easy to tune On Thu, Oct 2, 2014 at 10:09 PM, Wil Genovese jugg...@trunkful.com wrote: If you are having to do regular restarts for server stability

Re: CFML restart ACF 10 app server service

2014-10-02 Thread Wil Genovese
Russ, I love those types of challenges! Yes, I have stabilized very large shared hosting ColdFusion 10 servers. Even some with hundreds of websites. It can be true that it’s not always as easy to do, but I know it can be done. Of course one of the best bangs for the buck is to buy Fusion

Re: CFML restart ACF 10 app server service

2014-10-02 Thread Claude Schnéegans
None of them need regular restarts anymore. If you do need restart, it could be because you have a problem in your code. I have a task scheduled every 2 hours, it scans mail rebounces with regular expressions and who knows why, after one year with no problem, I recently got a certain string

Re: CFML restart ACF 10 app server service

2014-10-02 Thread Russ Michaels
we have been using FR for years. The primary issue we have on shared servers is hung database queries, which causes all coldfusion requests to be used up until there are none left, and cf will then stop serving up pages to any new requests. There are so many things that can cause this, especially