logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Memory next disconnected: msg#00051

Subject: Re: Memory next disconnected
On Apr 27, 2006, at 12:11, Gabriel Perez S. wrote:

Hi,

        I have a question about a memory size for socket conections. Whith a
POE::Component::Server::TCP module I make a server. In one test make 5000
conections in 10 minutes (test conections).

        After the test the memory is this:

$ cat /proc/3565/status  | egrep "^(State|VmSize|VmRSS)"
State:  S (sleeping)
VmSize:    9734 kB
VmRSS:     8120 kB

        Next of test conections is this:

$ cat /proc/3565/status  | egrep "^(State|VmSize|VmRSS)"
State:  S (sleeping)
VmSize:    14348 kB
VmRSS:     11180 kB


I delete all hash my hash create for work this conections. But I don't now why low memory next close all conections (I see in netstat don't exist any
conection to the server).

        Thanks.

Your report of increased memory use from POE::Component::Server::TCP is not the first. I suspect that recent patches to the module, or to POE::Filter modules, have introduced a memory leak.

--
Rocco Caputo - rcaputo@xxxxxxxxx




Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>