Bug#491500: tomcat5.5: keeps open file descriptors for the terminal

2008-11-25 Thread Benoit GUERIN
Ok, thank you for reopening this bug.

As you suggests, upgrading to Lenny could be a solution, but some 
reasons (internal to my company) prevent me upgrading to Lenny

If you need some tests or whatever, don't hesitate, I would be happy to 
help you !!

Cheers,
Benoit

Marcus Better a écrit :
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 reopen 491500
 thanks

 Reopening. I was thrown off by the comment about rotatelogs. Clearly
 there is another issue here.

 /Marcus
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iEYEARECAAYFAkkq+j4ACgkQXjXn6TzcAQlWmACg2AVUIMKKS23fWIzFjBa2QV6w
 qQUAni4ErTRPO51PPEGQRU6JsAAYZtzU
 =gxUO
 -END PGP SIGNATURE-



   





___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


Bug#491500: tomcat5.5: keeps open file descriptors for the terminal

2008-11-24 Thread sebastid
The problems is the usage of rotatelogs in the init script. rotatelogs
keeps the stdio filedescriptors open.

Sebastian




___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


Bug#491500: tomcat5.5: keeps open file descriptors for the terminal

2008-11-24 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

reopen 491500
thanks

Reopening. I was thrown off by the comment about rotatelogs. Clearly
there is another issue here.

/Marcus
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkq+j4ACgkQXjXn6TzcAQlWmACg2AVUIMKKS23fWIzFjBa2QV6w
qQUAni4ErTRPO51PPEGQRU6JsAAYZtzU
=gxUO
-END PGP SIGNATURE-



___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


Bug#491500: tomcat5.5: keeps open file descriptors for the terminal

2008-07-19 Thread Nicolas Boullis
Package: tomcat5.5
Version: 5.5.26-3
Severity: normal

Hi,

When tomcat is running as a daemon, it keeps open file descriptors for 
the terminal. 

irma:~# lsof -a -c jsvc +D /dev/pts
COMMAND   PID USER   FD   TYPE DEVICE SIZE NODE NAME
jsvc19251 root1u   CHR  136,1 3 /dev/pts/1
jsvc19251 root2u   CHR  136,1 3 /dev/pts/1

I think that there is no reason why a daemon should keep the terminal 
open.
It's not very annoying when the daemon is run on startup by init. But 
when it is run over a SSH session, then the SSH session will not close 
gracefully, which is quite annoying.

Simply adding /dev/null 21 to the $DAEMON invocation in 
/etc/init.d/tomcat5.5 would probaby solve the problem, but it might 
have some unwanted side effects. It would probably be better to fix 
jsvc to disconnect from the terminal when daemonizing, but I have not 
looked at the code.


Cheers,

Nicolas


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.23-irma (PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages tomcat5.5 depends on:
ii  adduser  3.108   add and remove users and groups
ii  java-gcj-compat [jav 1.0.78-2Java runtime environment using GIJ
ii  java-gcj-compat-dev  1.0.78-2Java runtime environment with GCJ
ii  jsvc 1.0.2~svn20061127-9 wrapper to launch Java application
ii  libecj-java  3.3.0+0728-9Eclipse Java compiler (library)
ii  libtomcat5.5-java5.5.26-3Java Servlet engine -- core librar

tomcat5.5 recommends no packages.

Versions of packages tomcat5.5 suggests:
ii  gij-4.3 [java-virtual-machine 4.3.1-6The GNU Java bytecode interpreter
ii  java-gcj-compat [java-virtual 1.0.78-2   Java runtime environment using GIJ
ii  java-gcj-compat-headless [jav 1.0.78-2   Java runtime environment using GIJ
pn  libapache2-mod-jk none (no description available)
pn  tomcat5.5-admin   none (no description available)
ii  tomcat5.5-webapps 5.5.26-3   Java Servlet engine -- documentati

-- no debconf information



___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers