IBM Support

PI62958: NO ERROR OR WARNING REPORTED IN THE SYNERGY GUI ALTHOUGH THE COPY TO FILESYSTEM FAILED TO COPY ALL THE FILES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Summary:
    When the "open files" setting (or file descriptor) is not high
    enough on the OS, some files might not be copied during the Copy
    to FileSystem operation.
    In such a case, no error or warning is reported in the Synergy
    GUI which is misleading.
    
    
    Problem Details:
    This can be reproduced with Synergy 7.2.1.5 on a linux server
    Run all the following operations on a Linux server.
    
    1) As ccm_root, create a default task, create an Integration
    Testing project and put about 10 000 objects in this project
    (you need a lot of files to have a chance to reproduce the
    problem)
    Complete the default task.
    
    2) As user X:
    a) Preparation: get the global File Descriptor numbers for a
    Synergy session, for this user X
    -From a user X terminal, start a Synergy Java GUI session
    -get the Synergy session PID running for this user X.
    Use "ccm monitor" or
    ps -ef | grep X | grep java
    
    -get the number of  File Descriptors YY used at this time by
    this Synergy session process:
    ls -al /proc/PID/fd | wc -l
    
    (replace PID by the PID of the Synergy session process)
    
    -stop the session
    
    
    b) Limit the File Descriptor numbers and reproduce the problem:
    -in the user X terminal, set the limit of the number of  File
    descriptor to the value YY reported in point 2-a above and add 6
    to it.
    Use "ulimit -n ..." set the max number of opened files per
    process.
    
    For example, if YY was equal to 130 in point 2-a, set the limit
    to 136.
    ulimit -n 136
    
    Note:
    You might have to try different values to be able to reproduce
    the problem.
    
    
    -In the user X terminal, start a synergy session
    -get the new Synergy session PID as described above.
    
    -check the max file descriptor on that process:
    cat /proc/PID/limits
    (replace PID by the PID of the Synergy session process)
    
    -get the number of  File descriptors used by the process:
    ls -al /proc/PID/fd | wc -l
    (replace PID by the PID of the Synergy session process)
    
    -Right click on the project with the 10000 objects and select
    "Copy to File system"/Members Only.
    => Do not do any other operation during that process.
    
    Wait until the process complete.
    
    
    Result observed:
    Once the Copy to File System is finished, in the Synergy GUI,
    Synergy reports "Copy to File System completed".
    => So it looks like the Copy to File System was successful.
    
    However:
    ---Some files were missing in the files copied by the Copy to
    File System operation.
    ---if you check the ccm_client.log you will find warnings such
    as:
    ###
    2016-05-17 11:57:43 Copying to file system 1/1, project
    snap00-1.1.1...
    2016-05-17 11:58:25 Warning: Sync failed for object
    'subdir42filename055.bin'
    2016-05-17 11:58:25 Warning: Sync failed for object
    'subdir61filename031.bin'
    2016-05-17 11:58:25 Warning: Sync failed for object
    'subdir61filename092.bin'
    2016-05-17 11:58:25 Copying to file system complete.
    ###
    
    ---The Synergy Web server logs reports error such as;
    ###
    2016-05-17T11:58:08.236+0100 WARNING:
    java.io.FileNotFoundException:
    /home/User/snap00/subdir61/subdir61filename092.bin (Too many
    open files) (Thread=11) {Standard Error}
    2016-05-17T11:58:08.236+0100 WARNING:   at
    java.io.FileOutputStream.open(Native Method) (Thread=11)
    {Standard Error}
    ....
    ###
    
    
    Result expected:
    Some files were not copied, so the Copy to File System operation
    has failed.
    Also, some Warnings were reported in the ccm_client.log and the
    Synergy Web server log.
    => So the message reported in the Synergy GUI should be:
    "Copy to File System failed"
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * GUI and CLI users                                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * NO ERROR OR WARNING REPORTED IN THE SYNERGY GUI ALTHOUGH THE *
    * COPY TO FILESYSTEM FAILED TO COPY ALL THE FILES              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Fixed in Synergy 7.2.1.5 ifix002.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI62958

  • Reported component name

    TLOGIC SYNERGY

  • Reported component ID

    5724V66SN

  • Reported release

    721

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-05-24

  • Closed date

    2016-10-13

  • Last modified date

    2016-10-13

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    TLOGIC SYNERGY

  • Fixed component ID

    5724V66SN

Applicable component levels

  • R721 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRNYG","label":"Rational Synergy"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"721","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 October 2021