LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-26-2011, 11:16 PM   #1
sacrow
LQ Newbie
 
Registered: Apr 2011
Posts: 6

Rep: Reputation: 0
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
 
Old 04-27-2011, 04:32 AM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Hi!

Quote:
a lot connection
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
 
Old 04-27-2011, 10:13 PM   #3
sacrow
LQ Newbie
 
Registered: Apr 2011
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
Old 04-28-2011, 03:55 AM   #4
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
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

Quote:
which java
to see what Java is being used and where it comes from. Next, let's see what flavor it is:

Quote:
java -version
I suspect the IceTea (for all its credits, of course) is tripping...but, le's w8-n-c

Thor
 
Old 04-28-2011, 04:38 AM   #5
sacrow
LQ Newbie
 
Registered: Apr 2011
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks Thor

Quote:
which java
here is what return
/usr/bin/java

Quote:
which javac
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
Quote:
java -version
 
Old 04-28-2011, 05:49 AM   #6
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
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.
 
Old 04-30-2011, 10:50 AM   #7
sacrow
LQ Newbie
 
Registered: Apr 2011
Posts: 6

Original Poster
Rep: Reputation: 0
Sorry thor can't reply for a while, got something came up
I'll try what you suggested on monday
 
Old 04-30-2011, 01:44 PM   #8
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
No sweat! Try to enjoy the weekend!

Thor
 
Old 05-02-2011, 10:49 PM   #9
sacrow
LQ Newbie
 
Registered: Apr 2011
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
Old 05-03-2011, 11:56 AM   #10
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
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.
Old 05-10-2011, 03:05 AM   #11
sacrow
LQ Newbie
 
Registered: Apr 2011
Posts: 6

Original Poster
Rep: Reputation: 0
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
 
Old 05-10-2011, 03:29 AM   #12
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Quote:
I haven't encountered any connection , for now . .
Glad to read this!

Have fun!

Quote:
Thanks
You're welcome!

Thor
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Loss of network connection urmi208 Linux - Networking 1 03-05-2009 01:37 PM
Server Connection Loss carlosinfl Linux - Networking 3 02-24-2009 12:03 PM
Network Connection Loss And USB Connection Loss. Novatian Linux - Desktop 1 11-07-2008 03:09 PM
Need help diagnosing connection loss... breezewax Linux - Networking 3 09-29-2004 06:13 PM
networking connection loss dragon Linux - Networking 9 06-25-2003 09:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration