[GH-ISSUE #80] Windows版运行一天proxy.exe占用大约2g内存 #40

Closed
opened 2026-02-27 23:15:10 +03:00 by kerem · 13 comments
Owner

Originally created by @masterc24 on GitHub (May 18, 2018).
Original GitHub issue: https://github.com/snail007/goproxy/issues/80

开了一个http代理和一个sock5代理
http -t tcp -p :3128 --log ..\logs\http.log --daemon --forever
socks -t tcp -p :1080 --log ..\logs\sock5.log --daemon --forever

sock5代理的内存一直在涨

Originally created by @masterc24 on GitHub (May 18, 2018). Original GitHub issue: https://github.com/snail007/goproxy/issues/80 开了一个http代理和一个sock5代理 http -t tcp -p :3128 --log ..\logs\http.log --daemon --forever socks -t tcp -p :1080 --log ..\logs\sock5.log --daemon --forever sock5代理的内存一直在涨
kerem 2026-02-27 23:15:10 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@masterc24 commented on GitHub (May 18, 2018):

版本是4.7

<!-- gh-comment-id:390096985 --> @masterc24 commented on GitHub (May 18, 2018): 版本是4.7
Author
Owner

@snail007 commented on GitHub (May 18, 2018):

socks -t tcp -p 3128 这个命令格式不对吧.端口全面要有:

<!-- gh-comment-id:390098753 --> @snail007 commented on GitHub (May 18, 2018): socks -t tcp -p 3128 这个命令格式不对吧.端口全面要有:
Author
Owner

@masterc24 commented on GitHub (May 21, 2018):

有的有的,之前打错了

<!-- gh-comment-id:390531547 --> @masterc24 commented on GitHub (May 21, 2018): 有的有的,之前打错了
Author
Owner

@snail007 commented on GitHub (May 21, 2018):

什么版本的Windows,是不是win10?

<!-- gh-comment-id:390540461 --> @snail007 commented on GitHub (May 21, 2018): 什么版本的Windows,是不是win10?
Author
Owner

@masterc24 commented on GitHub (May 21, 2018):

不是win10,是windows server 2008 r2,今天用了goproxy-jui大约4个小时jvm内存溢出了,javaw进程自动关闭了

<!-- gh-comment-id:390540798 --> @masterc24 commented on GitHub (May 21, 2018): 不是win10,是windows server 2008 r2,今天用了goproxy-jui大约4个小时jvm内存溢出了,javaw进程自动关闭了
Author
Owner

@snail007 commented on GitHub (May 21, 2018):

只有socks?

<!-- gh-comment-id:390543433 --> @snail007 commented on GitHub (May 21, 2018): 只有socks?
Author
Owner

@masterc24 commented on GitHub (May 21, 2018):

两个,一个http一个socks,命令行用两个proxy.exe启动,jui版本的添加了两个服务,这样

<!-- gh-comment-id:390543645 --> @masterc24 commented on GitHub (May 21, 2018): 两个,一个http一个socks,命令行用两个proxy.exe启动,jui版本的添加了两个服务,这样
Author
Owner

@snail007 commented on GitHub (May 21, 2018):

只有socks占内存?

<!-- gh-comment-id:390543782 --> @snail007 commented on GitHub (May 21, 2018): 只有socks占内存?
Author
Owner

@masterc24 commented on GitHub (May 21, 2018):

是的,socks5有20多人在用

<!-- gh-comment-id:390543890 --> @masterc24 commented on GitHub (May 21, 2018): 是的,socks5有20多人在用
Author
Owner

@snail007 commented on GitHub (May 21, 2018):

看你启动命令http和socks监听都用的相同tcp端口,一个机器上不能这样吧

<!-- gh-comment-id:390548737 --> @snail007 commented on GitHub (May 21, 2018): 看你启动命令http和socks监听都用的相同tcp端口,一个机器上不能这样吧
Author
Owner

@masterc24 commented on GitHub (May 21, 2018):

不好意思啊,也是写错了,不是同一端口

<!-- gh-comment-id:390549939 --> @masterc24 commented on GitHub (May 21, 2018): 不好意思啊,也是写错了,不是同一端口
Author
Owner

@snail007 commented on GitHub (May 21, 2018):

问题已经定位,进Q群,我给你一个调试版本,你测试看看.

<!-- gh-comment-id:390568782 --> @snail007 commented on GitHub (May 21, 2018): 问题已经定位,进Q群,我给你一个调试版本,你测试看看.
Author
Owner

@masterc24 commented on GitHub (May 21, 2018):

好的

<!-- gh-comment-id:390570868 --> @masterc24 commented on GitHub (May 21, 2018): 好的
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/goproxy#40
No description provided.