Alfredo,

I have developed non-zc system where two processes working with one
network interface independently using pfring_* API,
and I want to migrate to pfring-zc.
But if one process opens interface, other process can't open same
device with error "Device or resource busy".

Can I use one network interface independently in two processes in zc mode?

Ilya.

2014-08-31 18:36 GMT+04:00 Alfredo Cardigliano <[email protected]>:
> Hi Ilya
> if a process leaves a queue/cluster in an inconsistent state (i.e. it does 
> not call pfring_zc_ipc_detach_*),
> the queue cannot be resumed. Please note that this should be an exception and 
> handled as such (restarting the cluster)
>
> Alfredo
>
> On 31 Aug 2014, at 16:28, Ilya Gavrilov <[email protected]> wrote:
>
>> Hello,
>>
>> If process that uses pfring_zc_ipc_attach_queue (like zbounce_ipc)
>> crashed (for example with 9 signal or OOM killer) and doesn't call
>> pfring_zc_ipc_attach_queue at exit, next call
>> pfring_zc_ipc_attach_queue in new process with same parameters will be
>> failed.
>>
>> I don't want to restart process which creates zc_ipc_queue,
>> is there a way to reopen zc_ipc_queue after crash?
>>
>> Ilya.
>> _______________________________________________
>> Ntop-misc mailing list
>> [email protected]
>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to