You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "James H. H. Lampert" <ja...@touchtonecorp.com> on 2015/06/22 20:54:11 UTC

We have a problem involving weird error messages in our Tomcat context, and catalina.out growing to enormous size.

We have two weird things going on at the same customer installation.

First, we have a situation in which catalina.out is inexplicibly growing 
to enormous size (4558505886 bytes) in a very short time (under a week), 
and growing by 4k in under a minute. And yet the catalina.[date] files 
are all of very reasonable size.

Second, we've been finding a lot of "There is no process to read data 
written to a pipe." exceptions. They're apparently being thrown by our 
own code, but we haven't been able to determine why, and while a Google 
search on that exact phrase turns up hundreds of references specific to 
aix, it doesn't turn up any specific to OS/400 (or whatever IBM is 
calling it this week). Don't know if there's any connection between that 
and the enormous catalina.out.

Tomcat version is 7.0.47, running on an AS/400.

--
James H. H. Lampert
Touchtone Corporation

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: We have a problem involving weird error messages in our Tomcat context, and catalina.out growing to enormous size.

Posted by André Warnier <aw...@ice-sa.com>.
James H. H. Lampert wrote:
> We have two weird things going on at the same customer installation.
> 
> First, we have a situation in which catalina.out is inexplicibly growing 
> to enormous size (4558505886 bytes) in a very short time (under a week), 
> and growing by 4k in under a minute. And yet the catalina.[date] files 
> are all of very reasonable size.
> 
> Second, we've been finding a lot of "There is no process to read data 
> written to a pipe." exceptions. They're apparently being thrown by our 
> own code, but we haven't been able to determine why, and while a Google 
> search on that exact phrase turns up hundreds of references specific to 
> aix, it doesn't turn up any specific to OS/400 (or whatever IBM is 
> calling it this week). Don't know if there's any connection between that 
> and the enormous catalina.out.
> 
> Tomcat version is 7.0.47, running on an AS/400.
> 
Hi.
I don't know anything about AS/400 - OS/400.
But catalina.out is usually where the output of the *JVM* is being re-directed
(such as exceptions in the JVM etc..).
Can you see what's being written ?
(iow, is there an equivalent to "tail -f filename" under OS/400 ?)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: We have a problem involving weird error messages in our Tomcat context, and catalina.out growing to enormous size.

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

James,

On 6/22/15 4:58 PM, James H. H. Lampert wrote:
> On 6/22/15 12:11 PM, Christopher Schultz wrote:
>> Well... what's in the catalina.out file? Is it huge numbers of 
>> exceptions of the type described above?
> 
> Still haven't been able to see what's in it (the terminal-based
> tools won't handle stream files that big), but when this happened
> before, it wasn't 4 gigabytes; it was 6 HUNDRED gigabytes.

Wow.

Is there an AS/400 version of "head" (or "tail")?

Even "dd" would work... just ask for something like bytes 1,000,000 -
2,000,000 and dump that to a file, then look at *that* file.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJViIaFAAoJEBzwKT+lPKRYiXQP/2jptaeBVRpitNQt7F6XtxWa
MnUCSZ2ru54pntBnutfJgWMZ0PoYx+6mOf5LboKSMi+FXAGH9hQYmN5x52aqiRPO
HR79YwksdsXH1CqJV7rnSbKI3L9uHLboGlA/mwlGDBdwIT+N0faZYGbvIKjDCQEK
dnXEMdWudjZG5MNUMIPhcWwKjMu+xsi12XGXbGgdkyEaVPMQqZoTUQPR+BK5eHl0
BqiJSpN6GTC8z4Jk140ErYI8ecxw3bsfyG/ZpX8G06A/r7qt5O8sLHLQxj4B2mV1
/8n5DlAG8Rub7ImxlOmmb221kCDdf990qHB0CN5AuOTNXuygwBM1LodL9bzPFZfJ
tVIEZD1kyq/VopQIv3Goe9XNMpbmC5EhecyyUBoW+C2C5iz5FLKVHQpehsK3QD1+
cljodHDOlK302/OHs9sexut4g2HjGYmQ6/fq7fqgILDVELpHhoAl1nxvJB4a6Lgw
HqMGr7yOit0vzWcCnVRWInHe683w43AC8N+hSyDB9Lm5mIKOE4qUt3JpuS5zdRRM
Y5qDin44mejQnjR9Gq3lOBDIdJFsSj1BSmaiulbo6+eQ3exnueWVNlMihLmjDlL1
k3IU3rfYJIe1W4S5kdpHTNI9AZLohcmc8lLI38w/ibcrpt2sqmJ8HS4xxi8MvFIl
1VQYDJStAvOghF3NF/iH
=W8U0
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: We have a problem involving weird error messages in our Tomcat context, and catalina.out growing to enormous size.

Posted by "James H. H. Lampert" <ja...@touchtonecorp.com>.
On 6/22/15 12:11 PM, Christopher Schultz wrote:
> Well... what's in the catalina.out file? Is it huge numbers of
> exceptions of the type described above?

Still haven't been able to see what's in it (the terminal-based tools 
won't handle stream files that big), but when this happened before, it 
wasn't 4 gigabytes; it was 6 HUNDRED gigabytes.

--
JHHL

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: We have a problem involving weird error messages in our Tomcat context, and catalina.out growing to enormous size.

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

James,

On 6/22/15 2:54 PM, James H. H. Lampert wrote:
> We have two weird things going on at the same customer
> installation.
> 
> First, we have a situation in which catalina.out is inexplicibly
> growing to enormous size (4558505886 bytes) in a very short time
> (under a week), and growing by 4k in under a minute. And yet the
> catalina.[date] files are all of very reasonable size.
> 
> Second, we've been finding a lot of "There is no process to read
> data written to a pipe." exceptions. They're apparently being
> thrown by our own code, but we haven't been able to determine why,
> and while a Google search on that exact phrase turns up hundreds of
> references specific to aix, it doesn't turn up any specific to
> OS/400 (or whatever IBM is calling it this week). Don't know if
> there's any connection between that and the enormous catalina.out.

Well... what's in the catalina.out file? Is it huge numbers of
exceptions of the type described above?

> Tomcat version is 7.0.47, running on an AS/400.

You might be able to get some mileage out of using
swallowOutput="true" on your <Context>. Depending upon the nature of
the output being logged, that may direct the tons-of-error-logging to
the daily log files, which are easier to manage (compress, delete, etc.)
.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJViF3UAAoJEBzwKT+lPKRYa50QAL4XO58veYR0JgEJ7avjwAMD
wQ92F7tEaJJQ5IJB7f5bjDzfO43pZFzWE5g4pVthZt3wi0XdD/QUE6yigtRmPslF
UFf7wr4mCox4gWqOQnBoqvLLy9zizQLkC1A6JnUev8IHGG496DeLRPrsxtsmIn+x
NzWdRFsP2tgfyyADBagSz+Tg5V1KO0EmEsj+jBLAWGFHcGlqJe7BmGi4CIaiFy0r
kZu2YdLlZ+F+ZFoezNophTiXIvNEMjZE5bkUyu0uQNqFbquwuF7yBhIWMcCy9aJF
8OPRiBeBq7fiPcq4U2zTF2+BQ5r9183bGTCJR5G1UsWhMv+ppNCGDVwswdeCu4n7
oT5MaiJ1uQJUq6F8MOlXFJFacvgmVoO7Y9on9FijO+rkdKVFj0wzKEl0iJDLdHY2
5X9GAVl9bF5JHclEFHKE3/rOebQhh1btS+UH/cFkU6en51k7dvlKgNTOVY7U2m3Y
JKrtlN3ihBMuYJ0pbp1ioS2ZyqiU9ZVqD4qmJW+jWUTA7wP07EsmZDZm/5acMgxj
bdGwQU2+gePKu8AZQDyBmVBgUl5HxLS2Qyh8fR3Ew1QcQ4I+BSTCpCWCWUtqWOU7
/zTA4aS6t6WA7SlGzc8ypL7aflhd2TtNJmMnj11XDUZ6kj5nz7ytwKDCXNjwQETa
WkgaOvzGTV2Qy5aw1tAb
=8s3O
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org