You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Ryan Ernst (Jira)" <ji...@apache.org> on 2022/05/11 21:19:00 UTC
[jira] [Created] (DAEMON-443) prunsrv writes gigabytes of null bytes to stderr
Ryan Ernst created DAEMON-443:
---------------------------------
Summary: prunsrv writes gigabytes of null bytes to stderr
Key: DAEMON-443
URL: https://issues.apache.org/jira/browse/DAEMON-443
Project: Commons Daemon
Issue Type: Bug
Reporter: Ryan Ernst
When trying to start a non-existent service, procrun will write an enormous amount of null bytes to stderr. Since these are not printable, the problem is not normally seen in a terminal. However, if a wrapper script is used that captures stdout/stderr, the output file is over 8 GB.
Reproducing is quite simple:
{{prunsrv.exe //ES/my-dummy-service 2> test.err}}
The file test.err then has 8589934985 bytes. The printable characters are only a few lines of warn/error log messages.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)