[jboss-jira] [JBoss JIRA] (WFLY-3202) Research behavior of fork with ProcessBuilder on modern JVMs

Brian Stansberry (JIRA) issues at jboss.org
Thu Jul 10 16:01:26 EDT 2014


    [ https://issues.jboss.org/browse/WFLY-3202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12984053#comment-12984053 ] 

Brian Stansberry commented on WFLY-3202:
----------------------------------------

Re: reason 2), it's more like

2) if the HC crashes
a) the server processes still have a process consuming their stdio streams
b) the PC can respawn it

> Research behavior of fork with ProcessBuilder on modern JVMs
> ------------------------------------------------------------
>
>                 Key: WFLY-3202
>                 URL: https://issues.jboss.org/browse/WFLY-3202
>             Project: WildFly
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>            Reporter: David Lloyd
>
> Right now our Process Controller exists for two primary reasons:
> # fork() misbehaves for large processes on some OSes, causing leaks or crashes
> # if the HC crashes, the PC can respawn it
> We have never (afaik) seen #2 happen.  We need to verify whether #1 is still true on modern JVMs on the following operating systems:
> * Linux
> * Solaris
> * IBM OSes
> * Windows
> * BSDs
> * Mac OS X
> Test by creating processes with large heap and lots of concurrent file descriptor activity while forking to see what happens.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jboss-jira mailing list