I'm seeing this EXACT same issue on node 0.8.12
Previously, I was on 0.6.18 as well.

The dropped requests are intermittent and horrible, and I cannot find a 
reason.

On Thursday, September 27, 2012 11:50:52 AM UTC-7, Hugo wrote:
>
> * The server doesn't use fs.stat() under normal processing (aka certain 
> admin command will cause the server to use fs.stat but the command are 
> rarely used if ever)
> * We had set ulimit to unlimited as a precaution, I don't think this would 
> be an issue but I will keep an eye on netstat the next time we try out 
> v0.8.x
> * Yes, we log all incoming requests before any other processing, we listen 
> & log to the server's error event & and we log everything catched by the 
> 'uncaughtException' event.
>
> With the server not acknowledging the request there is isn't much to go 
> by...I think I'll try to reproduce monit's probe request issue with a 
> homegrown client, and investigate the problem from the client's perspective
>
> On Wed, Sep 26, 2012 at 4:33 PM, Murvin Lai <[email protected]<javascript:>
> > wrote:
>
>> Do you run any fs.stat()? there is a report from Node.js on Facebook 
>> today sayng there is a problem.  And v0.8.11 will be released tomorrow. 
>>
>> remote services.. you have to make sure you have large open file (ulimit) 
>> available.  However, based on your description about only 2-3 req/sec, that 
>> shouldn't be the case.  By, you can watch netstat for # of sockets in use.  
>>
>> missing request? hmmm do you log all request?  do you have 
>> process.on('uncaughtException', function(){}) to log anything thrown 
>> without going to the res?
>>
>>
>>
>>
>> On Tue, Sep 25, 2012 at 1:56 PM, Hugues Hardel <[email protected]<javascript:>
>> > wrote:
>>
>>> Hey Thanks for the reply Murvin: answers to your config questions below
>>>
>>> I should probably mention first that this is a small / low pressure 
>>> server (a small server with 256MB RAM is plenty to handle our traffic, 
>>> which realistically never amounts to more than than 2-3requests/sec when 
>>> very busy)
>>>
>>> - Running with default memory config
>>> - We're not running with socket.io or express or any other package with 
>>> production v. default configuration, so I'd have to say this probably 
>>> doesn't apply (unless I am misunderstanding your question?)
>>> - We run the node process without any system flags - as I understand 
>>> them both -nouse-idle-notification & -expose-gc can be used to optimize 
>>> garbage collection when GC is a problem but I don't have any reasons to 
>>> think that would be the case here
>>> - The server makes plenty of remote service calls if by service call you 
>>> mean http requests to 3rd party servers. What did you have in mind there?
>>> - Memory usage and cpu seemed normal before the glitch aka 30-40MB heap, 
>>> CPU in the low single digits (note that the server is still serving 
>>> requests after missing the probe request from monit - it simply seem to be 
>>> *missing* a request once in a while)
>>>
>>>
>>> On Tue, Sep 25, 2012 at 8:48 AM, Murvin Lai <[email protected]<javascript:>
>>> > wrote:
>>>
>>>> few things you may want to check.
>>>>
>>>> - are you running with default 1GB memory or increase to ~2GB?  
>>>> - default or production mode?
>>>> - I usually run with this flag:  node -nouse-idle-notification 
>>>> -expose-gc   myHttpServer.js
>>>> - does your server make any remote service call?
>>>>
>>>> and what is the CPU / memory usage during the glitch?
>>>>
>>>>
>>>> On Mon, Sep 24, 2012 at 4:54 PM, Hugo <[email protected] 
>>>> <javascript:>>wrote:
>>>>
>>>>> Confirmed :( I have been running almost 2 weeks with node 6.18 without 
>>>>> a glitch. With 0.8.9 I was seeing 2-3 issues per day at the minimum
>>>>>
>>>>> Unfortunately I don't have much of a diagnosis, I found out the issue 
>>>>> because I am monitoring the server with monit <http://mmonit.com> (it 
>>>>> tests the server with a basic http request that does nothing other than 
>>>>> acknowledging with a 200 code)
>>>>>
>>>>> For every failure, artifacts of the monit request was missing from the 
>>>>> logs - which leads me to believe that the server never acknowledged the 
>>>>> request(?)
>>>>>
>>>>> Note that the version of node is the only factor that was changed 
>>>>> between tests (same code, same server, same config for all components)
>>>>>
>>>>>
>>>>> Has anyone experience anything of a similar nature?
>>>>>
>>>>> -- 
>>>>> 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]<javascript:>
>>>>> To unsubscribe from this group, send email to
>>>>> [email protected] <javascript:>
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>>>>
>>>>
>>>>  -- 
>>>> 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]<javascript:>
>>>> To unsubscribe from this group, send email to
>>>> [email protected] <javascript:>
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>>>
>>>
>>>  -- 
>>> 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]<javascript:>
>>> To unsubscribe from this group, send email to
>>> [email protected] <javascript:>
>>> For more options, visit this group at
>>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>>
>>
>>  -- 
>> 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]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>
>
>

-- 
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

Reply via email to