Clearly.zgredek wrote:bittorrent wants to emerge ~20MB of stuff and packages I clearly don't want on my system

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.Q-collective wrote:Agreed.yngwin wrote:OTOH, Ktorrent has really improved lately, there isn't much what you will miss in the latest version.
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.
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?!)?Dan Forever wrote: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.Q-collective wrote:Agreed.yngwin wrote:OTOH, Ktorrent has really improved lately, there isn't much what you will miss in the latest version.
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.

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....Dan Forever wrote: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.Q-collective wrote:Agreed.yngwin wrote:OTOH, Ktorrent has really improved lately, there isn't much what you will miss in the latest version.
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.
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?Gergan Penkov wrote: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....Dan Forever wrote: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.Q-collective wrote:Agreed.yngwin wrote:OTOH, Ktorrent has really improved lately, there isn't much what you will miss in the latest version.
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.
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?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!

Yes, ACPI is on, always have been. No suspend.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.
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.zgredek wrote:What do you mean but unmounting my swap? What is the connection?

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.zgredek wrote: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?!)?Dan Forever wrote: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.Q-collective wrote:Agreed.yngwin wrote:OTOH, Ktorrent has really improved lately, there isn't much what you will miss in the latest version.
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.
So, it's java to blame, not azureus or hardware?Dan Forever wrote: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.zgredek wrote: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?!)?Dan Forever wrote: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.Q-collective wrote:Agreed.yngwin wrote:OTOH, Ktorrent has really improved lately, there isn't much what you will miss in the latest version.
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.
Both using blackdown jdk and the sun jdk still results in crashes.
Hm, sounds logical but some errors should appear in the system log which is saying nothing at all.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.
Yes, it is very likely Java to blame as opposed to Azureus, but it could be either at this point. Or neither for that matterzgredek 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?![]()
I have no idea, but will find out since I am curious now.zgredek wrote:BTW: How do I increase the number of messages written to the log (verbose mode or something?). Using syslog-ng.1
