| View previous topic :: View next topic |
| Author |
Message |
ninja Servelocity Staff
Joined: 20 Nov 2004 Posts: 1748 Location: Servelocity.net
|
Posted: Thu Dec 23, 2004 1:10 am Post subject: |
|
|
Go on... It will be fine.
Phew... So long as our clock isn't out 17 secs... perish the thought!
Servelocity Servers are used a lot as development environments including by ourselves! I'm glad it's working well for you.
Issue was simply us forgetting to double check the allocation directed for use was taken by the server and the config was updated before passing it to customer for test!
Dave/Yuri if you read this the solution is :
0) identify parameter exceeded from counter
1) set new vm parameter for customer server with save option
2) stop customer server
3) start customer server
4) check counters for memory allocation against alloc in (1)
5) if new parameter is not saved then re set alloction and stop/start customer server
6) test customer server with remote exec of test command provided by customer -- if memory allocation not sufficient check guidelines and adjust/request authority as required
7) ask customer to test and report back
Parameters will then survive reboot indefinitely.
I will bring up the default values with Management.
Let us know how you get on with the new allocation through
# reboot.
- Chris |
|
| Back to top |
|
 |
:LJ:
Joined: 21 Dec 2004 Posts: 426
|
Posted: Thu Dec 23, 2004 2:37 am Post subject: |
|
|
Chris, you're not going to believe this. I removed the old instance of Tomcat 4 (it kept hanging on startup), and installed Tomcat 5. Everything was fine (even managed to get the admin app running, and started to configure the webapps), apart from the fact that I couldn't run the shutdown script for it (kept running out of memory) - same happened on Tomcat 4. So, no problem thinks me, I'll just reboot. After all, it should keep the same memory settings, right?
Reboot, BANG! Lost the memory again. Actually, I tried a reboot, and completely lost all communication - it didn't come back up.
Any last ideas, or should I just give up and run this thing as an FTP server? If I can get something working, I should be putting a few more apps on there, which means that I'll be upgrading, but for the time being it's a little out of budget, if you get my meaning.
EDIT : Just saw this thread :
http://boards.servelocity.net/viewtopic.php?t=46
What's this template thingummy, and is it going to cost me to get it installed? Is it even appropriate in this case? |
|
| Back to top |
|
 |
ninja Servelocity Staff
Joined: 20 Nov 2004 Posts: 1748 Location: Servelocity.net
|
Posted: Thu Dec 23, 2004 11:51 am Post subject: |
|
|
thingummy? Currently there are no charges for templates.
As for memory. My hunch is that a recent patch has a security feature ensuring that memory allocated hasn't been adjusted in such a way as we've done but instead agrees with a plan or a database setting or file to which it is set back.
I've asked our developers to investigate. Hopefully we should hear back shortly so this can be set once and for all.
Please give us a few days to look at this due to Christmas.
As for java/tomcat templates we do have these.
They are as follows :
Tomcat is v. 4.1.30
Java is :
JDK 1.4.2_04
JRE 1.4.2_04
JRun4 4.0
-Servelocity |
|
| Back to top |
|
 |
ninja Servelocity Staff
Joined: 20 Nov 2004 Posts: 1748 Location: Servelocity.net
|
Posted: Thu Dec 23, 2004 11:51 am Post subject: |
|
|
| By the way it would be wise to remove old java/tomcat installs before we apply a template |
|
| Back to top |
|
 |
ninja Servelocity Staff
Joined: 20 Nov 2004 Posts: 1748 Location: Servelocity.net
|
Posted: Thu Dec 23, 2004 4:11 pm Post subject: |
|
|
Developers confirmed settings from the database override our adjusted values on restart.
We have now set them in the database also for you.
- Servelocity |
|
| Back to top |
|
 |
:LJ:
Joined: 21 Dec 2004 Posts: 426
|
Posted: Thu Dec 23, 2004 8:08 pm Post subject: |
|
|
You, sir, are a hero
Seriously though, thanks a lot for the help. I don't know many hosting companies who'd put this much effort into keeping a £9.95/month customer. When I expand, I doubt I'll be moving
NOTE : to anyone viewing this from the front page, please note that the situation has changed. Servelocity support appear to have left the building. Nobody's really had any contact with them for months. Performance is still good, and downtime is far less than it used to be, but if you need mission-critical support then this isn't the place for you.
Last edited by :LJ: on Tue Apr 25, 2006 2:13 pm; edited 1 time in total |
|
| Back to top |
|
 |
ninja Servelocity Staff
Joined: 20 Nov 2004 Posts: 1748 Location: Servelocity.net
|
Posted: Thu Dec 23, 2004 11:09 pm Post subject: |
|
|
Thanks for the kind words.
If you find you need any more memory give us a shout.
I know tomcat is very memory-hungry.
Also if you have success installing Tomcat and Java from scratch it'd be fantastic to have some info on that up here in the community from someone who knows about java.
Personally I think a from source install is the best way to do this.
Have a great Christmas break - Servelocity |
|
| Back to top |
|
 |
:LJ:
Joined: 21 Dec 2004 Posts: 426
|
Posted: Fri Dec 24, 2004 7:50 am Post subject: |
|
|
No problem - I'm going to experiment with a few servlet engines and see which produces the best results, given the current memory profile. You've given me the gamers' profile, yes?
I'm going to take a look at Tomcat 4 & 5, Resin 2 & 3, Jetty (not sure which versions yet) and possibly a couple of others. I'll post when I've got some concrete results. |
|
| Back to top |
|
 |
:LJ:
Joined: 21 Dec 2004 Posts: 426
|
Posted: Fri Dec 24, 2004 9:45 pm Post subject: |
|
|
| OK, I'll do you a deal. If you rebuild my server a couple of times, I'll put together some installation instructions and memory/CPU usage stats for the more popular Java containers - Tomcat 4/5, Resin 2/3 and Jetty (possibly JBoss too, but I doubt that it'll run given my current memory constraints). Does that sound reasonable? |
|
| Back to top |
|
 |
ninja Servelocity Staff
Joined: 20 Nov 2004 Posts: 1748 Location: Servelocity.net
|
Posted: Sun Dec 26, 2004 3:29 pm Post subject: |
|
|
You're right about the memory.
Value wasn't really designed for tomcat/java by default.
We've eased your allowances so that you should now be able to run tomcat and other applications fine.
Sure we'll rebuild your server a few times if you like if you'll publish some info on installing java/tomcat for our users up here - maybe we can even update our java/tomcat templates so they can even be installed at a click :0
I'll be honest with you though we're a little short staffed over the next two weeks with staff holidays over the Christmas and new year period so it may take us a 1-2 days to get to your rebuild requests.
- Dave |
|
| Back to top |
|
 |
ninja Servelocity Staff
Joined: 20 Nov 2004 Posts: 1748 Location: Servelocity.net
|
Posted: Sun Dec 26, 2004 3:30 pm Post subject: |
|
|
| PS Does JBoss need more than tomcat? |
|
| Back to top |
|
 |
:LJ:
Joined: 21 Dec 2004 Posts: 426
|
Posted: Sun Dec 26, 2004 7:56 pm Post subject: |
|
|
Hehe....no problem with the no-rebuild situation over Christmas. To be honest with you, I probably won't need a rebuild at all, it was just in case I royally f**k my server over in trying to get it to work
JBoss does need more than Tomcat, because it's a J2EE server, rather than just JSP/servlets. In fact, its default installation uses Tomcat as the servlet engine.
Once I've done my benchmarks, I'd be happy to work with you on an optimised Java/Tomcat template. We've got the makings of a good community here, and I want to help out however I can.
If I might make a suggestion, I reckon you could attract a lot of customers by offering a Value+ server for a couple of quid more, which is rated to run Java/Tomcat. That way, you get to recoup some of the cost of the extra resources, and get more people through the door.
It might take me a couple of weeks to get the benchmarks etc published, because I'm going to write a basic webapp for deployment, which will use Struts/JSP, and so tests all the basics of a Java-based webapp (JSP, servlets, tag libraries and XML parsing). I know it's possible to run such a thing with Tomcat 5, because that's what I'm doing now. Watch this space  |
|
| Back to top |
|
 |
ninja Servelocity Staff
Joined: 20 Nov 2004 Posts: 1748 Location: Servelocity.net
|
Posted: Sun Dec 26, 2004 8:07 pm Post subject: |
|
|
that's great !
Any ideas on how much memory JBoss may need? 128? 196? or more?
I like the idea of a Value+ too...
Benchmarking Servelocity servers should go quite well as generally they are loaded at no more than 10% and the remaining 90% of the superservers is available to those who need it.
You may well come up against a few of the environment limits though which we'd have to work on with you to come up with a value+
Our templates are basically an rpm with a few extra tweaks/script installed on request with options available to be added to the control panel too.
Good luck and speak to you soon
All the best - Chris/Servelocity |
|
| Back to top |
|
 |
:LJ:
Joined: 21 Dec 2004 Posts: 426
|
Posted: Wed Jan 05, 2005 2:26 pm Post subject: |
|
|
OK, who put me on the front page? I charge for quotable comments, you know  |
|
| Back to top |
|
 |
ninja Servelocity Staff
Joined: 20 Nov 2004 Posts: 1748 Location: Servelocity.net
|
Posted: Thu Jan 06, 2005 9:34 am Post subject: |
|
|
Hey LJ - I actually did.
How are you getting on with java? Anything we can do to help?
- Chris / Servelocity  |
|
| Back to top |
|
 |
|