Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-26-2011, 11:16 PM
|
#1
|
LQ Newbie
Registered: Apr 2011
Posts: 6
Rep:
|
Connection loss on Overload
Hi,
Im still newbie on linux and i'm recently tried to move my server from win xp to ubuntu, but Idk why
when there is a lot connection it kind of automatically cut off all the connection,
I am using Ubuntu 10.10,w/ glassfish+MySQL
plz help
|
|
|
04-27-2011, 04:32 AM
|
#2
|
Senior Member
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
|
Hi!
How many connections? What connections (HTTP/FTP/...) What hardware do you use? If you're (a bit) like me (experimental) and used an old(er) box, you may have to throttle back a bit...
What JDK/JRE do you use? Latest, it needs 1.6...
Glassfish
You wil possibly use the community version...what are the restrictions? Up to how many connections can that go? Would Apache be an option?
More questions, but we need a bit more to help, here. Unless these "questions" helped already
Thor
|
|
|
04-27-2011, 10:13 PM
|
#3
|
LQ Newbie
Registered: Apr 2011
Posts: 6
Original Poster
Rep:
|
Sorry for the incomplete info
its around 20+ connection, Http connection
my box is
intel dual core,3.2Ghz
RAM 1G
This is my jdk and jre
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.7) (6b20-1.9.7-0ubuntu1)
OpenJDK Client VM (build 19.0-b09, mixed mode, sharing)
umm . . .
I dunno how to see the restriction on glassfish
can I config it?
I'll try using apache and sorry for noob question
Last edited by sacrow; 04-28-2011 at 12:20 AM.
|
|
|
04-28-2011, 03:55 AM
|
#4
|
Senior Member
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
|
Quote:
and sorry for noob question
|
Do not ever appologise for asking a question !
That is what this forum is all about! You should see the questions I posted way back when...dont worry...we're all here to help.
Quote:
This is my jdk and jre
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.7) (6b20-1.9.7-0ubuntu1)
OpenJDK Client VM (build 19.0-b09, mixed mode, sharing)
|
Okay, so I assume this is a physically separate box (the "cleanest" way - in my opinion) and I see two JDK's, let's find out what Java is "in the cup" at the moment...heres how
In the console enter
to see what Java is being used and where it comes from. Next, let's see what flavor it is:
I suspect the IceTea (for all its credits, of course) is tripping...but, le's w8-n-c
Thor
|
|
|
04-28-2011, 04:38 AM
|
#5
|
LQ Newbie
Registered: Apr 2011
Posts: 6
Original Poster
Rep:
|
Thanks Thor
here is what return
/usr/bin/java
here is what return
/usr/bin/javac
and
Quote:
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.7) (6b20-1.9.7-0ubuntu1)
OpenJDK Client VM (build 19.0-b09, mixed mode, sharing)
|
is what I got from
|
|
|
04-28-2011, 05:49 AM
|
#6
|
Senior Member
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
|
Hmmokay...
You use IceTea all the way, as you may have noticed. Let's see if we can get the Sun JRE in the game, you'll have to set the "alternatives" - there is a GUI for it, just to make things a bit easier...
Where it may boil down to is that you'll need to give the Sun JRE a higher number in the ranking. There is more background, but this is seen from the console point...
Let's see where we end up. To check - but you know thins now - repeat the steps you've just done. The Sun JRE should pop up in the result instead...
I'll watch this thread to see where we end up
Thor
Last edited by ButterflyMelissa; 04-28-2011 at 05:55 AM.
|
|
|
04-30-2011, 10:50 AM
|
#7
|
LQ Newbie
Registered: Apr 2011
Posts: 6
Original Poster
Rep:
|
Sorry thor can't reply for a while, got something came up
I'll try what you suggested on monday
|
|
|
04-30-2011, 01:44 PM
|
#8
|
Senior Member
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
|
No sweat! Try to enjoy the weekend!
Thor
|
|
|
05-02-2011, 10:49 PM
|
#9
|
LQ Newbie
Registered: Apr 2011
Posts: 6
Original Poster
Rep:
|
Uhhh
Thor I think someone told me its bcoz my box not strong enough
I'll test it for now
although looking from the update for ubuntu 11.04 there is something from icetea about the connection thingy
Last edited by sacrow; 05-02-2011 at 11:30 PM.
|
|
|
05-03-2011, 11:56 AM
|
#10
|
Senior Member
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
|
Quote:
Thor I think someone told me its bcoz my box not strong enough
|
Hmm, you could be on to something, here...did you check the requirements before diving into the swimming pool?
Thor
|
|
1 members found this post helpful.
|
05-10-2011, 03:05 AM
|
#11
|
LQ Newbie
Registered: Apr 2011
Posts: 6
Original Poster
Rep:
|
Thor. . .
I tried to install glassfish v2 enterpise edition instead of glassfish3 open source edition
and upgrade my box.
I haven't encountered any connection , for now . .
Thanks for the problem thor
|
|
|
05-10-2011, 03:29 AM
|
#12
|
Senior Member
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
|
Quote:
I haven't encountered any connection , for now . .
|
Glad to read this!
Have fun!
You're welcome!
Thor
|
|
|
All times are GMT -5. The time now is 09:08 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|