Skip to main content

Toolchain used for Inter Process Communication (IPC) on python platform.

Project description

Sync Functionalities

Repository where classes and functions used to share elements within python are stored. Once a shared object is created and initilized with data, all the data stored in that object must have the same type.

IPC channels

The system maximum POSIX queues size is defined by RLIMIT_MSGQUEUE constant used on posix library. It also can be checked by means of ulimit -q command. Default value is 819200 bytes. It determines the number of queues allowed: num_queues = RLIMIT_MSGQUEUE/num_msg_per_queue/max_msg_size

The maximum length of a message sent through POSIX queue is define in the file: cat /proc/sys/fs/mqueue/msgsize_max

Can be change using the command: sudo sh -c 'echo 500 > /proc/sys/fs/mqueue/msgsize_max'

The maximum number of a messages allocated in a POSIX queue is define in the file: cat /proc/sys/fs/mqueue/msg_max Can be change using the command: sudo sh -c 'echo 400 > /proc/sys/fs/mqueue/msg_max'

The parameters max_msg and max_message_size given to SysShdIpcChanC must be lower that ones specified on Linux files.

For further information, check the Github Issue: Change default values for message queue

Co-authors: Roberto Aldea, Javier Sanz, Marius Crisan

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rfb_shared_tool-0.0.6.tar.gz (48.2 kB view hashes)

Uploaded Source

Built Distribution

rfb_shared_tool-0.0.6-py3-none-any.whl (35.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page