You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2022/05/12 00:02:00 UTC

[jira] [Commented] (DAEMON-443) prunsrv writes gigabytes of null bytes to stderr

    [ https://issues.apache.org/jira/browse/DAEMON-443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17535141#comment-17535141 ] 

Gary D. Gregory commented on DAEMON-443:
----------------------------------------

Is this with 1.3.1?

> 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
>            Priority: Major
>
> 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)