Intel® Edge Software Hub
Get answers from community peers to your questions about building Edge Software Hub solutions for edge compute node.
Announcements
Welcome to the Intel Community! If you like the answer to your question, please mark it as 'Accepted Solution' to help others.

The Edge Software Vision Package for Red Hat Enterprise Linux is now available here.

Learn more about developing on Intel® Hardware and Software here.
394 Discussions

Multiple video igestion containers not running

Smrithi
New Contributor I
1,269 Views

We have to deploy at least 10 video ingestion modules in a single server machine. When we were trying to deploy 6 of these video ingestion modules, only 5 modules are running. The sixth one is always in the pending state and SS of it is attached. The SS of the module allocation logs are also attached. We tried reducing the memory constraints to 500 MB, but it was still the same. How to solve this issue?

Labels (1)
0 Kudos
9 Replies
Murni_J_Intel
Moderator
1,254 Views

Hi @Smrithi 

This seems to be happening due to your current client node have insufficient resources for the extra container. if possible, you can increase the hardware resources and storage for it to accommodate the task. 

0 Kudos
Smrithi
New Contributor I
1,246 Views

When I tried to run 6 video ingestion modules in a setup having 8 cpu cores and 16 gb RAM, it was running fine and I was not facing any issues. But when I try to run the same setup in the server machine only 5 of these video ingestion containers are deployed. The configuration of the server machine I am deploying it in is 40gb RAM and it has 6 cpu cores. Does the number of cpu cores matter while deploying this?

0 Kudos
Snehal_Yesugade
Beginner
1,236 Views

Intel team,

We would like to know if we need to do some configuration changes for optimal usage of available hardware; as changing hardware is not so easy.

0 Kudos
Murni_J_Intel
Moderator
1,220 Views

Hi @Snehal_Yesugade 

 

May I get the current details of the device configuration and the current setting for your Video ingestion container? 

0 Kudos
Murni_J_Intel
Moderator
1,214 Views

Hi, 

You can check on your current configuration of generated csl_app_spec.json file for the resources allocation for the Video Ingestion container.

The resources section describes the CPU and memory resources required by the Software Module. The sum of required resources of all Software Modules deployed on a node should not exceed the capacity of that specific node. 

 

The value of the "CPU" attribute is in CPU milli units in the csl_app_spec.json. 1 CPU = 1000m. 

You can refer to this information at [WORK_DIR]/orchestrator/docs/module.pdf in the resources section.  You can modify this section for each of your VI containers to ensure it will not exceed the capacity of available CPUs on the node. 

 

 

0 Kudos
Smrithi
New Contributor I
1,211 Views

The configuration of the system we are using is that it has 40 GB RAM and 6 cpu cores. Is there any other specific system configuration that you would like to know? The value of the CPU attribute is 1000m for each 6 of the video ingestion containers, and the memory assigned to each of them is 500 MB in the resources field. 

0 Kudos
Snehal_Yesugade
Beginner
1,198 Views

Hi,

Resource section describes how much is allocated and not the required..........Am I correct?

If yes, then how to compute how much is required?

How much down can the configuration go?

0 Kudos
Murni_J_Intel
Moderator
1,181 Views

Hi @Snehal_Yesugade 

The problem with your setup that has been described previously was not able to run 6 VI containers on the same system. The error showing there is not enough CPU allocation for the requested deployment. In this case, you can manage the resource allocation for each of the deployed modules in csl_app_spec.json file as mentioned in the previous reply. 

The total resources of your deployed module describe in the csl_app_spec.json should match your actual hardware resources in order to run all your module in the same system. 

You can refer to the module.pdf file at [WORK_DIR]/orchestration directory.

Murni_J_Intel_0-1611544305587.png

as per the above example, you can change the CPU attributes for the Resources section to match your actual hardware resources. 

 

0 Kudos
Murni_J_Intel
Moderator
1,226 Views

Hi @Smrithi 

 

Yes, it will be counted because it will be used to load all the running applications. 

0 Kudos
Reply