Comments (13)
@Manojcv55 Could you add explanation to this issue raised? Especially I need to understand your use case. Moreover, please take a look at #90.
from dlt-daemon.
Hi @ssugiura
Currently we are using integrity OS. Where file operations are costlier. So we trying to find alternative IPC mechanism (shared memory) instead of creating pipe.
is there a way for using shared memory as IPC mechanism (sending payload and header)?
from dlt-daemon.
@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.
BTW, Will the UNIX_SOCKET as IPC improve in your use case? Could you please give it a try? compile with -DDLT_IPC=UNIX_SOCKET.
from dlt-daemon.
@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.
Also, could you check if @votrungchi 's suggestion would work?
from dlt-daemon.
@Manojcv55 @mvaradaraj Any update from your side?
from dlt-daemon.
@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
from dlt-daemon.
@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.
from dlt-daemon.
@ssugiura how many sockets will create if i use socket dlt version ?
from dlt-daemon.
@Manojcv55 It will create one socket per DLT user.
With FIFO daemon will create two pipes for logging and controlling:
On the other hand there is only one socket for unix socket:
from dlt-daemon.
from dlt-daemon.
@ssugiura I've never seen that issue. Does dlt-daemon internal log tells you anything? Sharing us the log itself would be very helpful.
from dlt-daemon.
@Manojcv55 Any update on this? Having dlt-daemon internal logs will help us to proceed.
from dlt-daemon.
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!
from dlt-daemon.
Related Issues (20)
- How to send a sync_log_storage request and wait for a response HOT 2
- How do I compile a library to run on the android platform? HOT 1
- unit test error : linker command failed with exit code 1 HOT 2
- Contribute to DLT Daemon HOT 5
- NULL byte overflow in dlt_message_argument_print
- ENXIO Error When Opening Host FIFO File from Docker Container HOT 1
- Do FreeRTOS supports DLT Logging HOT 2
- QNX系统中,多个dlt.gz文件导出来之后,出现几个文件无法解压的问题 HOT 16
- heap-buffer-overflow in dlt_client_connect
- DLT-Multinode: Gateway does not recognize reset of passive node
- Message is lost in dlt-daemon.
- The log level of individual CTIDs cannot be modified through dlt control HOT 8
- How to run DLT by init.rc automatically on Android HOT 2
- All stored logs are the same log, with the same timestamp and content HOT 5
- Trace budgeting mechanism HOT 7
- On Linux,turned on compression function,when the first file reaches the storage limit, the size of the second file is always 0, and storage can not continues. HOT 6
- On Qnx,Setting the parameter GzipCompression=on will cause problems with the dlt-logstorage-ctrl display configuration file HOT 6
- Save file may cause mem leak HOT 16
- Log file generated has junk characters inbetween HOT 2
- Multiple Issues with dlt-daemon.service: System not booted with systemd, Configuration Errors, and Permission Issues HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dlt-daemon.