Topic
5 replies Latest Post - ‏2012-12-20T09:09:15Z by SystemAdmin
SystemAdmin
SystemAdmin
6772 Posts
ACCEPTED ANSWER

Pinned topic XML Names

‏2012-12-14T13:39:47Z |
Hi

I am trying to get an understanding of the XML Names on the DataPower. My concern is that it seems like we are about to hit the sealing on the Local Names. After a reload of the appliance we have only 12 % of the Local Names available and it does dip below 10 %, causing large number of entries in the logs.

Can anyone please give me some more insight into what uses the local names?

Thanks
Updated on 2012-12-20T09:09:15Z at 2012-12-20T09:09:15Z by SystemAdmin
  • HermannSW
    HermannSW
    4394 Posts
    ACCEPTED ANSWER

    Re: XML Names

    ‏2012-12-15T15:56:52Z  in response to SystemAdmin
    > ..., causing large number of entries in the logs.
    >
    what do you mean by that?
    May you please copy in some of the log messages you refer to?

    > Can anyone please give me some more insight into what uses the local names?
    >
    DataPower does no XML names cleanup as long as below the qcode-warn level.
    May you please give us the output of "show xml-names" and "show throttle"?

     
    Hermann<myXsltBlog/> <myXsltTweets/>
  • SystemAdmin
    SystemAdmin
    6772 Posts
    ACCEPTED ANSWER

    Re: XML Names

    ‏2012-12-18T08:02:12Z  in response to SystemAdmin
    Hi

    The messages in the log is throttler message. Below is a sample out of log entries in one minute.

    20121217T234701Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234706Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234711Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234717Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234722Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234727Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234732Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234738Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234743Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234748Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234753Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234759Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234804Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234809Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234814Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234820Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234825Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234830Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234835Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234841Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234846Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234851Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234856Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234902Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234907Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234912Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234917Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234923Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234929Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234934Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234939Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234945Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234950Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T234955Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.
    20121217T235000Z systemalert throttle(Throttler): tid(1039): Number of free XML Names is very low.

    As for the show xml-names and throttle the output is below.

    Type Used % Free Maximum
    ---- ----

    Local Names 59079 10 65535
    Prefix Names 639 99 65535
    URI Names 2507 96 65535

    throttle up

    admin-state enabled
    memory-throttle 20 %
    memory-terminate 5 %
    temp-fs-throttle 0 %
    temp-fs-terminate 0 %
    qcode-warn 10 %
    timeout 30 seconds
    status-log off
    status-loglevel debug
    sensors-log on
    backlog-size 0
    backlog-timeout 30 seconds

    I do understand the message are throttler related and that the appliance will try to claim them.

    I have two concerns. The first is the amount of entries in log files making support a problem. The second more important is having an understand what is pushing up the number of local names being used, so we can determine if there is a way that we can address this before we find ourselves in a space where he run out of XML names.

    Thanks,
    Tiaan
  • SystemAdmin
    SystemAdmin
    6772 Posts
    ACCEPTED ANSWER

    Re: XML Names

    ‏2012-12-19T15:12:35Z  in response to SystemAdmin
    OK.

    Was looking at an error report and I found what is stored as local names. There are lots of names that has to do with XML, SOAP and DataPower internal XML data. The part that I was scared of was that it also contains all the element names from all the XSDs for the WSPs that we have deployed.

    This means that the schema definition has an impact onto the appliance via the use of local XML names.
    • HermannSW
      HermannSW
      4394 Posts
      ACCEPTED ANSWER

      Re: XML Names

      ‏2012-12-20T08:56:31Z  in response to SystemAdmin
      Hi Tiaan,

      you should not see that many XML Names throttle messages.
      Normally only a few are shown and then the names get freed, something seems to be blocking XML Names freeing.

      Please execute "save internal-state" and download file "temporary:///internal-state.txt" from default domain.
      Then please do a planned reboot of the box.

      If above situation occurs again, please create a PMR and then Level2 support will collect the required artifacts from you.

       
      Hermann<myXsltBlog/> <myXsltTweets/>