Bug#378546: axel-kapt: uses all available memory, crashes, brings system to a crawl

2009-04-29 Thread Y Giridhar Appaji Nag
On 09/04/07 22:50 +0200, Andr??s Hamann said ...
 I've noticed what you said about the newly created terminal not showing
 the output and fixed it (see attached file).
 Also, I think that if there was a space in local destination's path, it
 wouldn't have worked properly, at least now I'm sure it does.

I'll close this bug with the next upload, but I filed your patch in the
upstream tracker and will include it in the next upstream axel release.

Cheers,

Giridhar

-- 
Y Giridhar Appaji Nag | http://appaji.net/


signature.asc
Description: Digital signature


Bug#378546: axel-kapt: uses all available memory, crashes, brings system to a crawl

2009-04-07 Thread Y Giridhar Appaji Nag
Hi Andrés,

On 09/04/04 15:53 +0200, Andrés Hamann said ...
 I hope this helps. If there is any additional info I can provide, let me
 know.

Would you be able to try the attached patch and check if the bug still
exists?

Thank you for your efforts :)

Cheers,

Giridhar

-- 
Y Giridhar Appaji Nag | http://people.debian.org/~appaji/
--- /home/appaji/axel-kapt	2009-04-07 14:09:50.411357000 +0530
+++ /usr/bin/axel-kapt	2009-04-07 14:12:12.0 +0530
@@ -45,7 +45,7 @@
 verb Verbose - @| --verbose ;
 quiet Quiet - @| -q ;
 
-term Terminal Type - @combo(x-terminal-emulator, xterm);
+term Terminal Type - @string()=x-terminal-emulator;
 max Max bps- @integer()=0;
 connex :horizontal Connections - @integer()=4;
 search :framed ftp Search - numsites | ! @ ;


signature.asc
Description: Digital signature


Bug#378546: axel-kapt: uses all available memory, crashes, brings system to a crawl

2009-04-07 Thread Andrés Hamann
Would you be able to try the attached patch and check if the bug still
exists?
It totally fixed it!

Thank you for your efforts :)
Thank *you* ;)

I've noticed what you said about the newly created terminal not showing
the output and fixed it (see attached file).
Also, I think that if there was a space in local destination's path, it
wouldn't have worked properly, at least now I'm sure it does.

Again, thank you for your time :).
*** usr/bin/axel-kapt	Wed Jan 14 10:48:44 2009
--- home/ahamann/axel-kapt	Tue Apr  7 22:22:39 2009
***
*** 41,59 
  b = ''';
  config :horizontal OPTIONS - checks term max connex search;
  checks  :horizontal - proxy verb quiet;
! proxy No Proxy - @| -N ;
! verb Verbose - @| --verbose ;
! quiet Quiet - @| -q ;
  
! term Terminal Type - @combo(x-terminal-emulator, xterm);
  max Max bps- @integer()=0;
  connex :horizontal Connections - @integer()=4;
  search :framed ftp Search - numsites | ! @ ;
! numsites -  --search= @integer()=3;
  
  
  local - file | ! @ ;
! file Save as (optional). Choose a directory and type a filename... -  --output= @directory();
  
  buttons :horizontal Actions - help mail doit quit;
  help - @preview(helpstr,Close)=Help;
--- 41,59 
  b = ''';
  config :horizontal OPTIONS - checks term max connex search;
  checks  :horizontal - proxy verb quiet;
! proxy No Proxy - -N  | ! @ ;
! verb Verbose - --verbose  | ! @;
! quiet Quiet - -q  | ! @ ;
  
! term Terminal Type - @string()=x-terminal-emulator;
  max Max bps- @integer()=0;
  connex :horizontal Connections - @integer()=4;
  search :framed ftp Search - numsites | ! @ ;
! numsites - --search= @integer()=3  ;
  
  
  local - file | ! @ ;
! file Save as (optional). Choose a directory and type a filename... - --output=\\ @directory() \\ ;
  
  buttons :horizontal Actions - help mail doit quit;
  help - @preview(helpstr,Close)=Help;
***
*** 71,77 
  
  bug - Please report bugs on axel-kapt to sub...@bugs.debian.org (using reportbug);
  
! axel - term  -e axel -s  max  -n connex proxy verb quiet search   local   url;
  '''
  try:
  c = string.join(sys.argv[1:])
--- 71,77 
  
  bug - Please report bugs on axel-kapt to sub...@bugs.debian.org (using reportbug);
  
! axel - term  -e axel -s  max  -n connex   proxy verb quiet search local url;
  '''
  try:
  c = string.join(sys.argv[1:])


Bug#378546: axel-kapt: uses all available memory, crashes, brings system to a crawl

2009-04-04 Thread Andrés Hamann
Hello,

Sorry for the delay, 

I wrote this in a file called prova-axel-kaptain with execute
permissions:


#!/bin/bash
echo Starting axel-kapt
axel-kapt 
echo axel-kapt started
while [ $(free -m | awk '/Mem/ {print $4}') -gt 500 ]; do
  sleep 0.5
done
if $(killall kaptain); then
  echo axel-kapt has been killed
fi
exit 0


then I just executed free -m to show you guys memory's initial state and
right after that ./prova-axel-kaptain with this output:


aham...@mekare:~$ free -m
 total   used   free sharedbuffers
cached
Mem:  3023373   2650  0  7
120
-/+ buffers/cache:245   2778
Swap: 5953345   5608
aham...@mekare:~$ ./prova-axel-kaptain 
Starting axel-kapt
axel-kapt started
axel-kapt has been killed
aham...@mekare:~$ sh: line 39:  4313 Doneecho '
start :framed Axel-Kapt  Download Accelerator - info url config local
buttons filler;

info :horizontal - txt ico;
txt - @text(x%axel -V%);
ico - @icon(connect_creating.png);

url Url (you can add mirrors) - @string()='';
config :horizontal OPTIONS - checks term max connex search;
checks  :horizontal - proxy verb quiet;
proxy No Proxy - @| -N ;
verb Verbose - @| --verbose ;
quiet Quiet - @| -q ;

term Terminal Type - @combo(x-terminal-emulator, xterm);
max Max bps- @integer()=0;
connex :horizontal Connections - @integer()=4;
search :framed ftp Search - numsites | ! @ ;
numsites -  --search= @integer()=3;


local - file | ! @ ;
file Save as (optional). Choose a directory and type a filename...
-  --output= @directory();

buttons :horizontal Actions - help mail doit quit;
help - @preview(helpstr,Close)=Help;
mail - @preview(bug,Close)=Bug Report;
doit - @exec(axel)=Start;
#doit - @echo(axel)=Start;
quit - @close=Exit;

filler - @fill(); #sometimes the bottom is obscured..
   #not just in kaptain. Some other qt apps too

helpstr - Axel is a program that downloads a file from a FTP or HTTP
server through multiple connection, each connection downloads its own
part of the file.  Read the manual page - axel(1) for various options;

bug - Please report bugs on axel-kapt to sub...@bugs.debian.org (using
reportbug);

axel - term  -e axel -s  max  -n connex proxy verb quiet search  
local   url;
'
  4314 Terminated  | kaptain


Then I ran time with it, and it gave me this results:


real0m7.475s
user0m3.980s
sys 0m1.596s


Meaning that probably in just a few seconds, it'd crash the machine

I don't know if the Desktokp Environment is relevant but I use xfce,
however I've tried this with the same results under Gnome and KDE.

I hope this helps. If there is any additional info I can provide, let me
know.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#378546: axel-kapt: uses all available memory, crashes, brings system to a crawl

2009-04-01 Thread Y Giridhar Appaji Nag
Hi Tobias,

Thank you for taking a look.

On 09/03/25 15:42 +0100, Tobias Quathamer said ...
 On Monday 23 March 2009 06:27:45 Y Giridhar Appaji Nag wrote:
 
  I have a problem reported by users of axel-kapt that uses kaptain (bug
  378546).  The memory usage shoots up and brings the box down.  Would you
  be able to help me with this bug?
 
 I'm sorry, but I'm currently not able to reproduce this bug with axel-kapt. 
 The programs runs without excessive memory usage, and needs the exact same 

I have a similar experience.  I only notice kaptain taking a small amount of
memory (from top).

 3817 giridhar  20   0  4792 1004  676 S  3.3  0.1   3:08.87 ssh-agent  
 
 3838 giridhar  20   0 38496  26m 9188 R  1.7  2.6   0:52.54 xfce4-terminal 
 
  634 giridhar  20   0 16872 8320 7228 S  1.3  0.8   0:00.08 kaptain
 
  700 giridhar  20   0  5452 2360 1876 S  1.3  0.2   0:00.04 ssh
 

 time for downloading as the command line program axel. The only problem I'm 
 having here is that the newly opened terminal window does not display the 
 program's output (which seems unrelated here).

Indeed.

Thanks,

Giridhar

-- 
Y Giridhar Appaji Nag | http://people.debian.org/~appaji/


signature.asc
Description: Digital signature


Bug#378546: axel-kapt: uses all available memory, crashes, brings system to a crawl

2009-03-25 Thread Tobias Quathamer
On Monday 23 March 2009 06:27:45 Y Giridhar Appaji Nag wrote:
 Hi Tobias,

 I have a problem reported by users of axel-kapt that uses kaptain (bug
 378546).  The memory usage shoots up and brings the box down.  Would you
 be able to help me with this bug?

Hi Giridhar,

I'm sorry, but I'm currently not able to reproduce this bug with axel-kapt. 
The programs runs without excessive memory usage, and needs the exact same 
time for downloading as the command line program axel. The only problem I'm 
having here is that the newly opened terminal window does not display the 
program's output (which seems unrelated here).

Regards,
Tobias

-- 
Tobias Quathamer | If Bill Gates had a dime for every time a Windows box
Hamburg, Germany | crashed ... Oh, wait a minute, he already does.



signature.asc
Description: This is a digitally signed message part.


Bug#378546: axel-kapt: uses all available memory, crashes, brings system to a crawl

2009-03-22 Thread Andrés Hamann
Exact same problem here,

Running Debian Squeeze GNU/Linux with kernel 2.6.26-1-amd64 

When I execute axel-kapt the system starts with 700 Mb used and in a
matter of two or three seconds it gets up to 1550Mb (It crashed the
system once, but now I just interrupt it before it literally eats all of
the resources).
It happens every time I execute axel-kapt so I guess it is reproducible.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#378546: axel-kapt: uses all available memory, crashes, brings system to a crawl

2009-03-22 Thread Y Giridhar Appaji Nag
tags 378546 + help
thanks

Hi Tobias,

I have a problem reported by users of axel-kapt that uses kaptain (bug
378546).  The memory usage shoots up and brings the box down.  Would you
be able to help me with this bug?

Thanks and regards,

Giridhar

On 09/03/22 23:28 +0100, Andrés Hamann said ...
 Running Debian Squeeze GNU/Linux with kernel 2.6.26-1-amd64 
 
 When I execute axel-kapt the system starts with 700 Mb used and in a
 matter of two or three seconds it gets up to 1550Mb (It crashed the
 system once, but now I just interrupt it before it literally eats all of
 the resources).
 It happens every time I execute axel-kapt so I guess it is reproducible.

-- 
Y Giridhar Appaji Nag | http://people.debian.org/~appaji/


signature.asc
Description: Digital signature


Bug#378546: axel-kapt: uses all available memory, crashes, brings system to a crawl

2008-01-04 Thread Y Giridhar Appaji Nag
# Bcc: control
severity 378546 minor
thanks

On 07/12/27 05:47 -0500, Andrew Schulman said ...
 On Thursday 27 December 2007 00:55:46 Y Giridhar Appaji Nag wrote:
 
  While you see the symptoms of this problem, can you see and report
  which process seems to be consuming a lot of memory?
 
 Sorry, but I've uninstalled axel-kapt.  My host is starved for memory
 ATM so I really don't want to test this bug again.
 
 So I guess the bug is unreproducible.  Please feel free to close it if
 you like.

I'll keep the bug open in case someone else experiences this.  I am
downgrading the severity though, so that it can be raised when we can
get more information.

Cheers,

Giridhar

-- 
Y Giridhar Appaji Nag | http://www.appaji.net/


signature.asc
Description: Digital signature


Bug#378546: axel-kapt: uses all available memory, crashes, brings system to a crawl

2007-12-27 Thread Andrew Schulman
On Thursday 27 December 2007 00:55:46 Y Giridhar Appaji Nag wrote:
 Hi Andrew,

 On 06/07/17 06:03 -0400, Andrew Schulman said ...

  When I run axel-kapt from the console, it starts to soak up all
  available memory.  My host grinds to a halt as memory for all other
  processes is swapped out.  When axel-kapt has used up all available
  RAM and cache, it crashes.  Here's what I see on my console:

 Do you still see this problem when running axel-kapt?  Even though there
 haven't been any changes in axel-kapt that I think would solve this, the
 reason I ask is:  The axel-kapt script itself is fairly simple and the
 real memory hog _may_ be axel, kaptain or python.

 While you see the symptoms of this problem, can you see and report which
 process seems to be consuming a lot of memory?

Sorry, but I've uninstalled axel-kapt.  My host is starved for memory ATM 
so I really don't want to test this bug again.

So I guess the bug is unreproducible.  Please feel free to close it if you 
like.

Thanks,
Andrew.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#378546: axel-kapt: uses all available memory, crashes, brings system to a crawl

2007-12-26 Thread Y Giridhar Appaji Nag
Hi Andrew,

On 06/07/17 06:03 -0400, Andrew Schulman said ...
 When I run axel-kapt from the console, it starts to soak up all
 available memory.  My host grinds to a halt as memory for all other
 processes is swapped out.  When axel-kapt has used up all available
 RAM and cache, it crashes.  Here's what I see on my console:

Do you still see this problem when running axel-kapt?  Even though there
haven't been any changes in axel-kapt that I think would solve this, the
reason I ask is:  The axel-kapt script itself is fairly simple and the
real memory hog _may_ be axel, kaptain or python.

While you see the symptoms of this problem, can you see and report which
process seems to be consuming a lot of memory?

Giridhar

-- 
Y Giridhar Appaji Nag | http://www.appaji.net/


signature.asc
Description: Digital signature


Bug#378546: axel-kapt: uses all available memory, crashes, brings system to a crawl

2006-07-17 Thread Andrew Schulman
Package: axel-kapt
Version: 1.0b-1
Severity: important

When I run axel-kapt from the console, it starts to soak up all
available memory.  My host grinds to a halt as memory for all other
processes is swapped out.  When axel-kapt has used up all available
RAM and cache, it crashes.  Here's what I see on my console:

$ axel-kapt
sh: line 43: 25220 Doneecho '
start :framed Axel-Kapt  Download Accelerator - info url config local 
buttons filler;

info :horizontal - txt ico;
txt - @text(x%axel -V%);
ico - @icon(connect_creating.png);

url Url (you can add mirrors) - @string()='';
config :horizontal OPTIONS - checks term max connex search;
checks  :horizontal - proxy verb quiet;
proxy No Proxy - @| -N ;
verb Verbose - @| --verbose ;
quiet Quiet - @| -q ;

term Terminal Type - @combo(konsole, rxvt, xterm, aterm);
max Max bps- @integer()=0;
connex :horizontal Connections - @integer()=4;
search :framed ftp Search - numsites | ! @ ;
numsites -  --search= @integer()=3;


local - file | ! @ ;
file Save as (optional). Choose a directory and type a filename... -  
--output= @directory();

buttons :horizontal Actions - mail help doit quit;
help - @button(helpwin)=Help;
mail - @action(bug)=Bug Report;
doit - @exec(axel)=Start;
#doit - @echo(axel)=Start;
quit - @close=Exit;

filler - @fill(); #sometimes the bottom is obscured..
   #not just in kaptain. Some other qt apps too

helpwin axel Help Text- helptitle helpwindow;
#huge button just to force the dialog wider
helptitle :horizontal - @text(x%axel -V%) @close= Close 
this window ;
helpwindow - @list(x%axel --help%);

bug - kmail -s  x%axel -V | grep Axel | sed s/ /_/g%  [EMAIL 
PROTECTED];


axel - term  -e axel -s  max  -n connex proxy verb quiet search   local 
  url;
'
 25221 Killed  | kaptain



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (300, 'unstable'), (200, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages axel-kapt depends on:
ii  axel  1.0b-1 A light download accelerator - Con
ii  kaptain   1:0.71-1.3 Graphical front-end for command li
ii  konsole [x-terminal-emulator] 4:3.5.3-2  X terminal emulator for KDE
ii  python2.3.5-11   An interactive high-level object-o

axel-kapt recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]