-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
only getting partial du console output in cloud #889
Comments
I thought this might be explained by work done in #781. To test this theory with 1.0.4, I disabled the Nagle algorithm by adding This was the command I ran, where I didn't receive any console messages at all:
But, if I added SCOPE_EVENT_FS=false to this same command, I did receive a single console message in my cloud instance of Stream. This is good, but the contents of the console message was not complete. So is AppScope capturing all of the console information? This proves to me that we are capturing all console data. After running this command, and inspecting /tmp/eventout I could see that all of the console data is present (spread across 7 different console events):
So it appears that either AppScope isn't sending all the console data over tls, or Stream isn't receiving, processing, or presenting it all. |
tested with 1.1. i am getting console data at a cloud connection: |
I agree with iapaddler, that this ticket is no longer needed. I changed two things from a couple of days ago:
I think the TCP_QUICKACK (from 8c5b798) must be making the difference! woot! |
With AppScope 1.0.3 on an x86_64 ec2 machine running Ubuntu 18.04.6 LTS
And with a cloud instance with this System Information:
After configuring appscope to send to my stream cloud instance over tls, I was looking at console output events with stream.
LD_PRELOAD=lib/linux/x86_64/libscope.so ps -ef
LD_PRELOAD=lib/linux/x86_64/libscope.so df -h
LD_PRELOAD=lib/linux/x86_64/libscope.so du -h
The for the first two commands, all console data which was output to the local terminal made it to the cloud instance (observed by doing a live capture of the AppScope Source in Stream). The last command had some console output make it to the cloud instance but not all.
I retried with SCOPE_CONNECT_TIMEOUT_SECS=10 and it did not change the behavior.
The du command in question output quite a few lines to the console:
The amount that made it to the cloud instance:
The text was updated successfully, but these errors were encountered: