Web Hosting Forum | Lunarpages
News: October 6, 2008 - Submit Your Site for the October 2008 Site of the Month!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 06, 2008, 12:38:11 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Experiences VPS when using Java/Tomcat  (Read 576 times)
wbervoet
Trekkie
**
Offline Offline

Posts: 12


WWW
« on: April 17, 2007, 02:46:31 AM »

Hi,

I'm currently hosting 2 JSP sites on Lunarpages shared environment (uses Resin 2.x). As I regurarly get:

Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

... for eg 10 minutes I'm wondering if a move to VPS hosting would make these downtimes go away (the downtimes are always for the Resin server, not my phpBB forum)

I'm also wondering about the speed of the VPS hosting (my site uses JSP - MySQL and Resin JDBC connectionpooling for the datasource)

If someone can share some experiences that would be great Smile

Thanks,
Wim
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1048



« Reply #1 on: April 17, 2007, 10:48:02 PM »

Hello Wim,

VPS is not suitable for heavily use of JSP due to a limited number of resources and memory. Although, if your JSP sites are not very active,  you may try it.

As for the Resin instability on the shared plan, can you please email support@lunarpages.com about this issue, so that we could look into this issue further.

Thanks!
Logged

Kind Regards,
Vlad Artamonov
MitchSchaft
Space Explorer
***
Offline Offline

Posts: 8


« Reply #2 on: April 19, 2007, 05:55:51 PM »

Ask them for your average CPU usage. You're allowed up to 4% on the VPS. I'm running a medium sized phpbb board and I don't use over .1 to .3% average.

Although, I was forced to switch to a VPS because I was being told I was using up to 2% of the CPU on average from my old shared account. I don't get near 2% on the VPS so I feel slightly tricked.

Other than that, I love the VPS option. I bet it would do fine for your site.
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1048



« Reply #3 on: April 19, 2007, 08:58:31 PM »


Let me to correct MitchSchaft. Unfortunately, it is not possible to get usage for JSP scripts because all Java applications run under the same user. So it is still up to you decide if your JSP sites would be suitable for VPS.
Logged

Kind Regards,
Vlad Artamonov
wbervoet
Trekkie
**
Offline Offline

Posts: 12


WWW
« Reply #4 on: April 23, 2007, 11:16:14 AM »

Hi,

Thanks for the info already given. I find it a bit strange that a cheaper shared account with JSP/Resin would be more suited then a VPS option where you should have less people on the server, thus more resources (cpu&mem) available  Confused

I'm currently averaging around 3000-4000 unique visitors a day ... I don't know if that is very active or not Smile

From the KB: "Each VPS limited by 512 Megabytes of RAM and gets guaranteed 1/25th of total processors power. However, if the processors are not busy, the account can use some more CPU resources."

On first sight 512MB should be more then enough for me, my JSPs/Javas are not memory intensive as almost nothing is stored in the session. For PHP (eg. phpBB2) I don't know what the memory requirements are; but I guess it's less resource intensive.

Wim
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1048



« Reply #5 on: April 25, 2007, 03:22:58 AM »

Hi,

Shared servers are very powerful, however, you will be allowed to utilize only a small peace of the shared server resources on shared plan because the server is used by hundreds of customers.

You can use all resources available for VPS server and get administrator access to it, these are the main benefits of the VPS plan.

As for the main question of this topic, after you provided the stats, I would call your site rather popular. However,  I think you may try VPS, some our customers are happy with their forums running in virtual server environment.

I hope this helps.
Logged

Kind Regards,
Vlad Artamonov
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM