Page MenuHomePhabricator

not a valid stream resource
Closed, InvalidPublic

Description

These are the versions I'm running:

My daemon logs are full of these errors. I was wondering if you might advise me on how to get rid of them.

[16-Aug-2016 13:44:02 America/Chicago] [2016-08-16 13:44:02] ERROR 2: fprintf(): 3 is not a valid stream resource at [/var/www/libphutil/src/console/PhutilConsoleServer.php:155]
[16-Aug-2016 13:44:02 America/Chicago] arcanist(head=stable, ref.master=fcc11b3a2781, ref.stable=18b27b03fa3d), phabricator(head=stable, ref.master=4e40b17acae3, ref.stable=83121f78980b), phutil(head=stable, ref.master=f43291e99d36, ref.stable=8aa8612a094b)
[16-Aug-2016 13:44:02 America/Chicago]   #0 fprintf(unknown type, string, string) called at [<phutil>/src/console/PhutilConsoleServer.php:155]
[16-Aug-2016 13:44:02 America/Chicago]   #1 PhutilConsoleServer::writeText(unknown type, array) called at [<phutil>/src/console/PhutilConsoleServer.php:39]
[16-Aug-2016 13:44:02 America/Chicago]   #2 PhutilConsoleServer::handleMessage(PhutilConsoleMessage) called at [<phutil>/src/console/PhutilConsole.php:204]
[16-Aug-2016 13:44:02 America/Chicago]   #3 PhutilConsole::writeMessage(PhutilConsoleMessage) called at [<phutil>/src/console/PhutilConsole.php:187]
[16-Aug-2016 13:44:02 America/Chicago]   #4 PhutilConsole::writeTextMessage(string, array) called at [<phutil>/src/console/PhutilConsole.php:153]
[16-Aug-2016 13:44:02 America/Chicago]   #5 PhutilConsole::writeLog(string, string, integer, string, string) called at [<phutil>/src/serviceprofiler/PhutilServiceProfiler.php:175]
[16-Aug-2016 13:44:02 America/Chicago]   #6 PhutilServiceProfiler::echoListener(string, integer, array)
[16-Aug-2016 13:44:02 America/Chicago]   #7 call_user_func(array, string, integer, array) called at [<phutil>/src/serviceprofiler/PhutilServiceProfiler.php:44]
[16-Aug-2016 13:44:02 America/Chicago]   #8 PhutilServiceProfiler::endServiceCall(integer, array) called at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:174]
[16-Aug-2016 13:44:02 America/Chicago]   #9 AphrontBaseMySQLDatabaseConnection::executeRawQuery(string) called at [<phutil>/src/xsprintf/queryfx.php:6]
[16-Aug-2016 13:44:02 America/Chicago]   #10 queryfx(AphrontMySQLiDatabaseConnection, string, string, string, array, string)
[16-Aug-2016 13:44:02 America/Chicago]   #11 call_user_func_array(string, array) called at [<phutil>/src/aphront/storage/connection/AphrontDatabaseConnection.php:32]
[16-Aug-2016 13:44:02 America/Chicago]   #12 AphrontDatabaseConnection::query(string, string, string, array, string) called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:1261]
[16-Aug-2016 13:44:02 America/Chicago]   #13 LiskDAO::insertRecordIntoDatabase(string) called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:1106]
[16-Aug-2016 13:44:02 America/Chicago]   #14 LiskDAO::insert() called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:1075]
[16-Aug-2016 13:44:02 America/Chicago]   #15 LiskDAO::save() called at [<phabricator>/src/applications/daemon/event/PhabricatorDaemonEventListener.php:80]
[16-Aug-2016 13:44:02 America/Chicago]   #16 PhabricatorDaemonEventListener::handleLogEvent(PhutilEvent) called at [<phabricator>/src/applications/daemon/event/PhabricatorDaemonEventListener.php:24]
[16-Aug-2016 13:44:02 America/Chicago]   #17 PhabricatorDaemonEventListener::handleEvent(PhutilEvent) called at [<phutil>/src/events/PhutilEventEngine.php:65]
[16-Aug-2016 13:44:02 America/Chicago]   #18 PhutilEventEngine::dispatchEvent(PhutilEvent) called at [<phutil>/src/daemon/PhutilDaemonHandle.php:237]
[16-Aug-2016 13:44:02 America/Chicago]   #19 PhutilDaemonHandle::dispatchEvent(string, array) called at [<phutil>/src/daemon/PhutilDaemonHandle.php:402]
[16-Aug-2016 13:44:02 America/Chicago]   #20 PhutilDaemonHandle::logMessage(string, string) called at [<phutil>/src/daemon/PhutilDaemonHandle.php:101]
[16-Aug-2016 13:44:02 America/Chicago]   #21 PhutilDaemonHandle::update() called at [<phutil>/src/daemon/PhutilDaemonOverseer.php:226]
[16-Aug-2016 13:44:02 America/Chicago]   #22 PhutilDaemonOverseer::run() called at [<phabricator>/scripts/daemon/launch_daemon.php:20]
[16-Aug-2016 13:44:02 America/Chicago] [2016-08-16 13:44:02] ERROR 2: fprintf(): 3 is not a valid stream resource at [/var/www/libphutil/src/console/PhutilConsoleServer.php:155]

Event Timeline

This report lacks reproduction steps, so I'm not sure how to reproduce the issue. We can't fix issues we aren't able to reproduce.

Bug reports need to include reproduction steps that work against a clean, up-to-date version of Phabricator. See Providing Reproduction Steps for help.

I understand where you're coming from, but the problem is I'm not sure what led to this happening so I'm not sure how to proceed. Can you tell me is there some information I could obtain for you that would be helpful? Otherwise would you recommend upgrading/reinstalling my instance?

To clarify these errors are being written to the logs continuously until the disk fills up and I have to delete the file. And, I'm not sure what triggered this behavior.

Sorry, we don't offer installation and setup help. See Support Resources for help understanding what kind of support is and isn't available from the upstream.

If you're able to come up with steps we can use to reproduce the issue, feel free to file a new report following the instructions in Contributing Bug Reports and Providing Reproduction Steps.

Not sure that you read my response. I wasn't asking for installation help. Please re-read.

Sorry! How could we rewrite Support Resources or Contributing Bug Reports to be more clear that we don't offer help diagnosing or troubleshooting issues like this?

Got it, sorry I missed that! Thanks for all the help you've been able to provide otherwise. If I figure out the root cause for this issue, I'll let you know. Thanks again!