Skip to content
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

much /proc/sys/net/* missing #1809

Closed
lscgzwd opened this issue Mar 24, 2017 · 4 comments
Closed

much /proc/sys/net/* missing #1809

lscgzwd opened this issue Mar 24, 2017 · 4 comments

Comments

@lscgzwd
Copy link

lscgzwd commented Mar 24, 2017

root@LUSHUNCHENG:/mnt/c/Windows/System32# sysctl -p
sysctl: cannot stat /proc/sys/net/unix/max_dgram_qlen: No such file or directory
sysctl: cannot stat /proc/sys/net/ipv4/tcp_mem: No such file or directory
sysctl: cannot stat /proc/sys/net/ipv4/tcp_wmem: No such file or directory
sysctl: cannot stat /proc/sys/net/ipv4/tcp_rmem: No such file or directory
sysctl: cannot stat /proc/sys/net/core/wmem_default: No such file or directory
sysctl: cannot stat /proc/sys/net/core/rmem_default: No such file or directory
sysctl: cannot stat /proc/sys/net/core/rmem_max: No such file or directory
sysctl: cannot stat /proc/sys/net/core/wmem_max: No such file or directory
sysctl: cannot stat /proc/sys/net/ipv4/tcp_syncookies: No such file or directory
sysctl: cannot stat /proc/sys/net/ipv4/tcp_max_syn_backlog: No such file or directory
sysctl: cannot stat /proc/sys/net/ipv4/tcp_synack_retries: No such file or directory
sysctl: cannot stat /proc/sys/net/ipv4/tcp_syn_retries: No such file or directory
sysctl: cannot stat /proc/sys/net/ipv4/tcp_fin_timeout: No such file or directory
sysctl: cannot stat /proc/sys/net/ipv4/tcp_keepalive_time: No such file or directory
sysctl: cannot stat /proc/sys/net/ipv4/tcp_tw_reuse: No such file or directory
sysctl: cannot stat /proc/sys/net/ipv4/tcp_tw_recycle: No such file or directory
sysctl: cannot stat /proc/sys/net/ipv4/ip_local_port_range: No such file or directory
sysctl: cannot stat /proc/sys/net/ipv4/tcp_max_tw_buckets: No such file or directory
sysctl: cannot stat /proc/sys/net/ipv4/route/max_size: No such file or directory

@aseering
Copy link
Contributor

aseering commented Mar 24, 2017

Hi @lscgzwd -- You're correct in some sense that sysctl is not supported: First, sysctl.conf is not loaded at boot because WSL does not boot (not in the traditional sense at least). Second, many files under /proc have not yet been implemented, so you can't set those things yet. However, some have been implemented (more in recent Insider builds -- it's an ongoing process, more are being implemented over time), and I imagine (though I haven't tested) that you could manage any that have been implemented using sysctl.

@lscgzwd
Copy link
Author

lscgzwd commented Mar 24, 2017

Thanks for you answer, I'm already have the latest build.

@tara-raj
Copy link

Please try a more recent Insiders Build and reopen this issue if you still hit these errors

@therealkenc
Copy link
Collaborator

therealkenc commented Aug 28, 2018

No come on. Repro is cat /proc/sys/net/ipv4/max_dgram_qlen etc. They all need to be stubbed. This blocks all manner of networking things. [ed] That first one is the cause of the warning message in the middle of the screencap here for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants