-
Notifications
You must be signed in to change notification settings - Fork 18k
os/exec: understand 387 fd leak #7808
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
Comments
Nope, that doesn't fix it. Also, I can reproduce on the same machine with GO386 unset (normal linux/386 mode). Machine details, on EC2: Linux gobuilder387 3.11.0-15-generic #25-Ubuntu SMP Thu Jan 30 17:25:07 UTC 2014 i686 i686 i686 GNU/Linux DISTRIB_ID=Ubuntu DISTRIB_RELEASE=13.10 DISTRIB_CODENAME=saucy DISTRIB_DESCRIPTION="Ubuntu 13.10" $ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 23 model name : Intel(R) Xeon(R) CPU E5430 @ 2.66GHz stepping : 10 microcode : 0xa07 cpu MHz : 2659.994 cache size : 6144 KB fdiv_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu tsc msr pae mce cx8 mca cmov pat pse36 clflush dts mmx fxsr sse sse2 ss ht pbe nx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 lahf_lm dtherm tpr_shadow vnmi flexpriority bogomips : 5319.98 clflush size : 64 cache_alignment : 64 address sizes : 38 bits physical, 48 bits virtual power management: |
Good theory. I'm running now with GC disabled for that function (so no possibility of finalizers closing the fds) and putting in a small sleep before the lsof check. At 50 ms, I still saw a crash after a long run. I'll collect some more numbers with different sleep intervals and see if a bigger sleep causes a smaller percentage of failures. |
Seems like it's proc being slow. I'll make the test more robust. Owner changed to @bradfitz. |
CL https://golang.org/cl/90400044 mentions this issue. |
This issue was closed by revision 5600572. Status changed to Fixed. |
I'm current having the issue on build -> go version devel +79d9f48 Tue Feb 9 21:12:32 2016 +0000 linux/amd64 |
@pjbgtnj, this is the wrong place for this discussion. This bug was closed years ago. We do not use old issues. It's not even the same issue. |
Brad, Sorry - I'm new to this process and not sure where to respond to issues. ok os 0.273s On Tue, Feb 9, 2016 at 5:06 PM, Brad Fitzpatrick notifications@github.com
|
Please open a new issue On Wed, 10 Feb 2016, 22:36 pjbgtnj notifications@github.com wrote:
|
The text was updated successfully, but these errors were encountered: