Hi Artem,

Thanks for the detailed reply. I have provided part of the yml below. I 
have console logging disabled currently. 
I'll try out the suggestions provided and also examine the metrics for 
logging provided by Dropwizard. Will report back with insights shortly. 
Thanks.

http:
port: 8080
adminPort: 8081
logging:
console:
enabled: false
threshold: INFO
file:
enabled: true
threshold: INFO
currentLogFilename: /var/log/rtr/dfs/dfs.log
archivedLogFilenamePattern: /var/log/rtr/dfs/dfs-%d.log.gz
archivedFileCount: 5
timeZone: UTC
smtp-logger:
enabled: true
server: ...
sender: ...
recipients: ...
subject: "%X{hostname} [%level, %X{env}, %X{code}] \"%msg\""
body: "%X{context}%n%n"
threshold: ERROR
On Tuesday, April 18, 2017 at 4:57:02 PM UTC-4, [email protected] 
wrote:
>
> Hi Dropwizard Users,
>
> We recently upgraded one of our query services to Dropwizard 0.8.4. 
> Previously we were on Dropwizard6. 
> With an increased load on the service, the # of waiting threads continued 
> to increase beyond the set default limit of 1024. Eventually our 
> application tipped over and resulted in a *java.lang.OutOfMemoryError: 
> unable to create new native thread*. This was expected as the dw-* thread 
> count was increasing when I checked via curl *http://localhost 
> <http://localhost>:<admin port>/threads *and the number of dw-* threads 
> and WAITING threads increased. 
>
> I have shared the thread dumps below..
>
> 1. https://drive.google.com/open?id=0B2IzsO0HbvslYzhBT3RvUG5WOWc
>
> 2. https://drive.google.com/open?id=0B2IzsO0HbvslODVlNUFweGpsREk
>
> It seems like quite a few threads are waiting on the log.info statement 
> and we suspect it could be the culprit here. 
>
>     at ch.qos.logback.classic.Logger.info(Logger.java:608)
>
>
> Has anyone else come across this issue with an upgrade? It looks http 
> request specific (and not really database related) Any insights or tips 
> would greatly help us as we continue to investigate the issue.
> Another observation - don't see any 500 http error codes in the stage 
> requests.log. In the QA environment, we do see many 500s as expected for 
> bad requests. 
>
> Thanks
> Sonya
>

-- 

This email message, including any attachment(s), is intended only for the 
named recipient(s) and may contain confidential, proprietary or legally 
privileged information. Unauthorized individuals or entities are not 
permitted access to this information. Any dissemination, distribution, 
disclosure, or copying of this information is unauthorized and strictly 
prohibited. If you have received this message in error, please advise the 
sender by reply email, and delete this message and any attachments.

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-user" 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/d/optout.

Reply via email to