aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: too many connections?? :(  (Read 7806 times)

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
too many connections?? :(
« 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
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: too many connections?? :(
« Reply #1 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
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: too many connections?? :(
« Reply #2 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.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: too many connections?? :(
« Reply #3 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
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

alehack

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 43
Re: too many connections?? :(
« Reply #4 on: September 27, 2004, 05:47:53 PM »

has this bug been fixed?
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: too many connections?? :(
« Reply #5 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 ;))
Logged

alehack

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 43
Re: too many connections?? :(
« Reply #6 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!
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: too many connections?? :(
« Reply #7 on: September 29, 2004, 02:56:18 AM »

I'm happy you found it to be good :)
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: too many connections?? :(
« Reply #8 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.
Logged

alehack

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 43
Re: too many connections?? :(
« Reply #9 on: September 29, 2004, 05:12:18 AM »

here is the official site:
http://biolpc22.york.ac.uk/pub/2.5.1/
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: too many connections?? :(
« Reply #10 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
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: too many connections?? :(
« Reply #11 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.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: too many connections?? :(
« Reply #12 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
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: too many connections?? :(
« Reply #13 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.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: too many connections?? :(
« Reply #14 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
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."
Pages: [1] 2