tysonnorris commented on issue #3151: invoker should not reuse warm container 
of a deleted action
URL: 
https://github.com/apache/incubator-openwhisk/issues/3151#issuecomment-356053280
 
 
   @rabbah I confirmed that the container is not reused when code is changed; 
   
   However what I see in the logs of our env is that the container is reused 
between 3 and 20 times, but always eventually generates a 
`ConnectionError(java.net.SocketException: Connection reset)` error after 
unpause when the action is run. From log timestamps it looks like the 
ConnectionError comes after about 12s since the /run is sent to the container, 
not sure if that is meaningful, but typically the action takes only a few ms to 
run successfully.
   
   This happens with a monitoring system that creates an action, executes it, 
and then deletes it, which operates every 5 minutes. I expect the container to 
be reused "indefinitely", since the 10 minute "unused" limit is not reached, 
and there is not additional traffic in the system (to cause the container to 
get destroyed so other actions can run). 
   
   It does NOT happen (no Connection reset errors) if the action is created 
each time with a unique name. 
     

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to