Re: Application Freezes!
Re: Application Freezes!
- Subject: Re: Application Freezes!
- From: James Cicenia <email@hidden>
- Date: Sat, 5 Nov 2005 08:36:25 -0600
Sure made me laugh!
Anyway, our little startup company is growing and our Mac Mini has
been holding up remarkably. However, it does look so small and lonely
at the co-location facility! Well, because of politics, and vendor
alliances, I have to port the deployed app to IBM Xseries. Of course,
that does not address my freeze. My freeze has only happened twice,
so, I think it must be a deadlock and will take measures to find it,
ala, p. 92, etc.
My next question is briefly how do the multiple instances work? Does
the same session go to the same instance? What manages that? The
Apache adaptor? If I go to jBoss, can I run multiple instances again?
Finally, where does one enable concurrent request handling?
I need to gather a lot of this information and debug my current
module while it is in beta. It has been great champ up until this
latest issue.
- James Cicenia
On Nov 4, 2005, at 11:30 PM, Chuck Hill wrote:
I have to admit that I found Helge's comments pretty funny.
Perhaps that is why Apple is keeping WO around, the next iPod will
be an iSite. :-P
That said, I know of number of people successfully deploying lower
volume sites on Mac Minis. If the app is well written, tuned, and
not doing too much data intensive stuff you should be able to run
two or three instances comfortably, have concurrent request
handling enabled, and keep response times in the sub-second range.
Buy four and you can have one sharing web server and app hosting,
one covering the database, and two dedicated to serving apps. That
gives you probably at least 7 instances spread over 2.5 GB (2.5 X
1GB machines). I'd be interested to see what kind of throughput
that could handle. I'd bet it would be pretty impressive for the
price.
Chuck
On Nov 4, 2005, at 4:35 PM, Miguel Arroz wrote:
Hi!
Well, I still have no experience (if everything goes well, I
will have in some monts) but a Mac Mini looks like a great server
for a startup company. Why?
1) It's cheap. You are starting, you do not want to spend 3000
bucks in hardware.
2) It's powerful. Ok, it's not an all-powerful dual G5 server,
but it can handle it for some time. With 1 GB of RAM, it should be
cool (there are hosting services offering 256 MB for your app,
so...).
3) It's cool to have redundancy. Again, for a startup, it's hard
to buy two xServes. It's not hard to buy 2 or even 3 minis. Even
with the OS X Server cost, it's still a lot cheap, and offers
redundancy (and load balance).
Of course, you will not run Apple Store on minis... but for a
startup company, why not? Mini can handle 1 or 2 requests a
second... again, some hosting services are offering WO deployment
on machines with G4 @ 1 Ghz... Mini rocks compared to that!
Yours
Miguel Arroz
On 2005/11/05, at 00:26, Helge Staedtler wrote:
perhaps you should just turn on *some* logging.
often just 5 scattered System.out.println's will give you an idea
of "where"
your app (and which app-instance) hangs. for this you need to
configure a
ppath where to write a logfile. and yeah, page 92 would be indeed
a good
start. :-)
mysql, mac mini with 1GB & tiger server... what kind of contest
are you
taking, "webobjects pico"? are iPod nanos an allowed/valid target-
hardware
for it or does my iPod shuffle also qualify? ;-)
regards,
helge
Am 04.11.2005 22:14 Uhr schrieb "James Cicenia" unter
<email@hidden>:
Well -
This has just started to happen now that we launched a new module
that is more transaction intensive. Our concurrent users have also
been boosted. It is mySQL on a Mac Mini runing TigerOSX Server with
1Gig. Don't laugh, amazing it has gone this far! I will try turning
on another instance and see. There was nothing in my log files...
they just stopped with nothing out of the ordinary.
Anyway my next step is to move deployment to Linux. Any suggestions
here? Redhat? JavaMonitor or jBoss? Licensing?
James Cicenia
On Nov 4, 2005, at 3:01 PM, Chuck Hill wrote:
On Nov 4, 2005, at 12:51 PM, Miguel Arroz wrote:
Any thoughts? Do I need to create multiple instances now? I
only
have one
instance currently.
We very rarely run a single instance.
Is there any advantage in running more than one instance on the
same server?
Advantage? We only run a single instance if we are desperate for
memory! Running multiple instances allows you to process higher
loads (EOF is only single threaded within the instances) and
provides for much better availability. With only a single
instance, if you recycle it your site is out until it
restarts. As
single instance is only for memory starved machines and very low
traffic sites.
Chuck
--
Coming in 2006 - an introduction to web applications using
WebObjects and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve
specific
problems. http://www.global-village.net/products/
practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40jimijon.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40web.de
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40guiamac.com
This email sent to email@hidden
"The world lies in the hands of evil
And we pray it would last" -- Apocalyptica, Life Burns!
Miguel Arroz
http://www.ipragma.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Coming in 2006 - an introduction to web applications using
WebObjects and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/
practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40jimijon.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden