#20657: Writing to /dev/null results in 100% cpu usage
------------------------+------------------------
Reporter: makedir@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: packages | Version: Trunk
Resolution: | Keywords:
------------------------+------------------------
Comment (by makedir@…):
{{{
root@wrtkue:~# ls -l /dev/null
crw-rw-rw- 1 root root 1, 3 Jan 1 1970 /dev/null
root@wrtkue:~# wget --no-check-certificate
https://m...:*password*@....de/s.../100mbtest.bin -O /dev/null
--2015-10-02 18:18:16-- https://m...:*password*@....de/s.../100mbtest.bin
Resolving m....de... 2a00...9::a8, 62...171
Connecting to ....de|2a0...9::a8|:443... failed: Permission denied.
Connecting to ....de|6...1|:443... connected.
WARNING: cannot verify ....de's certificate, issued by 'CN=...1':
Self-signed certificate encountered.
WARNING: certificate common name '...1' doesn't match requested host
name 'm....de'.
HTTP request sent, awaiting response... 401 Unauthorized
Authentication selected: Basic realm="...m"
Reusing existing connection to m...de:443.
HTTP request sent, awaiting response... 200 OK
Length: 104857600 (100M) [application/octet-stream]
Saving to: '/dev/null'
/dev/null 13%[=> ] 13.55M 2.95MB/s eta
30s ^C
root@wrtkue:~# ls -l /dev/null
crw-rw-rw- 1 root root 1, 3 Jan 1 1970 /dev/null
root@wrtkue:~#
}}}
Doing this results in 100% cpu usage of wget monitored via secon ssh
htop/top. Tested on three different WNDR3800 routers. It always caps
around ~2.9MB/s.
--
Ticket URL: <https://dev.openwrt.org/ticket/20657#comment:2>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets