Mail: postfix/pipe : warning: pipe_command_write: write time limit ..

Anyone run into the following situation:
1) "postfix/pipe : warning: pipecommandwrite: write time limit exceeded" error messages start showing up in system.log
2) The postfix queue starts filling up with mail to be delivered for a particular user. User reports that mail is not being delivered.
3) The user has a hung IMAPd process that refuses to die. kill -9 <pid> does not work for the process, and a hard reset of the server is needed (push the button since shutdown hangs due to the hung imapd process) to get things back in order. Also, a reconstruct of the users mailbox seems to smooth things out after the reboot.
The postfix/pipe message seems to indicate that postfix is unable to deliver the mail, which is why it's sitting in the queue. I'm guessing that the hung IMAPd process has locked out the users mailbox, or something of that nature.
Right now, I have a script that tails the system.log, grep's for these messages and sends me an email with the contents of the postfix queue. This helps alert me to the situation, but it would be nice to either fix it or get a better idea of what's going on.
The user usually affected by this is using Mail.app on 10.4.11.
Thanks in Advance,
Flatrack

YESSSSS!!! I am having this same problem on a server that I'm administering. Talk about incredibly frustrating. I'm seeing the exact same behavior:
One user's IMAP process gets hung up and gradually takes down the entire service. No amount of Force Quitting or "kill"-ing will work...that process just keeps on staying hung up. And soft restarting is ineffective.
In my case, it is the same user every time. I had it happen once in January (while I was out of town, of course), then not again until 3-4 times this past Thursday-Saturday (yep, the server knew I was out of town again). End user told me today that he'd had to force quit Mail several times recently...during the same timeframe as the hangups. I have done some major cleaning up, overhauling, and mailbfr-ing of this user's account, and will be watching it like a hawk for some time to come, but the main problem I see is:
*SO WHAT* if a lone user's account gets corrupted?!?! Or if the end user jerks the rug out from under Mail by Force Quitting?!?! In NO WAY should that cause such a problem that the server won't even soft restart or allow that IMAP process to be killed. This is causing me a large Mac OS X Server credibility headache right now. My tech liaison and I have been gradually transitioning from PC + Exchange Server to Mac + Leopard Server, and having a single user's fouled up email account bring down the whole works is NOT acceptable.
What can we do to further fix/debug/repair this? Of course the user account can be rebuilt, but this should not be taking the entire IMAP service down and then not allowing the server to restart or kill off the process.
Fred

Similar Messages

  • Warning  : log write time 7706 , size 2KB

    Below are the contents of the lgwr trace file:
    Warning: log write time 4040ms, size 1KB
    *** 2010-01-06 11:28:03.962
    Warning: log write time 3680ms, size 8KB
    *** 2010-01-06 11:28:42.510
    Warning: log write time 4010ms, size 1KB
    *** 2010-01-06 11:28:50.576
    Warning: log write time 8060ms, size 18KB
    *** 2010-01-06 11:28:58.582
    Warning: log write time 8010ms, size 2KB
    *** 2010-01-06 11:29:06.609
    Warning: log write time 8020ms, size 36KB
    *** 2010-01-06 11:29:10.626
    Warning: log write time 4010ms, size 3KB
    *** 2010-01-06 11:29:18.653
    Warning: log write time 8030ms, size 7KB
    *** 2010-01-06 11:29:26.704
    Warning: log write time 8050ms, size 3KB
    *** 2010-01-06 11:29:30.737
    Warning: log write time 4030ms, size 5KB
    *** 2010-01-06 11:29:38.495
    Warning: log write time 7760ms, size 2KB
    User insert takes forever, Note 601316.1 states that this can be ignored but the problem still persist
    KK

    The MOS note says also to check for some OS issue such as disk too slow. Did you check this ?

  • On RAID 10 - How to relieve Log Writer Slow Write Time Trace Files

    We have a DELL 8 CPU 5460 3.16Ghz Xeon with Dell Open Manage RAID 10 array
    Oracle 10g 10.2.0.4 on RedHat EL 5 with
    filesystemio_options='' (DEFAULT)
    disk_asynch_io='TRUE' ( NOT DEFAULT)
    Running 2 instances 64 bit 10g 10.2.0.4 with an app that does a lot of row updates and uses BLOBs heavily.
    Our storage (RAID 10) is presented through a single mount point.
    I periodically see these messages in a lgwr trc file as follows
    Warning: log write time 560ms, size 5549KB
    *** 2010-02-25 17:22:24.574
    Warning: log write time 650ms, size 6759KB
    *** 2010-02-25 17:22:25.103
    Warning: log write time 510ms, size 73KB
    *** 2010-02-25 20:33:00.015
    Warning: log write time 540ms, size 318KB
    *** 2010-02-25 20:35:17.956
    Warning: log write time 800ms, size 5KB
    Note that most of these are larger chunks of data.
    Our log wait histogram is as follows:
    106 log file parallel write 1 465780158
    106 log file parallel write 2 5111874
    106 log file parallel write 4 5957262
    106 log file parallel write 8 2171240
    106 log file parallel write 16 1576186
    106 log file parallel write 32 1129199
    106 log file parallel write 64 852217
    106 log file parallel write 128 2092462
    106 log file parallel write 256 508494
    106 log file parallel write 512 109449
    106 log file parallel write 1024 55441
    106 log file parallel write 2048 11403
    106 log file parallel write 4096 1197
    106 log file parallel write 8192 29
    106 log file parallel write 16384 5
    In discussions with the group that builds and maintains the systems (DBA's do not) we have asked for more spindles / hba's / mount points to address this issue. We have been advised that since the RAID 10 spreads the I/Os across multiple drives this is not going to affect the situation.
    Our thoughts are that multiple HBAs going to separate RAID 10 devices would help relieve the pressure.
    Thank you.

    Is this an internal RAID array? Is it composed of SCSI (SAS) or SATA drives? How many drives are in the array?
    Does the RAID controller have a built in battery backed cache (some of Dell's RAID controllers have 128MB, 256MB, or 512MB of battery backed cache). If the RAID controller has a battery backed cache, consider disabling the caching of all read operations, and set the write policy to write-back (see: http://support.dell.com/support/edocs/software/svradmin/5.1/en/omss_ug/html/cntrls.html ).
    Charles Hooper
    Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
    http://hoopercharles.wordpress.com/
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • Mails to 1 particular user is getting bounced - Command time limit exceeded

    I've about 100 mail clients. Since yesterday morning, I've had one user whose incoming emails have been getting bounced. I've run a "mailbfr -m user" w/o success. The server is current on updates and has been restarted. All other users are functioning correctly. Notes:
    -IMAP account
    -This user has a 4GB Sent folder. All other folders are under 2GB.
    -This user has recently starting syncing Notes from a Blackberry.
    THE SMTP LOG:
    Oct 7 08:26:52 myserver postfix/pipe[488]: D1BCE11CE230: to=<[email protected]>, relay=cyrus, delay=1000, delays=0.01/0/0/1000, dsn=5.3.0, status=bounced (Command time limit exceeded: "/usr/bin/cyrus/bin/deliver")
    A PORTION OF THE BOUNCE EMAIL SENT TO SENDER:
    This is the mail system at host myserver.com.
    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.
    For further assistance, please send mail to postmaster.
    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.
    The mail system
    <[email protected]>: Command time limit exceeded:
    "/usr/bin/cyrus/bin/deliver"
    Reporting-MTA: dns; myserver.com
    X-Postfix-Queue-ID: AD79711CE1DD
    X-Postfix-Sender: rfc822; [email protected]
    Arrival-Date: Thu, 7 Oct 2010 08:07:57 -0700 (PDT)
    Final-Recipient: rfc822; [email protected]
    Original-Recipient: rfc822;[email protected]
    Action: failed
    Status: 5.3.0
    Diagnostic-Code: x-unix; internal software error
    Any help?

    Solved. This person was in-process of moving Blackberry notes to the imap account. There was an interruption during the transfer phase and the server's Notes folder became bad somehow. When Mailbfr hit that particular folder, it stopped the rebuild process.
    I removed the Notes folder and ran Mailbfr again. The Notes folder was recreated and the rebuild function completed.
    Mail delivery has been restored to this user.

  • Oracle Performance 11g - Warning: log write elapsed time

    Hello ,
    We are facing quite bad performance with our SAP cluster running Oracle 11g .
    In the ora alert file we are having constant message for "
    Thread 1 cannot allocate new log, sequence xxxxxx
    Private strand flush not complete"
    However , this seems to be quite old as we have recently started facing the performace issue.
    Moreover , in the sid_lgwr_788.trc file we are getting warning for log write elapsed time as follow.
    *** 2013-07-25 08:43:07.098
    Warning: log write elapsed time 722ms, size 4KB
    *** 2013-07-25 08:44:07.069
    Warning: log write elapsed time 741ms, size 32KB
    *** 2013-07-25 08:44:11.134
    Warning: log write elapsed time 1130ms, size 23KB
    *** 2013-07-25 08:44:15.508
    Warning: log write elapsed time 1161ms, size 25KB
    *** 2013-07-25 08:44:19.790
    Warning: log write elapsed time 1210ms, size 10KB
    *** 2013-07-25 08:44:20.748
    Warning: log write elapsed time 544ms, size 3KB
    *** 2013-07-25 08:44:24.396
    Warning: log write elapsed time 1104ms, size 14KB
    *** 2013-07-25 08:44:28.955
    Warning: log write elapsed time 1032ms, size 37KB
    *** 2013-07-25 08:45:13.115
    Warning: log write elapsed time 1096ms, size 3KB
    *** 2013-07-25 08:45:46.995
    Warning: log write elapsed time 539ms, size 938KB
    *** 2013-07-25 08:47:55.424
    Warning: log write elapsed time 867ms, size 566KB
    *** 2013-07-25 08:48:00.288
    Warning: log write elapsed time 871ms, size 392KB
    *** 2013-07-25 08:48:04.514
    Warning: log write elapsed time 672ms, size 2KB
    *** 2013-07-25 08:48:08.788
    Warning: log write elapsed time 745ms, size 466KB
    Please advice to further understand the issue.
    Regards

    Hi,
    Seem the I/O issue, Check the metalink id
    Intermittent Long 'log file sync' Waits, LGWR Posting Long Write Times, I/O Portion of Wait Minimal (Doc ID 1278149.1)

  • Error while executing a report : Time limit exceeded

    Hello Experts,
    i have executed a report  and it took long time and finally throw an error saying that time limit is exceeded ,
    please suggest how to resolve the problem
    Thanks in Advance
    Nitya

    Hi Nitya H,
    There are many resons behind Time out issue.
    It is better to find where exaclty, our report is taking more time.
    Below are the some of the bottle necks we need to monitor for time out issue:
    1) OLAP query generation time.
    2) F4 Search time.
    3) Read Cache.
    4) Write Cache.
    Above features we can monitor @ RSRT transaction.
    If OLAP query generation time is taking much time means ,pls regenerate the query @ RSRT.
    For F4 search ,keep mater data as data retrival target.
    For Read Cache and Write Cache increase the query memory @ RSRT.
    Plse check the report and let me know if there is other bottle necks for query execution....
    _Note:_ This is just a high level view but we can have many performance drills...like Free char ,complex calculated key fig...etc..
    Hope this may helps you...
    Cheers,
    Maruthi

  • Help creating a script to move users in and out of an OU based on a time limit

    Here's my scenario: we currently have OUs based on the locations of our facilities, we also have a sub-OU(?) underneath it for users that need a group policy applied to them where whitelist applications allowed to run. From time to time we have need to pull
    users out of that sub-OU for a short period of time to let them run applications they normally wouldn't be able to and won't need to run long term. Sometimes we also forget to add these people back into that policy controlled sub-OU because we get busy do
    other things. Server is 2008 R2.
    Here's what I'm looking for: A script that prompts for the users name, pulls that user out of the sub-OU, puts them in the main OU but only for 24 hours. After that time limit is up, a script/command runs that puts the user back in the policy controlled
    sub-OU. I'm thinking a PS script would be the best way to do this.
    Research: Looking at these posts here and here I'm
    thinking I should be able to Frankenstein something together but I have very limited PS scripting experience.
    Can anyone help me create this?

    You've probably figured this out, but we're not typically in the business of writing complete solutions for people. With that said, there are projects I find particularly interesting, such as this one, where I am willing to help get someone started if they
    are willing to take the time to work through the examples and learn from them.
    You have two requests - one is a script that prompts for a user it then moves to a different  location in Active Directory. The second request is a way to move them back without manual interaction. This will require an automated task (scheduled task)
    that will run at select times during a day.
    Here's the first script (1/2): The first two lines set two different variables. The first line sets the $OUPath variable to the SubOU. The second line prompts for a user and, once a user is entered, sets that user to the $User variable. It then runs the
    first try-catch, attempting to replace the $User variable with the data returned from the Get-ADUser cmdlet. Notice the use of the -Properties parameter. By default the modified date and the extensionAttributes are not returned. We will be using the modified
    date so we can be certain that 24 hours passes before we move them back (see part 2/2). Including extensionAttribute13 will ensure we only move users out of the OU if they were moved in by the script. Note: The modified date on a user in AD is changed when
    it is moved from one OU to another. If the user cannot be located in the first try-catch it will say it cannot locate the user in Active Directory. If it can locate it, it will set the $User variable, as described so far, and then move on.
    In the second (or, nested) try-catch we split the user's DistingusihedName at the first comma so that we have two parts. We use the second part (that doesn't include their CN) and see if that matches the $OUPath variable. If it does match then that user
    has already been moved. If it doesn't match then we 1. Move the user, 2. Replace extensionAttribute13 with the string 'MovedUser,' and 3. Output that the user has been moved.
    $OUPath = 'OU=SubOU,OU=MainOU,DC=mydomain,DC=com'
    $User = Read-Host -Prompt 'Enter SamAccountName'
    try {
    $User = Get-ADUser -Identity $User -Properties Modified,extensionAttribute13
    try {
    If ($User.DistinguishedName.Split(',',2) -eq $OUPath) {
    Write-Output -Verbose 'User already moved.'
    } Else {
    Move-ADObject -Identity $User.DistinguishedName -TargetPath $OUPath
    Set-ADUser -Identity $User.SamAccountName -Replace @{extensionAttribute13='MovedUser'}
    Write-Output "'$($User.SamAccountName)' has been moved."
    catch {
    Write-Output "'$($User.SamAccountName)' cannot be moved."
    catch {
    Write-Output -Verbose "Unable to locate '$User' in Active Directory."
    The second script (2/2): Here we also set a couple variables - one is the SubOU's DistinguishedName where we want to return the user and the other is the all of the users from the MainOU. Foreach user in $Users we check if their extensionAttribute13 is set
    to 'MovedUser' and if their modified date is greater than or equal (-ge) to 24 hours. If it is, the script will move the user, clear extensionAttribute13, and let us know the user was moved. If for some reason your $OUPath variable is wrong, the script will
    run the catch portion of the only try-catch we used in this script. Again, you'll have to schedule Task Scheduler to run this script. Good luck!
    $OUPath = 'OU=MainOU,DC=mydomain,DC=com'
    $Users = Get-ADUser -Filter * -SearchBase $OUPath -Properties Modified,extensionAttribute13
    Foreach ($User in $Users) {
    $TimeSince = New-TimeSpan -Start $User.Modified -End (Get-Date)
    If ($User.extensionAttribute13 -eq 'MovedUser' -and $TimeSince.Hours -ge 24) {
    try {
    Move-ADObject -Identity $User.DistinguishedName -TargetPath $OUPath
    Set-ADUser -Identity $User.SamAccountName -Clear extensionAttribute13
    Write-Output "$($User.SamAccountName) has been moved."
    catch {
    Write-Output "$($User.SamAccountName) cannot be moved."
    } Else {
    Write-Output 'No Users to move.'
    If you decide to use this, be sure to change the paths you use for the $OUPath variables. Also, if you're using this with PowerShell 2.0, you will need to use the Import-Module cmdlet to import the ActiveDirectory module. In versions above 2.0 it will be
    imported automatically if you try to use an AD cmdlet.
    Edit: Typo - Get-ADUser property

  • Send a mail to the vendor at the time of approval with the attachment of PO

    Hi all,
    I want to send a mail to the vendor at the time of approval by attaching the pdf of that particular PO.
    How can I achieve this?
    I know the User Exit where the code should be written.
    But I want the solution for attaching the PDF of PO at the time of approval.
    Please help me in this regard.
    Edited by: vinil kumar aturi on Mar 16, 2009 7:52 AM

    Hi,
    Try Following Code to Send mail as PDF Attachment
    In this
    Smart form Name : ZSMART_MM_003
    This will send mail to EMAIL ADDRESS SPECIFIED IN VENDOR MASTER FK03
    This code is written for ME23n so we used nast-objky(10) for purchase order no you may replace it with your purchase order no
    and smart form name with your smart form name
    *-- Send Mail---
    *-- Function Module Call to get Customer Address (Email)--
    DATA: VENDOR TYPE ELIFN,
          ADDRNO TYPE ADRNR.
    DATA: atab-mail TYPE STRING.
    SELECT SINGLE LIFNR FROM EKKO INTO VENDOR WHERE EBELN = nast-objky(10).
    SELECT SINGLE ADRNR FROM LFA1 INTO ADDRNO WHERE LIFNR = VENDOR.
    TYPE-POOLS: szadr.
    DATA adr_kompl TYPE szadr_addr1_complete.
    DATA adr1 TYPE szadr_addr1_line.
    DATA adtel TYPE szadr_adtel_line.
    DATA admail TYPE szadr_adsmtp_line.
    DATA adfax TYPE szadr_adfax_line.
    CALL FUNCTION 'ADDR_GET_COMPLETE'
           EXPORTING
                addrnumber              = ADDRNO
           IMPORTING
                addr1_complete          = adr_kompl
           EXCEPTIONS
                parameter_error         = 1
                address_not_exist       = 2
                internal_error          = 3
                wrong_access_to_archive = 4
                OTHERS                  = 5.
    Mail
      LOOP AT adr_kompl-adsmtp_tab INTO admail.
        MOVE admail-adsmtp-smtp_addr TO atab-mail.
      ENDLOOP.
    if sy-subrc = 0.
      DATA: FILENAME TYPE STRING.
      CONCATENATE 'PurchaseOrder' nast-objky INTO FILENAME SEPARATED BY '-'.
      DATA: MESSAGELINE1 TYPE STRING,
            MESSAGELINE2 TYPE STRING.
    CONCATENATE 'Do you want to send ' FILENAME ' through E-mail to' into MESSAGELINE1.
    CONCATENATE atab-mail '?' into MESSAGELINE2.
      data: answer    TYPE c.
      CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
           EXPORTING
                defaultoption = 'N'
                textline1     = MESSAGELINE1
                textline2     = MESSAGELINE2
                titel         = ' '
                start_column  = 35
                start_row     = 10
           IMPORTING
                answer        = answer.
      IF answer EQ 'J' OR answer EQ 'Y'.
    Code to find Contact person
        DATA: CONTACT TYPE EVERK.
        SELECT SINGLE VERKF FROM EKKO INTO CONTACT WHERE EBELN = nast-objky(10).
    Internal Table declarations
        DATA: I_OTF TYPE ITCOO OCCURS 0 WITH HEADER LINE,
              I_TLINE TYPE TABLE OF TLINE WITH HEADER LINE,
              I_RECEIVERS TYPE TABLE OF SOMLRECI1 WITH HEADER LINE,
              I_RECORD LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
    Objects to send mail.
              I_OBJPACK LIKE SOPCKLSTI1 OCCURS 0 WITH HEADER LINE,
              I_OBJTXT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
              I_OBJBIN LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
              I_RECLIST LIKE SOMLRECI1 OCCURS 0 WITH HEADER LINE,
    Work Area declarations
              WA_OBJHEAD TYPE SOLI_TAB,
              W_CTRLOP TYPE SSFCTRLOP,
              W_COMPOP TYPE SSFCOMPOP,
              W_RETURN TYPE SSFCRESCL,
              WA_DOC_CHNG TYPE SODOCCHGI1,
              W_DATA TYPE SODOCCHGI1,
              WA_BUFFER TYPE STRING, "To convert from 132 to 255
    Variables declarations
              V_FORM_NAME TYPE RS38L_FNAM,
              V_LEN_IN LIKE SOOD-OBJLEN,
              V_LEN_OUT LIKE SOOD-OBJLEN,
              V_LEN_OUTN TYPE I,
              V_LINES_TXT TYPE I,
              V_LINES_BIN TYPE I.
              DATA :  s_control_parameters TYPE ssfctrlop,
                      s_output_options     TYPE ssfcompop.
                      s_control_parameters-getotf = 'X'.
                      s_control_parameters-no_dialog = 'X'.
                      s_control_parameters-preview   = 'X'.
                      s_output_options-tdnoprint = 'X'.
                      s_output_options-tdimmed   = ''.
                      s_output_options-tddest = 'LP01'.        "Spool: Output device
                      s_output_options-tdreceiver = sy-uname.
                      s_output_options-tdcover = ''.
             CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
             EXPORTING
                FORMNAME = 'ZSMART_MM_003'
             IMPORTING
               FM_NAME = V_FORM_NAME
             EXCEPTIONS
               NO_FORM = 1
               NO_FUNCTION_MODULE = 2
               OTHERS = 3.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
             W_CTRLOP-GETOTF = 'X'.
             W_CTRLOP-NO_DIALOG = 'X'.
             W_COMPOP-TDNOPREV = 'X'.
             CALL FUNCTION V_FORM_NAME
             EXPORTING
                CONTROL_PARAMETERS = s_control_parameters
                OUTPUT_OPTIONS = s_output_options
                USER_SETTINGS = ''
                nast          = nast
                WA_ADDRESS    = WA_ADDRESS
             IMPORTING
                JOB_OUTPUT_INFO = W_RETURN
             TABLES
                addtel  = it_addtel
                addsmtp = it_addsmtp
             EXCEPTIONS
                FORMATTING_ERROR = 1
                INTERNAL_ERROR = 2
                SEND_ERROR = 3
                USER_CANCELED = 4
                OTHERS = 5.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Convert SMartform to pdf
          I_OTF[] = W_RETURN-OTFDATA[].
          CALL FUNCTION 'CONVERT_OTF'
          EXPORTING
            FORMAT = 'PDF'
            MAX_LINEWIDTH = 132
          IMPORTING
            BIN_FILESIZE = V_LEN_IN
          TABLES
            OTF = I_OTF
            LINES = I_TLINE
          EXCEPTIONS
           ERR_MAX_LINEWIDTH = 1
           ERR_FORMAT = 2
           ERR_CONV_NOT_POSSIBLE = 3
           OTHERS = 4.
    IF SY-SUBRC <> 0.
    ENDIF.
          LOOP AT I_TLINE.
            TRANSLATE I_TLINE USING '~'.
            CONCATENATE WA_BUFFER I_TLINE INTO WA_BUFFER.
            ENDLOOP.
            TRANSLATE WA_BUFFER USING '~'.
            DO.
              I_RECORD = WA_BUFFER.
              APPEND I_RECORD.
              SHIFT WA_BUFFER LEFT BY 255 PLACES.
              IF WA_BUFFER IS INITIAL.
                EXIT.
                ENDIF.
                ENDDO.
    Attachment
                REFRESH: I_RECLIST,
                I_OBJTXT,
                I_OBJBIN,
                I_OBJPACK.
                CLEAR WA_OBJHEAD.
                I_OBJBIN[] = I_RECORD[].
    Create Message Body Title and Description
                I_OBJTXT = 'Sir, '.
                APPEND I_OBJTXT.
                I_OBJTXT = ''.
                APPEND I_OBJTXT.
                I_OBJTXT = 'Please Find Attached '.
                APPEND I_OBJTXT.
                I_OBJTXT = FILENAME.
                APPEND I_OBJTXT.
                I_OBJTXT = 'For your reference'.
                APPEND I_OBJTXT.
                I_OBJTXT = ''.
                APPEND I_OBJTXT.
                I_OBJTXT = 'Regards'.
                APPEND I_OBJTXT.
                I_OBJTXT = CONTACT.
                APPEND I_OBJTXT.
    *Mail Subject
                DESCRIBE TABLE I_OBJTXT LINES V_LINES_TXT.
                READ TABLE I_OBJTXT INDEX V_LINES_TXT.
                WA_DOC_CHNG-OBJ_NAME = 'Purchase Order'.
                WA_DOC_CHNG-EXPIRY_DAT = SY-DATUM + 10.
                WA_DOC_CHNG-OBJ_DESCR = 'Purchase Order'.
                WA_DOC_CHNG-SENSITIVTY = 'F'.
                WA_DOC_CHNG-DOC_SIZE = V_LINES_TXT * 255.
    Main Text
                CLEAR I_OBJPACK-TRANSF_BIN.
                I_OBJPACK-HEAD_START = 1.
                I_OBJPACK-HEAD_NUM = 0.
                I_OBJPACK-BODY_START = 1.
                I_OBJPACK-BODY_NUM = V_LINES_TXT.
                I_OBJPACK-DOC_TYPE = 'RAW'.
                APPEND I_OBJPACK.
    Attachment (pdf-Attachment)
                I_OBJPACK-TRANSF_BIN = 'X'.
                I_OBJPACK-HEAD_START = 1.
                I_OBJPACK-HEAD_NUM = 0.
                I_OBJPACK-BODY_START = 1.
                DESCRIBE TABLE I_OBJBIN LINES V_LINES_BIN.
                READ TABLE I_OBJBIN INDEX V_LINES_BIN.
                I_OBJPACK-DOC_SIZE = V_LINES_BIN * 255 .
                I_OBJPACK-BODY_NUM = V_LINES_BIN.
                I_OBJPACK-DOC_TYPE = 'PDF'.
                I_OBJPACK-OBJ_NAME = 'smart'.
                I_OBJPACK-OBJ_DESCR = FILENAME.
                APPEND I_OBJPACK.
                CLEAR I_RECLIST.
                I_RECLIST-RECEIVER = atab-mail.
                I_RECLIST-REC_TYPE = 'U'.
                APPEND I_RECLIST.
                CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
                EXPORTING
                  DOCUMENT_DATA = WA_DOC_CHNG
                  PUT_IN_OUTBOX = 'X'
                  COMMIT_WORK = 'X'
                TABLES
                    PACKING_LIST = I_OBJPACK
                    OBJECT_HEADER = WA_OBJHEAD
                    CONTENTS_BIN = I_OBJBIN
                    CONTENTS_TXT = I_OBJTXT
                    RECEIVERS = I_RECLIST
                EXCEPTIONS
                    TOO_MANY_RECEIVERS = 1
                    DOCUMENT_NOT_SENT = 2
                    DOCUMENT_TYPE_NOT_EXIST = 3
                    OPERATION_NO_AUTHORIZATION = 4
                    PARAMETER_ERROR = 5
                    X_ERROR = 6
                    ENQUEUE_ERROR = 7
                    OTHERS = 8.
    IF SY-SUBRC <> 0.
    WRITE:/ 'Error When Sending the File', SY-SUBRC.
    ELSE.
    WRITE:/ 'Mail sent'.
    ENDIF.
    Regards
    Nausal

  • HT3529 i cant add new mail fir I message as every time i add and tyep pass for Apple ID the email still not add to be reached by i message

    i cant add new mail fir I message as every time i add and tyep pass for Apple ID the email still not add to be reached by i message.
    Pls i need to validate my mail adress [email protected] to send and recieve Imessage from my iphone.
    Islam fouad
    +966554948283

    i cant activate Imessage in my iPhone as every time i write my Appel ID and the Password the message appear the User id or password incorrect but 100% sure that its correct.
    Pls feed me back

  • Error "time limit Exceed"?"

    hi Experts,
    What to do when a load is failing with "time limit Exceed"?

    Hi,
    Time outs can be due to many reasons.  You will need to find out for your specific build.  Some of the common ones are:
    1. You could have set a large packet size.  See in the monitor whether the number of records in one packet seem inordinately large, say 100,000.  Reduce the number in steps and see which ones work for you.
    2.  The target may have a large number of fields, even then you will receive a time out as the size of the packet may become large.  Same solution as point 1.
    3.  You may have built an index in the target ODS which may impact your write speed.  Remove any indexes and run with the same package size, if it works then you know the index is the problem.
    4.  There is a basis setting for time out.  Check that is set as per SAP recommendation for your system.
    5.  Check the transactional RFCs in the source system.  It may have choked due to a large number of errors or hung queues.
    Cheers...

  • N8 50m 52sec video time limit

    Why is there a 50 minute time limit when recording in 720p? Is there any way round this limit?
    Solved!
    Go to Solution.

    Or instead of NTFS, a quick fix would be a utility that restarts the recording every 45min with say, a nice musical note. The phone could give a warning musical note/vibration 1min before restart so the videographer could choose to restart early so a critical event is not missed.Thanks Le55ons, you have answered/reminded me of old limits.
    You all take care of yourselves.
    Nokia 701 -like a Ford LTD, Crown Victoria [features, luxury, class], that some of you will remember as the flying car from the movie; MEN IN BLACK This has nothing to do with the superb BLACK screen of my Nokia 701!

  • Check if A/R summary has exceeded time limit:exceeded by days/hours 42 14 ?

    When I place an sale order with VA01, there is a warnning:
    Check if A/R summary has exceeded time limit:exceeded by days/hours 42 14
    What does it mean?

    Hi
    Check wheather you have done credit management or not. So check in OVA8 wheather you have maintained data or not. Also check in FD32 wheather you have maintained A/R summary for that customer.or not .
    Regards
    Srinath

  • ReadString() get time limit exceed to complete operation error

    I have a device name Time Electronics 5075. I am trying to use the SimpleReadWrite.2010 in National Instruments\NI-488.2\Examples\DotNET4.0\SimpleReadWrite\cs to comunicate with the device.
    I can open the connection and send commands to the device by using this code
    device = new Device((int)boardIdNumericUpDown.Value,(byte)primaryAddressNumericUpDown.Value,(byte)currentSecondaryAddress);
    device.IOTimeout = TimeoutValue.T100s;
    device.Write("X0/A1/F0{13}");
     But I am stuck at 
    stringReadTextBox.Text = device.ReadString();
    I get the error "Time limit exceeded to complete operation."
    I don't know exactly should I add 
    device.Write("T/D{13}");
    before the device.ReadString() or not. But I get the same error for both cases.
    Some info: Visual Studio 2010, Measurement Studio 2013, NI.488.2, Windows 7 Pro
    Any idea?

    Thank you Curt_C,
    I have attached the screen capture of NI IO Trace. I just open the session, send two commands T\n and D\n to the device and readstring. The red one are errors on reading. The last one is close session.
    I think \n is the correct terminator. It works with most of commands, just get stuck with ReadString.
    Kind regards,
    Thang
    PS: I also attached GPIB Interface Properties for more info
    Attachments:
    NI IO Trace_01.png ‏54 KB
    GPIB Interface Properties.png ‏54 KB

  • How many mails i can send at a time per day using APEX mail system?

    HI,
    I am working on application, when i have written a process to send mail, i have a project where i have to send mail at a time for all the email id's
    given list there are upto 5000 email id's where text body also include certain set of data from a report. thinking at a time 3000 its difficult i divided
    it region wise, but still each region have 2000 odd email id's. during testing when i run the process just 950 mails i could send then i got a error
    saying "ORA-20001: You have exceeded the maximum number of email messages per workspace. Please contact your administrator." so please
    can any one help me to know How many mails i can send at a time per day using APEX mail system?
    Thanks in advance
    Gowthami

    Hi jfosteroracle,
    You are getting the error may be the following reason,
    Check the following,
    Login as ADMIN and Goto -->Manage Instance-->Instance Settings--> Mail-->Maximum Emails per workspace
    Actually this number denotes the Number of mails can be sent per 24 hour for the workspace,It may exceeded.
    It may be the reason.
    Thank you.     
    Regards,
    Gurujothi
    Edited by: Gurujothi on Jun 27, 2012 5:54 AM

  • RFC_ERROR_SYSTEM_FAILURE: Time limit exceeded. Connection Pool - JCO api

    Hi Everyone
    My Connection  Pool parameters JCO api.
    client=300
    user=SISGERAL_RFC
    passwd=******
    ashost=14.29.3.120
    sysnr=00
    size=10
    I have these parameters on my Connection Pool and sometimes appear these wrongs in my application:
    1.
    2006-01-07 13:20:37,414 ERROR com.tel.webapp.framework.SAPDataSource - ##### Time limit exceeded. LOCALIZED MESSAGE = Time limit exceeded. KEY = RFC_ERROR_SYSTEM_FAILURE GROUP = 104 TOSTRING = com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Time limit exceeded.
    2.
    2006-01-07 14:01:31,007 ERROR com.tel.webapp.framework.SapPoolConnectionManager - Timeout
    I’d like to know if is happening.
    Are there something wrong with my connection pool?
    What can be happening?
    Thanks

    Raghu,
    Thanks for your response.
    Yes, the pool connections are in place according to the sAP note mentioned above.
    Regards,
    Faisal

Maybe you are looking for

  • How to force the File Path Control Browser button to the RT Target instead of the host machine?

    I am building an application on a RT PXI system, and for one of the functions I would like the user to be able to use the browser button of the File Path Control to choose a directory on the PXI. However the browser button seems to only want open a f

  • Why are songs from certain iTunes playlists not syncing correctly on my iPhone 4S or iPad?

    Songs in my playlists within iTunes do not appear within the playlists on both my iPhone 4S or iPad when I sync these devices to my computer... Anyone have an idea for how to remedy this problem?

  • EPSON LX-300+II printer

    Hi, We are implementing ECC6.0 and now we are doing printer configuration. We have EPSON LX-300+II dot matrix printer. And we have created a output device ZLP01 but we haven't found this printer in the device type list. So we have choosen nearest pri

  • MacBook Pro Retina Battery Time Left

    On my old MacBook Pro, next to the battery icon in parenthesis it was tell me how much time is left in the battery. With the new MBPR, however, I can only get percentage left. Yes, I know if I click on the battery, it tells me the time, but does anyo

  • Logging in&off  Genesys CTI without leaving IC Web

    Hi everyone, I need to provide the IC Web agent with the ability to log in and log off to the Genesys CTI system without leaving the SAP IC Web Application; consequently adding a new link with a Genesys work mode log on to the SAP Softphone toolbar.