English 中文(简体)
Socket Descriptor Leak - lsof Can t identification Protocol?
原标题:Socket Descriptor Leak - lsof Can t Identify Protocol?
  • 时间:2012-01-16 06:34:15
  •  标签:
  • sockets
  • lsof

当我指挥<代码>/usr/sbin/lsof-p 20085时,什么是“能够识别规程”。 <代码>lsof 如下所示:

leak 20085 niki 3910u  sock        0,5            2457507716 can t identify protocol
leak 20085 niki 3911u  sock        0,5            2457508136 can t identify protocol
leak 20085 niki 3912u  sock        0,5            2457509392 can t identify protocol
leak 20085 niki 3913u  sock        0,5            2457510457 can t identify protocol
leak 20085 niki 3915u  sock        0,5            2457510696 can t identify protocol
leak 20085 niki 3916u  sock        0,5            2457511180 can t identify protocol
leak 20085 niki 3917u  sock        0,5            2457511820 can t identify protocol
leak 20085 niki 3918u  sock        0,5            2457512402 can t identify protocol
leak 20085 niki 3919u  sock        0,5            2457513490 can t identify protocol
leak 20085 niki 3920u  sock        0,5            2457513493 can t identify protocol
leak 20085 niki 3921u  sock        0,5            2457643983 can t identify protocol
leak 20085 niki 3922u  sock        0,5            2457645099 can t identify protocol
leak 20085 niki 3923u  sock        0,5            2457645570 can t identify protocol
leak 20085 niki 3924u  sock        0,5            2457646223 can t identify protocol
leak 20085 niki 3911u  sock        0,5            2457508136 can t identify protocol
leak 20085 niki 3912u  sock        0,5            2457509392 can t identify protocol

以及为什么这种泄漏总是冲击0,5。

注:我正在编造三张书状,必须经常开张,除此以外,没有文件/书单,我正在接手约5000+,无法确定礼宾。 为什么如此?

Thanks.

最佳回答

Probably you are creating the sockets in your function call which is called in a loop, but the created socket is never closed and this results in a leak.

问题回答

暂无回答




相关问题
Max Outgoing Socket Connections in .NET/Windows Server

I have a slightly unusual situation where I m needing to maintain CLIENT tcp connections to another server for thousands of mobile users on my servers (basically the mobile devices connect to my ...

Determine the remaining TTL of a multicast packet in Java

If I have a Java program that listens to multicast data, how can I tell what the remaining TTL of the incoming datagram is? I know how to set the TTL on the sending multicast socket, but I want to ...

Python socket not receiving anything

I m trying to receive a variable length stream from a camera with python, but get weird behaviour. This is Python 2.6.4 (r264:75706) on linux(Ubuntu 9.10) The message is supposed to come with a ...

Connecting to a Source game server in VB.NET

I m developing an application that detects Source-based games running on the LAN. Following up on the specifications provided by Valve, I have it narrowed down to exactly what I want: making a UDP ...

What can cause select to block in Python?

Here s a snippet of code I m using in a loop: while True: print loop rlist, wlist, xlist = select.select(readers, [], [], TIMEOUT) print selected # do stuff At a certain point, ...

Socket.UseOnlyOverlappedIO?

Does anyone know what Socket.UseOnlyOverlappedIO does, and if so, does it affect performance? There seems to be no real explanation on MSDN. Thanks in advance.

热门标签