cancel
Showing results for 
Search instead for 
Did you mean: 

Maximum number of File channels in PI system?

Former Member
0 Kudos

Hi Experts

We are replacing a tool into PI system in my company, and because of this we have to create around 350 File (FTP to Unix Fileshare) Sender/Receiver channels. Already there are 100+ File channels running in production system. Is there a limit for having number of File channels in PI system?

please let us know if there is any parameter to check this limitation or ?

Thanks for your help and quick response on this is appreciated.

Thanks,

Giridhar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I don't think there is a limit to the number of sender channels you can create. But, you might encounter a slow performance if you create a large number of sender channels. Up to and including XI 3.0 SP13 each File Adapter sender channel permanently consumes a J2EE application thread. This might cause a perfoemance issue if there are large number of sender channels. To solve this issue, increase the number of configured J2EE application threads using the SAP J2EE Engine Config Tool ("cluster-data" -> "Global server configuration" -> "managers" -> "ApplicationThreadManager" -> "MaxThreadCount").

Starting with XI 3.0 SP14 / PI 7.0 application threads are allocated on demand by the File Adapter and returned to the thread

pool after it has finished the polling sequence, so thread shortage situations will typically occur much more rarely than with earlier SPs.

Refer to OSS Note 821267 for more details.

Regards,

TK

Answers (2)

Answers (2)

Senthilprakash1
Participant
0 Kudos

Hi Giridhar,

Its more of a design approach than limitations of PI.

There is no limitation of number of channels you create in PI. as a gentleman previously mentioned it might create performance issue as all the channels will be polling at a time to retrieve data.

few suggestions:

1. during design talk to the business team and try scheduling the channels. like every day 3hrs (morning 6am to9am) for few interfaces. and other business in evening 5 to 8 pm. (not everytime a business would be sending data. based on the region and other things they would have a time at which data transmission is high). -- this should be done in Prod only.

2. Keep the size of each message to optimal size 1 to max 5mb so that messages get processed fast.

3. configure the channels very proper with Connection mode : per file transfer .

4. in advanced mode set "ftp.timeout" parameter. this will ensure thread is released one the data transfer is complete/or time exceeds.

5. discuss with the business and set the max file size limit in file sender channel. ...etc

there are many other things you can do to manage large amount of channels (especially file channels) in PI system. this will give optimal performance of PI system overall.

Warm Regards,

Senthilprakash.

Former Member
0 Kudos

Hi,

There is no limit on the number of sender channels yo can create.

But if you create more sender channels, it will increase load on the server in trun leading to performance issue.

As discussed in the below blog, you can increase the number of threads for file adapter:

/people/sunil.singh13/blog/2009/03/30/adapter-specific-queues-in-pi

-Supriya.