Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

azureus HELL

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
73 posts
  • Previous
  • 1
  • 2
  • 3
  • Next
Author
Message
Ast0r
Guru
Guru
Posts: 404
Joined: Tue Apr 11, 2006 4:04 pm
Location: Dallas, Tx - USA

  • Quote

Post by Ast0r » Tue Nov 07, 2006 7:29 pm

zgredek wrote:bittorrent wants to emerge ~20MB of stuff and packages I clearly don't want on my system
Clearly.
Top
zgredek
Apprentice
Apprentice
Posts: 186
Joined: Wed Jun 15, 2005 8:59 pm

  • Quote

Post by zgredek » Tue Nov 07, 2006 10:36 pm

Clearly, because I prefer to _fix_ before I clutter my system thoughtlessly with random Ast0r-told-it's-good software.

I did check azureus with current sun java - dies within the first 2 minutes :?

Any other comments?
Top
Dan Forever
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 79
Joined: Mon Jun 13, 2005 1:04 pm
Location: London, England

  • Quote

Post by Dan Forever » Wed Nov 08, 2006 7:29 pm

Q-collective wrote:
yngwin wrote:OTOH, Ktorrent has really improved lately, there isn't much what you will miss in the latest version.
Agreed.
Azureus has always been known for memory leaks since ever, and since the Azureus devs pride themselves for their clean java code, it only proofs that java really should be avoided in my humble opinion.
I apologise for being off topic but you can't get Memory leaks with a program created in java. The virtual machine that it runs on might leak, but not the java programs themselves.
Top
zgredek
Apprentice
Apprentice
Posts: 186
Joined: Wed Jun 15, 2005 8:59 pm

  • Quote

Post by zgredek » Wed Nov 08, 2006 9:29 pm

Dan Forever wrote:
Q-collective wrote:
yngwin wrote:OTOH, Ktorrent has really improved lately, there isn't much what you will miss in the latest version.
Agreed.
Azureus has always been known for memory leaks since ever, and since the Azureus devs pride themselves for their clean java code, it only proofs that java really should be avoided in my humble opinion.
I apologise for being off topic but you can't get Memory leaks with a program created in java. The virtual machine that it runs on might leak, but not the java programs themselves.
This is absolutely on topic. So, if you're so much a pro-java person could you please explain why my computer hangs (linux does hang?!)?
Top
Gergan Penkov
Veteran
Veteran
User avatar
Posts: 1464
Joined: Sat Jul 17, 2004 9:42 pm
Location: das kleinste Kuhdorf Deutschlands :)

  • Quote

Post by Gergan Penkov » Wed Nov 08, 2006 11:31 pm

Dan Forever wrote:
Q-collective wrote:
yngwin wrote:OTOH, Ktorrent has really improved lately, there isn't much what you will miss in the latest version.
Agreed.
Azureus has always been known for memory leaks since ever, and since the Azureus devs pride themselves for their clean java code, it only proofs that java really should be avoided in my humble opinion.
I apologise for being off topic but you can't get Memory leaks with a program created in java. The virtual machine that it runs on might leak, but not the java programs themselves.
Of course you could have memory leaks - well more bad memory management, you could create zillions of objects in some fancy container and never free them, it is a memory problem and a memory leak, as this program is designed to run for a long time....
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Top
ali3nx
l33t
l33t
User avatar
Posts: 732
Joined: Sun Sep 21, 2003 4:28 am
Location: Winnipeg, Canada
Contact:
Contact ali3nx
Website

  • Quote

Post by ali3nx » Wed Nov 08, 2006 11:49 pm

bittornado or bust :wink:
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!
Top
zgredek
Apprentice
Apprentice
Posts: 186
Joined: Wed Jun 15, 2005 8:59 pm

  • Quote

Post by zgredek » Thu Nov 09, 2006 3:33 pm

Gergan Penkov wrote:
Dan Forever wrote:
Q-collective wrote:
yngwin wrote:OTOH, Ktorrent has really improved lately, there isn't much what you will miss in the latest version.
Agreed.
Azureus has always been known for memory leaks since ever, and since the Azureus devs pride themselves for their clean java code, it only proofs that java really should be avoided in my humble opinion.
I apologise for being off topic but you can't get Memory leaks with a program created in java. The virtual machine that it runs on might leak, but not the java programs themselves.
Of course you could have memory leaks - well more bad memory management, you could create zillions of objects in some fancy container and never free them, it is a memory problem and a memory leak, as this program is designed to run for a long time....
Did azureus developers created 'zillions of objects in some fancy container and never free them' just to freeze some guy's computer? They say it well programmed, so, again, why it causes the machine to hang? Any way/software to check for memory leaks?

Thanks.
Top
drseergio
Apprentice
Apprentice
Posts: 236
Joined: Wed Sep 28, 2005 12:45 pm

  • Quote

Post by drseergio » Mon Nov 20, 2006 9:32 am

I experience these problems too, on ktorrent and azureus. After a while they totally crash my PC. If I use uTorrent (via wine) everything is just perfect. Any new ideas why this might be happening?
Top
drseergio
Apprentice
Apprentice
Posts: 236
Joined: Wed Sep 28, 2005 12:45 pm

  • Quote

Post by drseergio » Mon Nov 20, 2006 10:02 am

After using uTorrent intensivly it does crash too. Maybe it related to many open connection that linux cannot handle?

Added:

Now I figured out some other source of problem - it is not uTorrent causing problems - it is java... I was trying to work in NetBeans when this all happened so it is java who causes all problems. Currently I am using sun java 1.5, I will try to use blackdown vm.

Added:

Now I am not sure that my memory is OK, I will check with memtest86 and report later...
Top
zgredek
Apprentice
Apprentice
Posts: 186
Joined: Wed Jun 15, 2005 8:59 pm

  • Quote

Post by zgredek » Wed Nov 22, 2006 9:38 am

I don't think it's hardware/software problem we're talking about here anymore... Checked it with all the java versions I can possibly install and it does not help. Also my memory is correct. I have no idea what's going on! :roll:
Top
x22
Apprentice
Apprentice
Posts: 208
Joined: Mon Apr 24, 2006 10:19 am

  • Quote

Post by x22 » Wed Nov 22, 2006 10:08 am

User programs should not crash entire system.

So there mus be a problem in kernel or x server.

I didn't have such porblem with Azureus (2.4.0.2) but I stopped using it because of its slow GUI and switched to rtorrent (and now I stopped using torrents entirely).

Note: Java is not slow, Azureus is slow (unresponsive).
Top
drseergio
Apprentice
Apprentice
Posts: 236
Joined: Wed Sep 28, 2005 12:45 pm

  • Quote

Post by drseergio » Wed Nov 22, 2006 1:59 pm

I have finally found out what is the problem. It was a hardware problem (not ram though). I guess it was a problem with Intel PRO 1000 chip that hanged when a lot of connections were made. I went to University IT support desk to change my laptop to exactly the same one (I made backup with dd before going there). Today I made a stress test for 4 hours (usually it crashed after 1, or less) and everything is ok! You should check for hardware faults as well, because the kernel does not crash, machine just hangs. It might be a problem with chipset or memory or something else.

P.S. My laptop was labelled "lenovo" underneath, now it is "IBM". Case quality is much better!
Top
zgredek
Apprentice
Apprentice
Posts: 186
Joined: Wed Jun 15, 2005 8:59 pm

  • Quote

Post by zgredek » Thu Nov 23, 2006 10:21 pm

drseergio wrote:I have finally found out what is the problem. It was a hardware problem (not ram though). I guess it was a problem with Intel PRO 1000 chip that hanged when a lot of connections were made. I went to University IT support desk to change my laptop to exactly the same one (I made backup with dd before going there). Today I made a stress test for 4 hours (usually it crashed after 1, or less) and everything is ok! You should check for hardware faults as well, because the kernel does not crash, machine just hangs. It might be a problem with chipset or memory or something else.

P.S. My laptop was labelled "lenovo" underneath, now it is "IBM". Case quality is much better!
Thanks for the tip, drseergio, but I already checked 2 network cards (realtek and 3com), still the same. I checked ram some time ago and I don't think it's possible it _just_ broke down... Any more hints?
Top
drseergio
Apprentice
Apprentice
Posts: 236
Joined: Wed Sep 28, 2005 12:45 pm

  • Quote

Post by drseergio » Fri Nov 24, 2006 4:56 pm

Maybe the chipset is faulty? It really seems like a hardware fault. I had a chance to get an _exactly_ the same laptop so I copied my old system on the new and the problem went away. I had somesort similar problems on my old desktop machine, however the memory was ok - the memory controller was the source of problems. You should try changing system board if it is possible and see if problems go away.
Top
zgredek
Apprentice
Apprentice
Posts: 186
Joined: Wed Jun 15, 2005 8:59 pm

  • Quote

Post by zgredek » Fri Nov 24, 2006 6:19 pm

I changed the memory today - nothing.
Will search for a new board, but that's kinda weird it's working broken :roll:
Top
zxy
Veteran
Veteran
User avatar
Posts: 1160
Joined: Fri Jan 06, 2006 8:07 am
Location: in bed in front of the computer
Contact:
Contact zxy
Website

  • Quote

Post by zxy » Fri Nov 24, 2006 6:41 pm

I was wathching "top", while running azureus. After a while I exited azueus and still had 1G of 1G of ram used. No big programs, just fluxbox. Still all memory was used and mouse almost unresponsive, after a while system usualy freezes.

I guess java leaks, and it leaks like Amazon river.

I'm going back to ktorrent. I hope they made some improvements lately. If not, ordinary bittorrent should get its chance.
Last edited by zxy on Mon Nov 27, 2006 9:49 pm, edited 1 time in total.
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Top
Salius
n00b
n00b
Posts: 59
Joined: Tue Sep 26, 2006 11:05 pm
Location: ~/

  • Quote

Post by Salius » Fri Nov 24, 2006 8:47 pm

I am kinda new to linux but I will give this a shot...

Do you have a funky ACPI setup going on (hdd spinning down, system going into suspend mode could cause issues)? Does the lockup occur even if you're not leaving the system idle?
Checked crontab entries to see what is firing around the 1hr mark?

Also, very much a long shot.....but perhaps unmount your swapspace in the unlikely event it is the issue?

Sorry can't be of more help. I am used to troubleshooting Windows and only just had the time to dabble in Linux.
Top
zgredek
Apprentice
Apprentice
Posts: 186
Joined: Wed Jun 15, 2005 8:59 pm

  • Quote

Post by zgredek » Fri Nov 24, 2006 9:29 pm

Salius wrote:I am kinda new to linux but I will give this a shot...

Do you have a funky ACPI setup going on (hdd spinning down, system going into suspend mode could cause issues)? Does the lockup occur even if you're not leaving the system idle?
Checked crontab entries to see what is firing around the 1hr mark?

Also, very much a long shot.....but perhaps unmount your swapspace in the unlikely event it is the issue?

Sorry can't be of more help. I am used to troubleshooting Windows and only just had the time to dabble in Linux.
Yes, ACPI is on, always have been. No suspend.
The lockup actually occurs whatever the system is idle or under normal use. _But_ it looks like it hangs faster when under heavy load.
Crontab empty.

What do you mean but unmounting my swap? What is the connection?

Thanks for some suggestions, going to apply them.
Top
Salius
n00b
n00b
Posts: 59
Joined: Tue Sep 26, 2006 11:05 pm
Location: ~/

  • Quote

Post by Salius » Sat Nov 25, 2006 1:29 am

zgredek wrote:What do you mean but unmounting my swap? What is the connection?
My initial thinking on this was triggered by your commenting on no excessive memory usage, as is known to be the case with Azureus so I thought perhaps, for whatever reason, it is entirely depending on swap space as opposed to physical memory lending the application to any possible faults with the drive/partition you've set swap as.

Don't pay it too much mind :) Just my nutty thinking trying to help out on wtf is going on here.
Top
Dan Forever
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 79
Joined: Mon Jun 13, 2005 1:04 pm
Location: London, England

  • Quote

Post by Dan Forever » Sat Nov 25, 2006 11:38 am

zgredek wrote:
Dan Forever wrote:
Q-collective wrote:
yngwin wrote:OTOH, Ktorrent has really improved lately, there isn't much what you will miss in the latest version.
Agreed.
Azureus has always been known for memory leaks since ever, and since the Azureus devs pride themselves for their clean java code, it only proofs that java really should be avoided in my humble opinion.
I apologise for being off topic but you can't get Memory leaks with a program created in java. The virtual machine that it runs on might leak, but not the java programs themselves.
This is absolutely on topic. So, if you're so much a pro-java person could you please explain why my computer hangs (linux does hang?!)?
Oh no, you misunderstand, java should still be avoided (I'm a C/C++ man myself). I just felt impelled to correct a statement. Azureus locks my system up too. It sometimes does it after 5 minutes, sometimes it lasts a few hours. With Azureus off, my system stability is near rock solid.

Both using blackdown jdk and the sun jdk still results in crashes.
Top
zgredek
Apprentice
Apprentice
Posts: 186
Joined: Wed Jun 15, 2005 8:59 pm

  • Quote

Post by zgredek » Sat Nov 25, 2006 1:30 pm

Dan Forever wrote:
zgredek wrote:
Dan Forever wrote:
Q-collective wrote:
yngwin wrote:OTOH, Ktorrent has really improved lately, there isn't much what you will miss in the latest version.
Agreed.
Azureus has always been known for memory leaks since ever, and since the Azureus devs pride themselves for their clean java code, it only proofs that java really should be avoided in my humble opinion.
I apologise for being off topic but you can't get Memory leaks with a program created in java. The virtual machine that it runs on might leak, but not the java programs themselves.
This is absolutely on topic. So, if you're so much a pro-java person could you please explain why my computer hangs (linux does hang?!)?
Oh no, you misunderstand, java should still be avoided (I'm a C/C++ man myself). I just felt impelled to correct a statement. Azureus locks my system up too. It sometimes does it after 5 minutes, sometimes it lasts a few hours. With Azureus off, my system stability is near rock solid.

Both using blackdown jdk and the sun jdk still results in crashes.
So, it's java to blame, not azureus or hardware?

I'm not sure but what if gentoo hangs even with azureus turned off? 8O
Salius wrote: My initial thinking on this was triggered by your commenting on no excessive memory usage, as is known to be the case with Azureus so I thought perhaps, for whatever reason, it is entirely depending on swap space as opposed to physical memory lending the application to any possible faults with the drive/partition you've set swap as.
Hm, sounds logical but some errors should appear in the system log which is saying nothing at all.

BTW: How do I increase the number of messages written to the log (verbose mode or something?). Using syslog-ng.1
Top
Salius
n00b
n00b
Posts: 59
Joined: Tue Sep 26, 2006 11:05 pm
Location: ~/

  • Quote

Post by Salius » Sat Nov 25, 2006 9:59 pm

zgredek wrote: So, it's java to blame, not azureus or hardware?

I'm not sure but what if gentoo hangs even with azureus turned off? 8O
Yes, it is very likely Java to blame as opposed to Azureus, but it could be either at this point. Or neither for that matter :|
zgredek wrote:BTW: How do I increase the number of messages written to the log (verbose mode or something?). Using syslog-ng.1
I have no idea, but will find out since I am curious now.

Just a thought; as I recall Azureus has a 'debug' mode option in it's preferences, or something to that effect. If so, perhaps enable that, close the application then re-run from CLI with azureus >/var/log/borkedazureus.log and let it hang, perhaps it will catch something....Note that is just a theory, I am not even remotely sure if any background output is generated; I'm still noob, thats my defense and I'm sticking to it :)
Top
Gergan Penkov
Veteran
Veteran
User avatar
Posts: 1464
Joined: Sat Jul 17, 2004 9:42 pm
Location: das kleinste Kuhdorf Deutschlands :)

  • Quote

Post by Gergan Penkov » Sat Nov 25, 2006 11:35 pm

In fact swt should be avoided by all means, I have a java project at the moment and initially used eclipse (which also uses swt - these are sort of native bindings to gtk+ on linux). Well I have had excessive memory and cpu usage all the time, random crashes, permgen errors - but I thought it is normal for java (never liked the language :) ), jboss and such bloatware.
After I've changed to netbeans I don't have any more problems with anything java related. The same setup also with netbeans, jboss in debug mode with EJBs, JSF on tomcat and such is running for weeks without dying, without using excessive cpu and does not jump over 300MB.
So just avoid the swt crap and if you program never use eclipse :)
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Top
zxy
Veteran
Veteran
User avatar
Posts: 1160
Joined: Fri Jan 06, 2006 8:07 am
Location: in bed in front of the computer
Contact:
Contact zxy
Website

  • Quote

Post by zxy » Mon Nov 27, 2006 9:51 pm

I changed the kernel. Now problems with azureus disappeared.

Maybe only recompilation was needed.
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Top
zgredek
Apprentice
Apprentice
Posts: 186
Joined: Wed Jun 15, 2005 8:59 pm

  • Quote

Post by zgredek » Tue Nov 28, 2006 1:29 pm

zxy wrote:I changed the kernel. Now problems with azureus disappeared.

Maybe only recompilation was needed.
You changed from <version number> to <version number> ?

Details! And what did you change that the problem just misteriously went away?
Top
Post Reply

73 posts
  • Previous
  • 1
  • 2
  • 3
  • Next

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic