{"action":"created","issue":{"url":"https://api.github.com/repos/aptalca/docker-jdownloader2/issues/4","labels_url":"https://api.github.com/repos/aptalca/docker-jdownloader2/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/aptalca/docker-jdownloader2/issues/4/comments","events_url":"https://api.github.com/repos/aptalca/docker-jdownloader2/issues/4/events","html_url":"https://github.com/aptalca/docker-jdownloader2/issues/4","id":125940051,"number":4,"title":"Memory leak in rdp server ?","user":{"login":"tokyis","id":6498212,"avatar_url":"https://avatars.githubusercontent.com/u/6498212?v=3","gravatar_id":"","url":"https://api.github.com/users/tokyis","html_url":"https://github.com/tokyis","followers_url":"https://api.github.com/users/tokyis/followers","following_url":"https://api.github.com/users/tokyis/following{/other_user}","gists_url":"https://api.github.com/users/tokyis/gists{/gist_id}","starred_url":"https://api.github.com/users/tokyis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tokyis/subscriptions","organizations_url":"https://api.github.com/users/tokyis/orgs","repos_url":"https://api.github.com/users/tokyis/repos","events_url":"https://api.github.com/users/tokyis/events{/privacy}","received_events_url":"https://api.github.com/users/tokyis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-11T13:06:46Z","updated_at":"2016-01-12T04:42:40Z","closed_at":"2016-01-12T04:42:40Z","body":"Here is my `top` sorted by memory usage:\r\n\r\n      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                      \r\n    22601 nobody    24   4 8643m 8.4g 6292 S    6 53.6  65:52.67 X11rdp :1 -bs -ac -nolisten tcp -geometry 1280x720 -depth 16 -uds             \r\n    22709 nobody    20   0 9716m 775m 5548 S   12  4.8 152:45.77 /usr/bin/java -Dinstall4j.jvmDir=/usr -Dexe4j.moduleName=/config/jd2/JDownload\r\n\r\nIt appears the Guacamole / rdp server is hogging quite a bit of memory.\r\nSome details:\r\n-I start the app\r\n-Memory usage is around a 100k\r\n-I connect to the app using chrome without hitting ok, still 100k\r\n-I hit ok, jdownloader shows up, and the X11rdp process starts grabbing memory at a bit less than 1MB/s until I close the connection.\r\n\r\nFeels like it's buffering its output as long as there is space in memory, once memory use reaches 75% it seems to stop, is that expected behaviour ?"},"comment":{"url":"https://api.github.com/repos/aptalca/docker-jdownloader2/issues/comments/170788284","html_url":"https://github.com/aptalca/docker-jdownloader2/issues/4#issuecomment-170788284","issue_url":"https://api.github.com/repos/aptalca/docker-jdownloader2/issues/4","id":170788284,"user":{"login":"tokyis","id":6498212,"avatar_url":"https://avatars.githubusercontent.com/u/6498212?v=3","gravatar_id":"","url":"https://api.github.com/users/tokyis","html_url":"https://github.com/tokyis","followers_url":"https://api.github.com/users/tokyis/followers","following_url":"https://api.github.com/users/tokyis/following{/other_user}","gists_url":"https://api.github.com/users/tokyis/gists{/gist_id}","starred_url":"https://api.github.com/users/tokyis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tokyis/subscriptions","organizations_url":"https://api.github.com/users/tokyis/orgs","repos_url":"https://api.github.com/users/tokyis/repos","events_url":"https://api.github.com/users/tokyis/events{/privacy}","received_events_url":"https://api.github.com/users/tokyis/received_events","type":"User","site_admin":false},"created_at":"2016-01-12T04:42:40Z","updated_at":"2016-01-12T04:42:40Z","body":"1) I use /mnt/user with share set to cache only\r\n\r\n2) Well thinking back to it, it probably was caused by me running the New Permissions tool in the webgui, it's supposed to fix and unify permissions on all the disks (some windows backups were giving me trouble), but it strips the exec bit from all the files as well.\r\nJdownloader was probably running at the time and when I restarted it after an update it failed to restart, I pointed the finger at JDownloader messing up its permissions but it seems the error was between the seat and the keyboard.\r\n\r\n3)I tried IE and FF, same thing.\r\n\r\n4)Well that did it, I didn't try it before because the last time I tried to backup my settings it failed but this time it worked (probably due to \"2)\"), at first I thought I would try reinstalling in /mnt/user to see if it was just a problem with the current install and not so much the location, and it worked, it's holding at 0.2%, and I recovered my 6TB download list and settings from the backup just fine.\r\n\r\nI can't figure out what went on to end up with rdp behaving that way but I'll blame my noobness with unraid and grovel in apology for wasting your time. ^^"}}