Your message dated Mon, 24 Nov 2008 14:58:29 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#491500: tomcat5.5: keeps open file descriptors for the
terminal
has caused the Debian Bug report #491500,
regarding tomcat5.5: keeps open file descriptors for the terminal
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
491500: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491500
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
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
jsvc 19251 root 1u CHR 136,1 3 /dev/pts/1
jsvc 19251 root 2u 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 2>&1" 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-2 Java runtime environment using GIJ
ii java-gcj-compat-dev 1.0.78-2 Java runtime environment with GCJ
ii jsvc 1.0.2~svn20061127-9 wrapper to launch Java application
ii libecj-java 3.3.0+0728-9 Eclipse Java compiler (library)
ii libtomcat5.5-java 5.5.26-3 Java 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-6 The 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
--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[EMAIL PROTECTED] wrote:
> The problems is the usage of rotatelogs in the init script. rotatelogs
> keeps the stdio filedescriptors open.
Current version of Tomcat (in Lenny) do not use rotatelogs anymore.
(Please use reportbug to report bugs, it will provide version
information in the bug report.)
Cheers,
Marcus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkkqswEACgkQXjXn6TzcAQnsrwCfQEUuEOiqspumlv0dkZZ5ZYw0
7CAAoPTVm5/apL7tffXQUz0bHIWiiMSr
=hLMl
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
pkg-java-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers