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] 3

Author Topic: Webserver strange behaviour  (Read 12284 times)

mithrandir77

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
Re: Webserver strange behaviour
« Reply #15 on: October 25, 2005, 04:57:22 PM »

lfroen which server for irc?
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: Webserver strange behaviour
« Reply #16 on: October 25, 2005, 05:11:48 PM »

irc.freenode.net port 6667 ;)
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

mithrandir77

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
Re: Webserver strange behaviour
« Reply #17 on: October 26, 2005, 04:52:34 PM »

I'm still having problem with php webserver.

How can i change the webserver to chicane template?  ;(
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Webserver strange behaviour
« Reply #18 on: October 26, 2005, 05:17:14 PM »

well if you use cvs tehn run it with

--no-php -t chicane

the -t option is for the template name, check in your

/usr/local/share/amule/webserver/

if the chicane template is present, if so the above commadn should work, just start amuleweb like that from teh command lin
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."

lfroen

  • Guest
Re: Webserver strange behaviour
« Reply #19 on: October 26, 2005, 05:21:23 PM »

Please report if webserver works for you with --no-php. It would give me hint  in debug.
Logged

mithrandir77

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
Re: Webserver strange behaviour
« Reply #20 on: October 26, 2005, 05:21:33 PM »

Quote
Originally posted by stefanero
well if you use cvs tehn run it with

--no-php -t chicane

the -t option is for the template name, check in your

/usr/local/share/amule/webserver/

if the chicane template is present, if so the above commadn should work, just start amuleweb like that from teh command lin

Thx...

I have done it.... and... I have understood that the previous problem is not caused by the template but by the server or by the comunication between server and amule core.

In fact i can log in, i see the first page with header but if i try to view download page or server page, i have the same problem that i have with php server: the browser loading and the server freeze or loop...  ;(
« Last Edit: October 26, 2005, 05:23:07 PM by mithrandir77 »
Logged

lfroen

  • Guest
Re: Webserver strange behaviour
« Reply #21 on: October 26, 2005, 08:34:14 PM »

That is what I already told several posts before. Before displaying downloads page, webserver queries core. If you have many files (> 100) in download queue, EC may fail.
That is known problem, and being debugged.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Webserver strange behaviour
« Reply #22 on: October 26, 2005, 09:18:06 PM »

And being fixed.
Logged

mithrandir77

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
Re: Webserver strange behaviour
« Reply #23 on: October 27, 2005, 09:40:38 AM »

Quote
Originally posted by lfroen
That is what I already told several posts before. Before displaying downloads page, webserver queries core. If you have many files (> 100) in download queue, EC may fail.
That is known problem, and being debugged.

Ok, i understood.
But i haven't so many files in download, i have no more than 30 files (even if some files are more than 1 GB).
I have a lot of file in sharing, quite 2000 files.

Do you think it can cause the same problem?
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Webserver strange behaviour
« Reply #24 on: October 27, 2005, 09:42:52 AM »

I dont think so...
what about the --no-php and the other template??
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."

mithrandir77

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
Re: Webserver strange behaviour
« Reply #25 on: October 27, 2005, 10:08:18 AM »

Quote
Originally posted by stefanero
I dont think so...
what about the --no-php and the other template??

The same... It seems to be loading... But never finish...
I have tried also the old template but without success
Logged

Radek

  • Full Member
  • ***
  • Karma: 5
  • Offline Offline
  • Posts: 149
Re: Webserver strange behaviour
« Reply #26 on: October 27, 2005, 06:00:35 PM »

Hi, all!

I have this same behaviour, when trying to access server list or log file. The page won't be displayed completely, with the little hour glass turning endlessly. I once went away to lunch, leaving it alone for two hours - nothing. I have to kill and restart amuleweb, to get any response out of it again.

Tried every variant, with and w/out php.

Shared files (only 150 or so) and transfer (even fewer. 8 files) are OK.

I observe this behaviour for some months now. Up to and including CVS 20051026.
Logged
There are 10 kinds of people - those who are able to understand binary numbers and those who aren't...

vdb

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 215
Re: Webserver strange behaviour
« Reply #27 on: October 30, 2005, 01:33:16 AM »

To add to this line, I observe the same issue with CVS 20051029 here too (and several others before that). But it is not quite consistent, the server does serve the pages for preferences, graphs, statistics, search and servers. Only the transfer page seems to not load. And once you touched that button, nothing more can be done other then killing and restarting the daemon.

PS1: The webserver is started by the detached daemon, does it leave a log anywhere else but on the console?

PS2: The amulegui also won't start, it doesn't show any error, but it doesn't do anything. Again, this has worked once tonight, but that's all.
« Last Edit: October 30, 2005, 01:57:07 AM by vdb »
Logged
A waste is a terrible thing to mind.

lfroen

  • Guest
Re: Webserver strange behaviour
« Reply #28 on: October 30, 2005, 07:37:29 AM »

To be perfectly clear: the trigger for this bug is transmission of EC packet above size of outgoing buffer which is hardcoded in ECSocket.h. Since there's no theorethical limit for size of this packet (it depends on number of items requested and length of item names), this limit sometimes reached. Unfortunally, the code that should deal with this situation is broken.
I will fix it when I'm done with current webserver issues, means really soon.
Kry: this bug must be fixed before release.
Logged

mithrandir77

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
Re: Webserver strange behaviour
« Reply #29 on: November 02, 2005, 12:29:44 PM »

Quote
Originally posted by lfroen
To be perfectly clear: the trigger for this bug is transmission of EC packet above size of outgoing buffer which is hardcoded in ECSocket.h. Since there's no theorethical limit for size of this packet (it depends on number of items requested and length of item names), this limit sometimes reached. Unfortunally, the code that should deal with this situation is broken.
I will fix it when I'm done with current webserver issues, means really soon.
Kry: this bug must be fixed before release.

Thanks  :baby:

I will wait for it... because it is very difficult to submit searches without it from a remote computer  :P
« Last Edit: November 02, 2005, 12:30:58 PM by mithrandir77 »
Logged
Pages: 1 [2] 3