-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using shared memory for sending data form library to daemon #189
Comments
@Manojcv55 Could you add explanation to this issue raised? Especially I need to understand your use case. Moreover, please take a look at #90. |
Hi @ssugiura |
@mvaradaraj Currently, DLT does not support shared memory as IPC for sending payload and header (only for payload is supported). Refer to #90 for more information. |
@Manojcv55 @mvaradaraj As reported by @votrungchi , currently we don't support shared memory as IPC and we don't have any plan to extend the feature. |
@Manojcv55 @mvaradaraj Any update from your side? |
@ssugiura Yes @votrungchi suggestions worked , but when applications using dlt comes first and then dlt-daaemon comes there is missing of logs . Could you please suggest anything on this issue |
@Manojcv55 Sorry for my late response. Could you give me the reproduction steps? Ideally, it should work, as library and daemon has their own internal buffer to store the logs when daemon/client is not available. If it reaches to the maximum size of each buffer, then it will rotate to overwrite old log messages. |
@ssugiura how many sockets will create if i use socket dlt version ? |
@Manojcv55 It will create one socket per DLT user. |
Hi
If I run dlt-dameon CPU percentage is high in socket version, did you face
same issue
…On Mon, Mar 2, 2020, 5:46 AM Saya Sugiura ***@***.***> wrote:
@Manojcv55 <https://github.com/Manojcv55> It will create one socket per
DLT user.
With FIFO daemon will create two pipes for logging and controlling:
[image: image]
<https://user-images.githubusercontent.com/39760799/75636933-5888c780-5c66-11ea-905a-ff074b7201cb.png>
On the other hand there is only one socket for unix socket:
[image: image]
<https://user-images.githubusercontent.com/39760799/75636928-4c9d0580-5c66-11ea-8b6f-64e2598b9c7e.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#189>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALANTWXNAF7YSBRVHHQSMB3RFL3E3ANCNFSM4JM6MMSQ>
.
|
@ssugiura I've never seen that issue. Does dlt-daemon internal log tells you anything? Sharing us the log itself would be very helpful. |
@Manojcv55 Any update on this? Having dlt-daemon internal logs will help us to proceed. |
Closing the issue since there's no update for long time. @Manojcv55 @mvaradaraj Please reopen this issue if the issue is not solved and you need any help from us. As written in previous comment, dlt-daemon internal logs would help us to understand the behavior. Thank you! |
No description provided.
The text was updated successfully, but these errors were encountered: