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

memory leak 问题 #18

Open
GoogleCodeExporter opened this issue Jun 8, 2015 · 7 comments
Open

memory leak 问题 #18

GoogleCodeExporter opened this issue Jun 8, 2015 · 7 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.用ab进行压力测试. ab -c 100 -n 1000 http://192.168.13.38:8080/
2.调用 shutdown()关机
3.产生泄露
{91756} normal block at 0x00AC9428, 16 bytes long.
 Data: <0 B  RB         > 30 FF 42 00 90 52 42 00 00 00 00 00 01 00 00 00 
{642} normal block at 0x0155CDD8, 24 bytes long.
 Data: <             RB > E8 13 00 00 20 06 00 00 10 06 00 00 90 52 42 00 

What is the expected output? What do you see instead?
泄露只是在多用户情况下出现,单线程时没有问题.另外有时候
,服务不能退出.阻塞在
SP_IocpServer :: ~SP_IocpServer()
{
...
    for( ; mIsRunning; ) sleep( 1 );
}
What version of the product are you using? On what operating system?

ver 0.9.4

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 7 Apr 2009 at 11:19

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

1 participant