aMule Forum

English => aMule Help => Topic started by: skolnick on September 04, 2004, 05:37:26 PM

Title: too many connections?? :(
Post by: skolnick on September 04, 2004, 05:37:26 PM
Hi all!

My computer dual boots windows XP and mandrake 10.0 Official. Of course, I use both emule on wiondows, and amule on linux. They are configured the same (same incoming/temp folders, same upload/download limits (5kB/s,20kB/s), same max connections/5 secs, same max connections, etc) I even copied the same userhash from emule to amule. Now, the question...Why on earth amule reports tons of "too many connections" sources, but emule, with same configuration reports no "too many connections"?? besides that, amule seems to find a lot less sources tha emule does, so is slower downloading (emule downloads an average of 650MB/14 hours, whereas aMule downloads about 450MB in the same time)

Any ideas why this is so? I have already tried raising he limit of max connections until killing my internet, but the problem remains.

Regards, and TIA
Title: Re: too many connections?? :(
Post by: stefanero on September 04, 2004, 09:32:27 PM
hello...
question which amule version?! rc5 or current cvs? in current cvs we seam to have some problem with connections atm but rc5 not that I know of

stefanero
Title: Re: too many connections?? :(
Post by: skolnick on September 05, 2004, 03:06:07 AM
Hi!

Thanks for the reply. Problem is with RC5. So you already knew about thuis bug and have solved it? it's good to know it. I'll test RC6 as soon as it gets out there, to see if the problem gets solved.

Thanks.
Title: Re: too many connections?? :(
Post by: stefanero on September 05, 2004, 11:18:56 AM
heh, well its know problem yes
but what I meant was its even worse in current CVS now then it was in rc5 ;)
but its definetly being worked on so dont worry for rc6 :)

stefanero
Title: Re: too many connections?? :(
Post by: alehack on September 27, 2004, 05:47:53 PM
has this bug been fixed?
Title: Re: too many connections?? :(
Post by: Kry on September 27, 2004, 06:16:32 PM
Sure. Just wx 2.5.2 keeps giving this bug, but only to some people. If you're one of them, use 2.5.1 or wait for 2.5.3 (or use wxWidgets CVS ;))
Title: Re: too many connections?? :(
Post by: alehack on September 28, 2004, 10:48:07 PM
I´ve linked amule-cvs against wx 2.5.1 on FC2. The download speed is incredible!!!!! More than 150% speed increase!!!! In addition it uses only 20-30 connections!!! it is fantastic!
thanks for amule!
Title: Re: too many connections?? :(
Post by: Kry on September 29, 2004, 02:56:18 AM
I'm happy you found it to be good :)
Title: Re: too many connections?? :(
Post by: skolnick on September 29, 2004, 03:56:06 AM
I jjust can't find wx* version 2.5.1 anymore. Only availables are 2.4.2 or 2.5.2, but aMule CVS will not compile with 2.5.2:

wxcas.cpp:51:2: #error You must set wxUSE_PRINTING_ARCHITECTURE to 1 in setup.h to compile wxCas.
In file included from wxcas.h:49,
                 from wxcas.cpp:57:
wxcasframe.h:63: error: base class `wxFrame' has incomplete type
wxcasframe.h:65: error: syntax error before `*' token
wxcasframe.h:66: error: field `m_toolBarBitmaps' has incomplete type
wxcasframe.h:68: error: syntax error before `*' token
wxcasframe.h:69: error: syntax error before `*' token
wxcasframe.h:70: error: syntax error before `*' token
wxcasframe.h:72: error: syntax error before `*' token
wxcasframe.h:74: error: syntax error before `*' token
wxcasframe.h:76: error: syntax error before `*' token
wxcasframe.h:77: error: syntax error before `*' token
wxcasframe.h:79: error: syntax error before `*' token
wxcasframe.h:80: error: syntax error before `*' token
wxcasframe.h:81: error: syntax error before `*' token
wxcasframe.h:82: error: syntax error before `*' token
wxcasframe.h:83: error: syntax error before `*' token
wxcasframe.h:84: error: syntax error before `*' token
wxcasframe.h:85: error: syntax error before `*' token
wxcasframe.h:87: error: syntax error before `*' token
wxcasframe.h:88: error: syntax error before `*' token
wxcasframe.h:90: error: syntax error before `*' token
wxcasframe.h:97: error: syntax error before `*' token
wxcasframe.h:98: error: syntax error before `*' token
wxcasframe.h:117: error: `wxCommandEvent' was not declared in this scope
wxcasframe.h:117: error: `event' was not declared in this scope
wxcasframe.h:117: error: invalid data member initialization
wxcasframe.h:117: error: (use `=' to initialize static data members)
wxcasframe.h:117: error: variable or field `OnBarRefresh' declared void
wxcasframe.h:118: error: `wxCommandEvent' was not declared in this scope
wxcasframe.h:118: error: `event' was not declared in this scope
wxcasframe.h:118: error: invalid data member initialization
wxcasframe.h:118: error: variable or field `OnBarAbout' declared void
wxcasframe.h:119: error: `wxCommandEvent' was not declared in this scope
wxcasframe.h:119: error: `event' was not declared in this scope
wxcasframe.h:119: error: invalid data member initialization
wxcasframe.h:119: error: variable or field `OnBarSave' declared void
wxcasframe.h:120: error: `wxCommandEvent' was not declared in this scope
wxcasframe.h:120: error: `event' was not declared in this scope
wxcasframe.h:120: error: invalid data member initialization
wxcasframe.h:120: error: variable or field `OnBarPrint' declared void
wxcasframe.h:121: error: `wxCommandEvent' was not declared in this scope
wxcasframe.h:121: error: `event' was not declared in this scope
wxcasframe.h:121: error: invalid data member initialization
wxcasframe.h:121: error: variable or field `OnBarPrefs' declared void
wxcasframe.h:122: error: `wxTimerEvent' was not declared in this scope
wxcasframe.h:122: error: `event' was not declared in this scope
wxcasframe.h:122: error: invalid data member initialization
wxcasframe.h:122: error: variable or field `OnRefreshTimer' declared void
wxcasframe.h:123: error: `wxTimerEvent' was not declared in this scope
wxcasframe.h:123: error: `event' was not declared in this scope
wxcasframe.h:123: error: invalid data member initialization
wxcasframe.h:123: error: variable or field `OnFtpUpdateTimer' declared void
wxcasframe.h:135: error: syntax error before `*' token
wxcasframe.h:63: warning: `class WxCasFrame' has virtual functions but non-virtual destructor
wxcas.cpp: In function `wxAppConsole* wxCreateApp()':
wxcas.cpp:60: error: cannot allocate an object of type `WxCas'
wxcas.cpp:60: error:   because the following virtual functions are abstract:
/usr/local/include/wx/app.h:100: error:         virtual int wxAppConsole::OnRun()
wxcas.cpp: In member function `virtual bool WxCas::OnInit()':
wxcas.cpp:70: error: `wxImage' undeclared (first use this function)
wxcas.cpp:70: error: (Each undeclared identifier is reported only once for each function it appears in.)
wxcas.cpp:70: error: syntax error before `::' token
wxcas.cpp:83: error: `SetPrintMode' undeclared (first use this function)
wxcas.cpp:93: error: `Show' undeclared (first use this function)
wxcas.cpp:94: error: `SetTopWindow' undeclared (first use this function)
make[6]: *** [wxcas-wxcas.o] Error 1
make[6]: Leaving directory `/tmp/amule-cvs/src/utils/wxCas/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/tmp/amule-cvs/src/utils/wxCas'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/amule-cvs/src/utils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/amule-cvs/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/amule-cvs'
make: *** [all] Error 2
[root@neptune amule-cvs]#

What can I do? this connections problem is driving me nuts!

Thanks.
Title: Re: too many connections?? :(
Post by: alehack on September 29, 2004, 05:12:18 AM
here is the official site:
http://biolpc22.york.ac.uk/pub/2.5.1/
Title: Re: too many connections?? :(
Post by: stefanero on September 29, 2004, 07:42:15 AM
hey

and btw amule-cvs does compile with 2.5.2 just check if you have removed all wx-widgets and dont have one in
/usr/ and one in /usr/local/ !!!

compile wxGTK2.5.2 always with --prefix=/usr/ and you can save yourself a lot of trouble!

stefanero
Title: Re: too many connections?? :(
Post by: skolnick on October 02, 2004, 05:11:49 PM
I really do not like to install local-compiled software on /usr. I think it gets my filesystem messy, so I always compile just the way you say, but instead of /usr, I put /usr/local. Of course, /usr/local/bin, and sbin _are_ on my PATH, and /usr/local/lib is on my /etc/ld.so.conf, and the /usr/local/man is on my $MANPATH. Also, I cannot get past the error with the compilation I posted before...I would be grateful if anyone could check it out, and post some possible solution, since it refers to something about defining som constant on a file, but this file does not exist. This is where I get lost.

Thanks.
Title: Re: too many connections?? :(
Post by: stefanero on October 02, 2004, 05:26:29 PM
hey

well the problem is taht your configure script points to the wrong wxBase....

1st: did you install wxGTK 2.5.2 maybe somewhere else?
if so! you dont need wxBase anymore, and in amule there is a configure option for compiling
--with-wx-config=/new_path/wx-config

so with that help you can redirect amule detection for wx-config to the new place where you installed it...
that should let you compile amule atleast....

if you are still trying to compile with 2.4.2 check taht your links are right...
like shown in the HowTO for amule itself

stefanero
Title: Re: too many connections?? :(
Post by: skolnick on October 03, 2004, 05:48:07 PM
Hi!

No, I did not install to a different place. I always install my locally compiled software to /usr/local. So what I did was downloading the latest wx* (2.5.2) and configure it, make, make install. It installed to /usr/local. I did no uninstalling of the old 2.4.2, however (had no way to do it, since I deleted the tree where I built it). Could that have been the problem? what's that USE_PRINTING_ARCHITECTURE the error talks about?

Thanks.
Title: Re: too many connections?? :(
Post by: stefanero on October 03, 2004, 07:01:33 PM
this error happens when wxBase 2.4.2 or newer wxGTK after2.5.1  are not setup right...
tahts all

so you can try with
--with-wx-config=/usr/local/bin/wx-config

and compile your amule with that configure option...that should do

stefanero
Title: Re: too many connections?? :(
Post by: egretconan on October 11, 2004, 09:22:10 AM
Quote
Originally posted by alehack
I´ve linked amule-cvs against wx 2.5.1 on FC2. The download speed is incredible!!!!! More than 150% speed increase!!!! In addition it uses only 20-30 connections!!! it is fantastic!
thanks for amule!

Could somebody kindly tell me how to do this "linked amule-cvs against wx 2.5.1 on FC2"?

How do I check which version of wx I have linked with amule?

I am pretty new to FC2 and linux.

Thanks!
Title: Re: too many connections?? :(
Post by: Jacobo221 on October 11, 2004, 01:46:49 PM
since you say you are new to linux, you might have installed aMule through package (rpm, deb, whatever), so just check the version of wx you have installed.
Greetings!
Title: Re: too many connections?? :(
Post by: egretconan on October 15, 2004, 07:52:51 AM
Quote
Originally posted by Jacobo221
since you say you are new to linux, you might have installed aMule through package (rpm, deb, whatever), so just check the version of wx you have installed.
Greetings!

I did install the amule through package, which command I should use to check the version?

Thanks
Title: Re: too many connections?? :(
Post by: deltaHF on October 15, 2004, 09:10:58 AM
rpm -qa | grep wx

cheers
delta
Title: Re: too many connections?? :(
Post by: egretconan on October 15, 2004, 05:45:16 PM
Quote
Originally posted by deltaHF
rpm -qa | grep wx

cheers
delta

Thanks for help me with the command. I just checked it and it gave me:
wxGTK-2.4.2-4.1.fc2.fr

Is this mean my "too many connections" problem is not came from that "wx 2.5.2"? And I don't have to install another version of wx?

How about alehack mentioned
" I´ve linked amule-cvs against wx 2.5.1 on FC2. The download speed is incredible!!!!! More than 150% speed increase!!!!"

Does it worth to try this 2.5.1/(I also notice there is a wx 2.5.3), and might improve my downloading speed?

Thanks for any suggestion!
Title: Re: too many connections?? :(
Post by: deltaHF on October 15, 2004, 06:36:00 PM
Quote
Originally posted by egretconan
Quote
Originally posted by deltaHF
rpm -qa | grep wx

cheers
delta

Thanks for help me with the command. I just checked it and it gave me:
wxGTK-2.4.2-4.1.fc2.fr

this one is bad.. you might better recompile wxgtk yourself (2.4.2 or 2.5.x) or install wxgtk-2.4.2.rpm from our download page.

and don't forget to uninstall/remove the previous wxgtk from your pc, before you are going to install/compile the new one

cheers
Title: Re: too many connections?? :(
Post by: egretconan on October 15, 2004, 07:09:46 PM
Quote
Originally posted by deltaHF
Quote
Originally posted by egretconan
Quote
Originally posted by deltaHF
rpm -qa | grep wx

cheers
delta

Thanks for help me with the command. I just checked it and it gave me:
wxGTK-2.4.2-4.1.fc2.fr

this one is bad.. you might better recompile wxgtk yourself (2.4.2 or 2.5.x) or install wxgtk-2.4.2.rpm from our download page.

and don't forget to uninstall/remove the previous wxgtk from your pc, before you are going to install/compile the new one

cheers

I got few question from your reply:
"install wxgtk-2.4.2.rpm from our download page"
Is this the one "wxGTK-2.4.2-1.i386.rpm" you are talking about?

I also saw a link in previous reply in this post" http://biolpc22.york.ac.uk/pub/" which also has 2.5.1 and 2.5.3 version. Should I use later version?

I am supposed remove the old version of wx first,
Should I close amule first in order to remove it?

On the help page about removing the old wx, their talking about remove it "removing packages---uninstall normally", what is this "normally" do?

If I remove the packages, will it remove my amule also?
Title: Re: too many connections?? :(
Post by: deltaHF on October 15, 2004, 07:17:46 PM
everytime you compile new wxgtk you have to recompile amule too..

uninstall your current wxgtk -> rpm -e wxGTK-2.4.2-4.1.fc2.fr
uninstall amule

get wxgtk 2.5.3 from  http://biolpc22.york.ac.uk/pub/ and compile it your self
compile amule now from srcs too

Quote
"install wxgtk-2.4.2.rpm from our download page"
Is this the one "wxGTK-2.4.2-1.i386.rpm" you are talking about?

yes, thats what i mean

greets