> You're running into this problem with
> two instances on a single machine? I've
> only seen it when session data is
> replicated across machines. Are you
> putting a lot into the session scope?
> Are you using JRun clustering, or web
> server clustering? Are you sure that
> the CPU usage is being caused by session
> data replication? Maybe you simply don't
> have enough resources for two instances.
2 instances on one machine. Lots of users. F5 ordering is in the works, but
could be weeks off. Lots of stuff in the session scope, it's the only way we
can get our app to work the way it absolutely needs to (don't ask). The box
is pretty beefy, dual 2+GHz, 4+GB ram, Raid 5 (i don't have lots of
specifics), Win2k. We're using server connection clustering, that is, one
jrun server, 2 coldfusions installed on it, set to cluster in the JMC and
the single cluster is set to run one web site via wsconfig. The cpu on our
non-j2ee non-clustering standard CFMX box was at like 5%-15% cpu max. We
upgraded for stability, and it did work, somewhat.
> If you really think that session
> replication is the problem, you probably
> don't want to use session data, or you
well, we could avoid session data by placing stuff in the application scope,
but then I won't have that data on my next request.
> don't want to use clustering. I would
Then my site will certainly crash, and more often, just like it did with
cfmx pro standalone.
> advise against having some data
> replicated and other data not replicated,
> depending on whether it's in a CFC
> instance or not.
What's your reasoning behind that?
> I don't know of any way using JRun
> clustering to enforce "sticky" sessions -
> that's typically done with web server
> clustering by having the cluster manager
> issue a cookie at each initial request,
> and redirect future requests to each
> server depending on the cookie value.
That's too bad that Jrun can't sticky the sessions. So is it your
recommendation to get a clustering device/load balancer, use sticky sessions
and only cluster a minimal set of data across servers?
-nathan strutz
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

