Centos6.5 cpu 100%
Windows platform is OK.but Centos have problem( use 64Bit node0.12.x,node4.4.x,node6.6.x same problem )
server:
self.enetserver = enet.createServer({
address: {
address : "0.0.0.0",
port: 16882
},
peers: 256,
channels: 2,
down: 0,
up: 0
}
Client
self.enetserver = enet.createServer({
address: {
address : "0.0.0.0",
port: 16881
},
peers: 256,
channels: 2,
down: 0,
up: 0
}
I use this host connect server,send message by channel 0 ,Send three times.Server Sometimes redevie one or two,I restart client sample,The server no response. CPU 100%.
If client use
enet.createClient({})
to communication with server,it ok.But I need use enet.createServer to bind spec port.
Does changing peers/channels have any effect?
no effect.I use channel 0 or 1 cpu up to 100%
The problem is enableCompression,when close the feature,the problem solve.
Weird. Are all the libraries in your distribution up to date?
Yes,latest.