<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CHANNELCNT / FILLM in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321152#M63395</link>
    <description>Based upon some processes I checked :&lt;BR /&gt;&lt;BR /&gt;FILLM : open files + all busy NET devices&lt;BR /&gt;&lt;BR /&gt;CHANNELCNT : fillm + the exe + files behind the exe + status blank devices (???) + BG devices + DCL.EXE + mbx&lt;BR /&gt;&lt;BR /&gt;Why wasn't this implemented more clearly ? E.g. mbxlm etc in authorize ?</description>
    <pubDate>Fri, 02 Jul 2004 02:52:35 GMT</pubDate>
    <dc:creator>Wim Van den Wyngaert</dc:creator>
    <dc:date>2004-07-02T02:52:35Z</dc:date>
    <item>
      <title>CHANNELCNT / FILLM</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321147#M63390</link>
      <description>Does anyone know why the system parameter CHANNELCNT exists ?&lt;BR /&gt;&lt;BR /&gt;As I understand it, it is some kind of maximum for FILLM (or am I wrong ?).&lt;BR /&gt;&lt;BR /&gt;I added a check for the usage of this parameter and found 3 nodes out of 140 that suffered from it (all processes that connect to many other nodes and I guess it is caused by network problems we had some day).&lt;BR /&gt;&lt;BR /&gt;How to check this quota ?&lt;BR /&gt;$ write sys$output f$getsyi("CHANNELCNT")&lt;BR /&gt;to get the maximum allowed.&lt;BR /&gt;&lt;BR /&gt;To get the highwatermark :&lt;BR /&gt;$ ana/sys&lt;BR /&gt;&amp;gt;set proc/id=xxxxx&lt;BR /&gt;&amp;gt;eval @CTL$GL_CHINDX&lt;BR /&gt;&amp;gt;exit&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Jul 2004 01:53:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321147#M63390</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-07-02T01:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: CHANNELCNT / FILLM</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321148#M63391</link>
      <description>Channelcnt refers to the number of files, mailboxes, devices opened.&lt;BR /&gt;Fillm is just the maximum number of files a process can open&lt;BR /&gt;&lt;BR /&gt;sda&amp;gt;eval @CTL$GL_CHINDX&lt;BR /&gt;gives you the number at the end of &lt;BR /&gt;sda&amp;gt; sh proc/chann&lt;BR /&gt;total number of open channels: &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Jul 2004 02:09:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321148#M63391</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2004-07-02T02:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: CHANNELCNT / FILLM</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321149#M63392</link>
      <description>in fact fillm concerns the maximum number of files and active network logical links.</description>
      <pubDate>Mon, 16 Sep 2024 09:33:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321149#M63392</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2024-09-16T09:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: CHANNELCNT / FILLM</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321150#M63393</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;CHANNELCNT dictates the size of a process table&lt;BR /&gt;in P1 space.  This is the maximum number of channels&lt;BR /&gt;that your process can have assigned at any one&lt;BR /&gt;time.&lt;BR /&gt;The channel number returned from $ASSIGN is just&lt;BR /&gt;an index into this table.  Because channels are&lt;BR /&gt;used for things other than just OPENs in high&lt;BR /&gt;level languages it doesn't always directly&lt;BR /&gt;relate to number of "files".  Channels are used&lt;BR /&gt;behind-the-scenes in various system services so&lt;BR /&gt;it is possible to have things hang or break for&lt;BR /&gt;no apparent reason until you look at things like&lt;BR /&gt;FILLM and CHANNELCNT and what was happening at&lt;BR /&gt;the time.&lt;BR /&gt;Exactly what problem are you seeing?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Jul 2004 02:26:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321150#M63393</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2004-07-02T02:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: CHANNELCNT / FILLM</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321151#M63394</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;If I'm not mistaken (working from fading memory here), the CHANNELCNT defines the size of the table in P1 space that holds the addresses of the CCBs (channel control blocks) used by the process.&lt;BR /&gt;You can find that table at CTL$GL_CCBBASE (at least on VAX). The channel number is an index in this table.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Kris</description>
      <pubDate>Fri, 02 Jul 2004 02:37:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321151#M63394</guid>
      <dc:creator>Kris Clippeleyr</dc:creator>
      <dc:date>2004-07-02T02:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: CHANNELCNT / FILLM</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321152#M63395</link>
      <description>Based upon some processes I checked :&lt;BR /&gt;&lt;BR /&gt;FILLM : open files + all busy NET devices&lt;BR /&gt;&lt;BR /&gt;CHANNELCNT : fillm + the exe + files behind the exe + status blank devices (???) + BG devices + DCL.EXE + mbx&lt;BR /&gt;&lt;BR /&gt;Why wasn't this implemented more clearly ? E.g. mbxlm etc in authorize ?</description>
      <pubDate>Fri, 02 Jul 2004 02:52:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321152#M63395</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-07-02T02:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: CHANNELCNT / FILLM</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321153#M63396</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;You wouldn't want a different limit for each file&lt;BR /&gt;type.  What is associated with the channel is&lt;BR /&gt;largely irrelevant.  It is the channel control&lt;BR /&gt;block that identifies what is channel is pointing&lt;BR /&gt;to.  All you need is for CHANNELCNT to be "large&lt;BR /&gt;enough" so that the process on the system that&lt;BR /&gt;has many channels assigned, Pathworks is a big&lt;BR /&gt;user of channels as is backup, can do its job&lt;BR /&gt;and that FILLM is set to a "bit less" than&lt;BR /&gt;CHANNELCNT to allow for those behind-the-scenes&lt;BR /&gt;assignments.&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Fri, 02 Jul 2004 03:04:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321153#M63396</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2004-07-02T03:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: CHANNELCNT / FILLM</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321154#M63397</link>
      <description>Was this prompted by this thread?&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=625161" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=625161&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you are not memory contrained then set it up to 4096 (adds 10 alpha (8k) memory pages to each process) and thats usually ok for most things. Can now be up to 64k channels if you want (old limit was 2047).&lt;BR /&gt;&lt;BR /&gt;The explainations so far say what it is. Why is  it there ? I guess its part of the VMS idea of having limits on the use of system resources by a process.</description>
      <pubDate>Fri, 02 Jul 2004 03:07:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321154#M63397</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2004-07-02T03:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: CHANNELCNT / FILLM</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321155#M63398</link>
      <description>David and Ian,&lt;BR /&gt;&lt;BR /&gt;I do not agree. Quotas are not invented to put on the maximum value. They are used to limit things.&lt;BR /&gt;&lt;BR /&gt;If I put channelcnt on 10.000 then all users can open 10.000 channels (e.g. mailboxes).&lt;BR /&gt;&lt;BR /&gt;I would like to see that I can :&lt;BR /&gt;1) limit the number of network connections a process can open&lt;BR /&gt;2) limit the number of mailboxes&lt;BR /&gt;3) limit the number of files the process opens (not exe, not .com, not dcl)&lt;BR /&gt;&lt;BR /&gt;BTW : what are NET devices that have a blank status ?&lt;BR /&gt;and of course, per user, not on system level.</description>
      <pubDate>Fri, 02 Jul 2004 03:12:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321155#M63398</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-07-02T03:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: CHANNELCNT / FILLM</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321156#M63399</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;On my desktop Alpha I have CHANNELCNT=8192 and&lt;BR /&gt;my UAF entry has FILLM=8000.  If you set your&lt;BR /&gt;CHANNELCNT to 10000 and your FILLM to 1000, how&lt;BR /&gt;many files will you be able to open?&lt;BR /&gt;CHANNELCNT puts an absolute limit on the number&lt;BR /&gt;of channels a process can use.  This structure&lt;BR /&gt;is NOT dynamic therefore it needs to be known&lt;BR /&gt;when the process is created so the space can be&lt;BR /&gt;allocated.  The FILLM entry in the UAF can be&lt;BR /&gt;different for each user.  Since FILLM can be&lt;BR /&gt;easily changed, setting a large CHANNELCNT and&lt;BR /&gt;changing FILLM should not present any problems.&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Fri, 02 Jul 2004 03:21:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321156#M63399</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2004-07-02T03:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: CHANNELCNT / FILLM</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321157#M63400</link>
      <description>The post of David makes me think at CTLPAGES&lt;BR /&gt;It is only a system parameter (no uaf&amp;gt; mod user/ctlpages=...), and if one user needs a high Ctlpages, you must raise it.&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Jul 2004 03:28:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321157#M63400</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2004-07-02T03:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: CHANNELCNT / FILLM</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321158#M63401</link>
      <description>I would also like to add :&lt;BR /&gt;1) documentation is bad&lt;BR /&gt;CHANNELCNT specifies the number of permanent I/O channels&lt;BR /&gt;available to the system.&lt;BR /&gt;&lt;BR /&gt;This special parameter is used by Compaq and is subject to&lt;BR /&gt;change. Do not change this parameter unless Compaq recommends&lt;BR /&gt;that you do so.&lt;BR /&gt;-&amp;gt; on almost all system you MUST modify it&lt;BR /&gt;2) default of 256 is too low</description>
      <pubDate>Fri, 02 Jul 2004 03:30:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321158#M63401</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-07-02T03:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: CHANNELCNT / FILLM</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321159#M63402</link>
      <description>I agree the documentation needs an update and the default needs reconsidering (probably been 256 for a long time now). If you contact hp (try openvmsdoc@hp.com) then the VMS documentation writers will add it to their long list.</description>
      <pubDate>Fri, 02 Jul 2004 03:41:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321159#M63402</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2004-07-02T03:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: CHANNELCNT / FILLM</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321160#M63403</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I do not agree. Quotas are not invented&lt;BR /&gt;&amp;gt;to put on the maximum value. They are &lt;BR /&gt;&amp;gt;used to limit things.&lt;BR /&gt;&lt;BR /&gt;  Regardless of your agreement, CHANNELCNT is not a "quota". It's a system parameter for sizing a data structure used to hold CCBs. CCBs are held in a simple, statically allocated array of fixed sized entries in P1 space. Enteries are accessed by an index. It's sized the same for all processes, that's why it's a system parameter. Some systems need more than others. The default is certainly too small for todays systems, and the maximum value has been increased a few times over the last few versions.&lt;BR /&gt;&lt;BR /&gt;  Now, you could propose an open ended type of structure, say a linked list, instead of a table, so it was unnecessary to impose a limit or preallocate space, but that naturally takes up more space and is more difficult to manage. CCBs are not very large, only 32 bytes, so a more complex structure would increase the structural overhead (2x64 bit pointers would take it up to 48 bytes) and increase the possibility of errors (broken links, allocation failures etc...)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I would like to see that I can :&lt;BR /&gt;&amp;gt;1) limit the number of network connections a process can open&lt;BR /&gt;&amp;gt;2) limit the number of mailboxes&lt;BR /&gt;&amp;gt;3) limit the number of files the process opens (not exe, not .com, not dcl)&lt;BR /&gt;&lt;BR /&gt;  These would need to be per-process quotas held in the UAF, not system parameters.&lt;BR /&gt;&lt;BR /&gt;  Personally I can't see a lot of merit in having per-channel-type limits. Just a whole lot more knobs that can, and would be set wrong. Very few system managers really know how many mailboxes a particular process uses, let alone how many is "reasonable". Similarly for network links, files, mapped sections or any of the numerous other consumers of CCBs. It would be just another set of unwanted errors to bump up against.&lt;BR /&gt;&lt;BR /&gt;  Quotas really only have one purpose - to prevent accidental or malign consumption of system resources from affecting other processes. For trusted, debugged code they're superfluous. &lt;BR /&gt;&lt;BR /&gt;  For most systems CHANNELCNT of 1024 is usually more than adequate. For systems running Advanced Server, Web servers, data bases or other connection intensive software, you may need to increase CHANNELCNT, but rarely over (say) 8192. Most instances of depletion are due to leaks.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Jul 2004 23:07:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321160#M63403</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2004-07-02T23:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: CHANNELCNT / FILLM</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321161#M63404</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;Then lets get rid of DIOlimit and so. Nobody needs them. Make it system limits (they almost are because the minimum is defined is sysgen).&lt;BR /&gt;&lt;BR /&gt;My point is that you put all the limits in sysuaf or none. Now they are 90% in sysuaf, 10% in sysgen (or hardcoded ?). But above all, channelcount is a limit that makes fillm incorrect. If I get a fillm of 1000, I don't want channelcnt to appear.&lt;BR /&gt;&lt;BR /&gt;And, if a limit is incorrectly implemented on system level instead of process limit, it should be rewritten.&lt;BR /&gt;&lt;BR /&gt;Wim&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Jul 2004 09:36:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/channelcnt-fillm/m-p/3321161#M63404</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-07-06T09:36:24Z</dc:date>
    </item>
  </channel>
</rss>

