This error is fixed here:

http://stackoverflow.com/questions/16476783/node-js-ssl-server-frozen-high-cpu-not-crashed-but-no-connections

It's related with the limit of files a process is able to open in linux. I 
wrote it my self so if you need any help please tell me.

Thanks a lot!

On Friday, 10 May 2013 08:57:01 UTC+2, Javier Cobos wrote:
>
> Hi,
>
> I hope anyone could help me with this issue.
>
> In our company we are setting up a node.js server, connected to a Java 
> Push server.
>
> I'm using https module instead of http and SLL certificates.
>
> The connection between node and clients is made by socket.io, in server 
> and client.
>
> At the same time the node.js server is client of the java server, this 
> connection is being made with regular sockets (net.connect). 
>
> The idea is that users connect to the server, join some channels, and when 
> some data arrive from java server, this is dispatched to the corresponding 
> users.
>
> Everything seems to work fine, but after a while, like randomly, having 
> like between 450 and 700 users, the server's CPU reaches 100%, all the 
> connections are broken, but the server is not crashed. The thing is that if 
> you go to the https://...  in the browser, you are not getting 404 or 
> something like that but SSL connection error, and its really fast.
>
> I tried to add logs everywhere, but there's not something like a pattern, 
> its like random.
>
> If anybody have the same problem or could bring me a clue, or a tip to 
> debug better, I'll appreciate anything.
>
> Thanks a lot.
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to