Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Azureus causes multiple java instances.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
thedguy
n00b
n00b


Joined: 27 Nov 2005
Posts: 7

PostPosted: Wed Aug 09, 2006 10:01 pm    Post subject: Azureus causes multiple java instances. Reply with quote

I made several attempts to search this nothing came up. Over the course of a past few months

I'm not even sure what all to post. I've been using linux on and off for a few years, but for the most part am still a beginner.

What happening is Azureus only shows once on the screen, but when I run "ps ax | grep java" I get:

Code:
6169 tty1     S    265:58 /usr/lib/jvm/sun-jdk-1.5/bin/java -classpath /usr/share/bcprov/lib/bcprov.jar:/usr/share/commons-logging/lib/commons-logging.jar:/usr/share/swt-3/lib/swt.jar:/usr/share/junit/lib/junit.jar:/usr/share/log4j/lib/log4j.jar:/usr/share/azureus/lib/Azureus2.jar:/usr/share/commons-cli-1/lib/commons-cli.jar -Djava.library.path=/usr/lib org.gudy.azureus2.ui.swt.Main
 6192 tty1     S      3:18
 6193 tty1     R    232:07
 6194 tty1     S      0:04
 6195 tty1     S      0:06
 6196 tty1     S      0:00
 6197 tty1     S      0:17
 6198 tty1     S      0:00
 6199 tty1     S      0:02
 6203 tty1     S      0:11
 6204 tty1     S      0:12
 6205 tty1     S      0:20
 6206 tty1     S      0:00
 6207 tty1     S      1:59
 6208 tty1     S      4:12
 6209 tty1     S      4:38
 6210 tty1     S      2:36
 6211 tty1     S      0:00
 6213 tty1     S      0:00
 6214 tty1     S      0:10
 6215 tty1     S      0:00
 6216 tty1     S      0:22
 6217 tty1     S      0:16
 6218 tty1     S      0:00
 6220 tty1     S      0:00
 6221 tty1     S      2:28
 6224 tty1     S      0:00
 6228 tty1     S      0:00
 6230 tty1     S      0:00
 6236 tty1     S      0:06
 6238 tty1     S      0:00
 6246 tty1     S      0:05
 6250 tty1     S      0:10
 6256 tty1     S      0:01
 6263 tty1     S      0:01
 6269 tty1     S      0:00
 6277 tty1     S      0:02
 6280 tty1     S      0:02
 6291 tty1     S      0:44
 6296 tty1     S      0:00
 6313 tty1     S      5:05
 6318 tty1     S      0:00
 6320 tty1     S      0:04
 6322 tty1     S      0:00
 6325 tty1     S      0:00
 6330 tty1     S      0:06
 6343 tty1     S      0:30
 6347 tty1     S      0:00
 6352 tty1     S      1:12
 6478 tty1     S      0:05
 6509 tty1     S      0:03
 6819 tty1     S     19:11
 8684 tty1     S      0:02
 9831 tty1     S      0:10
 9832 tty1     S      1:03
 9838 tty1     S      0:00
 9840 tty1     S      0:00
 9841 tty1     S      0:04
 9842 tty1     S      0:00
 9844 tty1     S      0:00
 9848 tty1     S      0:30
 9850 tty1     S      7:54
 9910 tty1     S      0:04
11709 tty1     S      0:00
 1882 tty1     S      0:05
29175 tty1     S      0:00
29363 tty1     S      0:00
29367 tty1     S      0:00
29369 tty1     S      0:00
29379 tty1     S      0:00
29380 tty1     S      0:00
29382 pts/0    R+     0:00 grep java


All the others show exactly the same command, as the first one.
Overtime it adds more and more, regardless of the number of torrents, and as it does it gets slower and slower no matter what. It does seem to kill off some instances, but it puts them right back again.

I'm running the latest java/azureus (just updated the other day, I try and make sure it's upto date every month).
Keep in mind I've had this problem no matter what version of azureus or java (i'm currently using sun, but have triend blackdown).

This box's sole purpous is to run azureus, and a couple of samba shares, and an NFS share. The machine is only a Celeron 633 with 256 megs of ram.
Kernel is 2.6.14-gentoo-r5

Any and all info/help would be much appreciated. If this is just natural, i'm fine with it, but I'd love to get it to stop slowing down.

Thanks in Advance,
Dustin
Back to top
View user's profile Send private message
sfragis
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2005
Posts: 95
Location: RE < IT < Europe

PostPosted: Wed Aug 09, 2006 10:22 pm    Post subject: Reply with quote

That's weird at all! As I'm writing Azureus is running on my box and "ps ax | grep java" shows only:
Code:

 7157 ?        Sl     0:54 /usr/lib/jvm/sun-jdk-1.5/bin/java -Xms16m -Xmx128m -cp .:/home/fabio/azureus/Azureus2.jar:/home/fabio/azureus/swt.jar -Djava.library.path=/home/fabio/azureus -Dazureus.install.path=/home/fabio/azureus org.gudy.azureus2.ui.swt.Main
 7525 pts/0    R+     0:00 grep java

Have you tried installing the Azureus precompiled package from http://azureus.sf.net instead of the ebuild?
Forgive me the silly question :oops: : how do you run Azureus from command line?
_________________
Regards
Fabio Strozzi
Back to top
View user's profile Send private message
thedguy
n00b
n00b


Joined: 27 Nov 2005
Posts: 7

PostPosted: Thu Aug 10, 2006 1:53 am    Post subject: Reply with quote

I don't run it from the command, that just seems to be what shows up when I execute /usr/bin/azureus

I know I used to run the azereus-bin ebuild.
Same problem, though the command showed up differently in the ps list.

I'll try the one from source forge.

edit: tried the precompiled binary from soureforge, no luck.
Back to top
View user's profile Send private message
sfragis
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2005
Posts: 95
Location: RE < IT < Europe

PostPosted: Thu Aug 10, 2006 9:03 am    Post subject: Reply with quote

I'm not sure but, what does not make sense (apart from so many lines with the same process) is just the tty terminal: AFAIK Azureus must be run from within X.org and the control terminal should be pts/N (or none at all) but not ttyN. So, next silly question: is Azureus running in X? 8O
_________________
Regards
Fabio Strozzi
Back to top
View user's profile Send private message
jure1873
Apprentice
Apprentice


Joined: 09 Feb 2006
Posts: 183

PostPosted: Thu Aug 10, 2006 9:16 am    Post subject: Reply with quote

I've got about 40 of them now and they are multiplicating! :)
The thing that bothers me is that ps and top become very hard to use with so many (useless?) processes. Its nice that you can hide them all at once in ksysguard.

I don't think that the terminal type is the problem here because you can run azureus form x or from the console as a daemon and telnet to it or use the web interface.
Back to top
View user's profile Send private message
sfragis
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2005
Posts: 95
Location: RE < IT < Europe

PostPosted: Thu Aug 10, 2006 9:49 am    Post subject: Reply with quote

jure1873 wrote:
I don't think that the terminal type is the problem here because you can run azureus form x or from the console as a daemon and telnet to it or use the web interface.

Ok, I admit my ignorance, didn't know of such features :o .
_________________
Regards
Fabio Strozzi
Back to top
View user's profile Send private message
thedguy
n00b
n00b


Joined: 27 Nov 2005
Posts: 7

PostPosted: Thu Aug 10, 2006 4:35 pm    Post subject: Reply with quote

Mine is showing in X.

I have a very basic server that just runs X with VNC.

Though odly enough after grabbing the binary from SF it seems to run a bit better, but it also hasn't ran for days on end.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum