in

Archived Data Techniques Forums

FAXMAN4 running on quad core CPU computer

Last post 04-07-2009 9:45 AM by rec. 11 replies.
Page 1 of 1 (12 items)
Sort Posts: Previous Next
  • 03-02-2009 5:08 AM

    • KC
    • Top 10 Contributor
    • Joined on 06-26-2004
    • Posts 57

    FAXMAN4 running on quad core CPU computer

    Hi,

    We have problem with FAXMAN4 running on quad core CPU computer, the problem is FAXLOGADD did NOT be fired.

    When we submit a fax by "FAXMAN1.SENDFAX", we also keep check the fax to ensure it has be put into FAXMAN database .  Because  we found that the "FaxMan1_FaxLogAdd" event did not be fired sometimes. Even we re-submit the fax again, FAXMAN4 could not respone anymore. We have to reboot the computer to resume normal.

    The problem quite often happens on quad core CPU computer, any suggestions?

    Regards,

    KC

    Private Sub Timer_Queue_Msg_Timer() ' Send Message
      :
      :
      
      FaxMan1.SendFax
      'This loop is to wait for FAXMAN complete his job before we submit another one.

      My_Integer = 0

        Do Until MSG_STAMP = Verify_FaxManUserData

          WRITElog "Message send and waiting for FAXMAN process "
          My_Integer = My_Integer + 1
          If My_Integer > 100 Then
            WRITElog "ERROR : Waiting FAXMAN TIME OUT!" 
            Exit Do
          End If

          DoEvents
        Loop
                       
      :
      :
    End Sub

     

    Private Sub FaxMan1_FaxLogAdd(ByVal LogType As Integer, ByVal FaxID As Long, ByVal LogIndex As Long)

      Dim Item As Object

      On Error GoTo Error_Handler

      Set Item = FaxMan1.FindFax(FaxID)
      If LogType = 0 Then Verify_FaxManUserData = Item.LogUserData
      :
      :
    End Sub

     

    An Example  Log file

    2/27/2009 4:55:30 PM C:\MEGAMAIN\HST06343.A3311 WILL BE SENT!

    2/27/2009 4:55:30 PM MESSAGE SEND AND WAITING FOR FAXMAN PROCESS  (TIMER_QUENE_MSG/FRMFAX_MAIN)
    2/27/2009 4:55:31 PM MESSAGE SEND AND WAITING FOR FAXMAN PROCESS  (TIMER_QUENE_MSG/FRMFAX_MAIN)
    2/27/2009 4:55:31 PM MESSAGE SEND AND WAITING FOR FAXMAN PROCESS  (TIMER_QUENE_MSG/FRMFAX_MAIN)
    2/27/2009 4:55:32 PM MESSAGE SEND AND WAITING FOR FAXMAN PROCESS  (TIMER_QUENE_MSG/FRMFAX_MAIN)
    2/27/2009 4:55:32 PM MESSAGE SEND AND WAITING FOR FAXMAN PROCESS  (TIMER_QUENE_MSG/FRMFAX_MAIN)
    2/27/2009 4:55:33 PM MESSAGE SEND AND WAITING FOR FAXMAN PROCESS  (TIMER_QUENE_MSG/FRMFAX_MAIN)
    2/27/2009 4:55:33 PM MESSAGE SEND AND WAITING FOR FAXMAN PROCESS  (TIMER_QUENE_MSG/FRMFAX_MAIN)
    2/27/2009 4:55:34 PM MESSAGE SEND AND WAITING FOR FAXMAN PROCESS  (TIMER_QUENE_MSG/FRMFAX_MAIN)
    2/27/2009 4:55:34 PM MESSAGE SEND AND WAITING FOR FAXMAN PROCESS  (TIMER_QUENE_MSG/FRMFAX_MAIN)
    2/27/2009 4:55:35 PM MESSAGE SEND AND WAITING FOR FAXMAN PROCESS  (TIMER_QUENE_MSG/FRMFAX_MAIN)
    2/27/2009 4:55:35 PM MESSAGE SEND AND WAITING FOR FAXMAN PROCESS  (TIMER_QUENE_MSG/FRMFAX_MAIN)
    2/27/2009 4:55:36 PM MESSAGE SEND AND WAITING FOR FAXMAN PROCESS  (TIMER_QUENE_MSG/FRMFAX_MAIN)
    2/27/2009 4:55:36 PM MESSAGE SEND AND WAITING FOR FAXMAN PROCESS  (TIMER_QUENE_MSG/FRMFAX_MAIN)
    2/27/2009 4:55:37 PM MESSAGE SEND AND WAITING FOR FAXMAN PROCESS  (TIMER_QUENE_MSG/FRMFAX_MAIN)
    2/27/2009 4:55:37 PM MESSAGE SEND AND WAITING FOR FAXMAN PROCESS  (TIMER_QUENE_MSG/FRMFAX_MAIN)
    2/27/2009 4:55:38 PM MESSAGE SEND AND WAITING FOR FAXMAN PROCESS  (TIMER_QUENE_MSG/FRMFAX_MAIN)
       :

    2/27/2009 4:58:11 PM ERROR : WAITING FAXMAN TIME OUT! (TIMER_QUENE_MSG/FRMFAX_MAIN)

  • 03-02-2009 12:27 PM In reply to

    Re: FAXMAN4 running on quad core CPU computer

     Hi,

    A couple of questions:

     

    1. What version of Faxman4.exe are you running ?

    2. So does this same app work  fine on a single or dual core processor ? Are you sure its the quad core issue thats causing the event issue ?

    Sean
    Data Techniques Online Support
  • 03-02-2009 9:59 PM In reply to

    • KC
    • Top 10 Contributor
    • Joined on 06-26-2004
    • Posts 57

    Re: FAXMAN4 running on quad core CPU computer

    Hi,

    We are using Faxman4 V4.4.4. & VB6.

    We haven't get any the above error from other computer, in addition the error was happened not just once in a while. From our log, it was clearly shown the "FaxMan1_FaxLogAdd" event did not be fired.

     Regard

    KC

     

  • 03-03-2009 9:57 AM In reply to

    Re: FAXMAN4 running on quad core CPU computer

    Hi,

    What OS was the quad core box running ?

    Sean
    Data Techniques Online Support
  • 03-03-2009 9:07 PM In reply to

    • KC
    • Top 10 Contributor
    • Joined on 06-26-2004
    • Posts 57

    Re: FAXMAN4 running on quad core CPU computer

    Hi,

    The OS is Windows Server 2003.

  • 03-04-2009 9:00 AM In reply to

    Re: FAXMAN4 running on quad core CPU computer

    HI,

    Thanks for the addtl info, one other question,  how long does it take for this to occur ?

    Is your app multithreaded ? How many FaxMan fax controls are you using ?

     

    Sean
    Data Techniques Online Support
  • 03-04-2009 11:27 AM In reply to

    • rec
    • Top 25 Contributor
    • Joined on 05-10-2001
    • Posts 31

    Re: FAXMAN4 running on quad core CPU computer

    This sounds similar to the issue I reported where we stop receiveing FAXLOGADD messages after sending a random number of faxes.
  • 03-04-2009 6:37 PM In reply to

    Re: FAXMAN4 running on quad core CPU computer

    Hi,

    We're trying to gather additional information on this so we can duplicate it here, so far we have been unable to. This poster seems to think the issue only occurs in their apps on a particular machine which is quad core and Win 2003. How does this correspond to what you have seen ?

    Sean
    Data Techniques Online Support
  • 03-04-2009 9:46 PM In reply to

    • KC
    • Top 10 Contributor
    • Joined on 06-26-2004
    • Posts 57

    Re: FAXMAN4 running on quad core CPU computer

    Hi Sean,
     
    Hardly to say how long does it take to occur, may be few hours or few days.
     
    Our application is not multithreaded and we are using only one FAXMAN on each computer and it run as application not service.
    Actually, we had tried running FAXMAN as windows service before but same error was happened, therefore we set FAXMAN running as application to see does it help; however No Lucky!
     
    Regards,
     
    KC
  • 03-05-2009 2:53 AM In reply to

    • rec
    • Top 25 Contributor
    • Joined on 05-10-2001
    • Posts 31

    Re: FAXMAN4 running on quad core CPU computer

    We have been getting this problem for a few years - on Windows NT4, 2000, XP and 2003.  Our support team will restart our app and FaxMan to get notifications working again, and they do this quite often (and don't always tell me).  I *think* that all the machines that exhibit this are multi-processor/dual-core, but I would need to check with our support guys.

    FWIW our app runs as a Windows service and creates a hidden window that we use for the FaxMan notifications.  Is there any chance that the method you are using to send notifications (PostMessage?) is failing?  Could we try a debug version 4 that adds some logging to your message posting code?

    I have recently added a fall-back scheme where a separate thread checks for fax IDs in the log using FaxFind - this is clunky and not terribly efficient but it means we spot when faxes are sent/fail and can send out email notifications.  These email notifications are very important for our customers, but we would prefer to use the 'proper' FaxMan message notifications.

    We also have an administrator app that runs as a normal process which also registers for FaxMan log messages and I don't think we have ever seen this issue.  Perhaps the fact our main app is a Windows service is key here?

    We had one customer recently send thousands of faxes before notifications stopped, yet another only managed a couple of hundred.  Hence this issue is almost impossible to reproduce in-house,

  • 04-01-2009 10:02 AM In reply to

    Re: FAXMAN4 running on quad core CPU computer

     Any new findings regarding multi-core/multi-processor CPUs? 

    Wendell

  • 04-07-2009 9:45 AM In reply to

    • rec
    • Top 25 Contributor
    • Joined on 05-10-2001
    • Posts 31

    Re: FAXMAN4 running on quad core CPU computer

    We had the issue happen again and the customer thinks notifications stop after they have logged into the server using VNC.  Might be something worth looking into.
Page 1 of 1 (12 items)
Copyright 2009 Data Techniques, Inc. All Rights Reserved.