Is there anyway to kill off persistent GRPC channels. We are seeing issues 
with so many connections being open.

On Wednesday, January 16, 2019 at 3:47:02 PM UTC-6 [email protected] wrote:

> Thanks for the reply Stanley. This information is helpful to us.
>
>
> On Tuesday, January 15, 2019 at 5:33:33 PM UTC-8, Stanley Cheung wrote:
>>
>>
>>
>> On Tue, Jan 15, 2019 at 11:35 AM jisooh via grpc.io <
>> [email protected]> wrote:
>>
>>> Hello,
>>>
>>> We want to start using PHP gRPC clients but have a question regarding 
>>> php-fpm and the grpc channel connections.
>>>
>>> When we send a request with PHP, php-fpm maintains a pool of workers to 
>>> deal with the request. When using gRPC channels, does the php process bring 
>>> up and down the gRPC channel with the worker lifecycle?
>>>
>>
>> Within a lifetime of a php-fpm worker, the grpc channel is reused. 
>>  
>>
>>>
>>> When create a channel, I see that you can create it with the following 
>>> option: grpc_target_persist_bound. Will php-fpm create and destroy a 
>>> channel on every request, or will the php channel be shared when sending 
>>> the same target is specified?
>>>
>>
>> The underlying grpc channel will be re-used.
>>  
>>
>>>
>>> Has anyone seen this issue, or had similar encounters when using PHP 
>>> gRPC with php-fpm? Thanks for any help.
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "grpc.io" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at https://groups.google.com/group/grpc-io.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/grpc-io/47aa16ba-9866-4b50-9ccb-2109c2d86815%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/grpc-io/47aa16ba-9866-4b50-9ccb-2109c2d86815%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/grpc-io/43a2edf7-6a5f-42a0-b725-abf7c6a8be27n%40googlegroups.com.

Reply via email to