Slave instance can not synchronized with the master for a long time

Hi,
Slave instance can not synchronized with the master for a long time, and the gap of LSNs between slave and master are more and more larger. The transfer bytes per second between master and slave is 118MB/s , upper limit to the ethernet card. Why???
ENVIRONMENT:
1. A network program which we called mcdb is based on BDB 4.8.30. It is used to accept get/set requests and then query data from bdb or save data to bdb.
2. mcdb implements replication with bdb replication manager api. The default start replication policy is DB_REP_ELECTION, rep ack policy is DB_REPMGR_ACKS_ONE_PEER and rep priority is 100.
3. The bdb data files, bdb log files, region files and rep files are all in the same home directory.
4. There are two instances of the mcdb are separately on two standalone servers which has no other programs. These two instances are in one replication group which can elect a master automatically.
5. The master instance is online, which has lots of requests (get, set, delete).
ACTIONS:
1. Start two mcdb instances on two servers and the two instance make a replication group. Slave has already synchronized with the master.
2. Stop the slave for a long time (more than 20 hours).
3. Start the slave instance to synchronize data with master.
RESULT:
1. the gap of LSNs between slave and master are more and more larger.
2. db_stat of master and slave:
master db_stat:
467170     Number of PERM messages not acknowledged
9245     Number of messages queued due to network delay
172415     Number of messages discarded due to queue length
25880     Number of existing connections dropped
3407     Number of failed new connection attempts
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
DB_REPMGR site information:
10.67.15.146 (eid: 0, port: 30011)
Environment configured as a replication master
331726/3574994     Next LSN to be used
0/0     Not waiting for any missed log records
328872/466092     Maximum permanent LSN
0     Next page number expected
0     Not waiting for any missed pages
0     Number of duplicate master conditions originally detected at this site
2147M     Current environment ID (2147483647)
100     Current environment priority
49     Current generation number
50     Election generation number for the current or next election
2323     Number of duplicate log records received
0     Number of log records currently queued
6768     Maximum number of log records ever queued at once
55284     Total number of log records queued
120M     Number of log records received and appended to the log (120475988)
111     Number of log records missed and requested
2147M     Current master ID (2147483647)
2     Number of times the master has changed
0     Number of messages received with a bad generation number
8505306     Number of messages received and processed
12     Number of messages ignored due to pending recovery
471869     Number of failed message sends
12M     Number of messages sent (12959945)
0     Number of new site messages received
1     Number of environments believed to be in the replication group
990543     Transmission limited
0     Number of outdated conditions detected
0     Number of duplicate page records received
0     Number of page records received and added to databases
0     Number of page records missed and requested
Startup complete
6244678     Number of transactions applied
0     Number of startsync messages delayed
1     Number of elections held
1     Number of elections won
No election in progress
0.057097     Duration of last election (seconds)
8944103     Number of bulk buffer sends triggered by full buffer
0     Number of single records exceeding bulk buffer size
5273M     Number of records added to a bulk buffer (5273592170)
10M     Number of bulk buffers sent (10490865)
0     Number of re-request messages received
0     Number of request messages this client failed to process
0     Number of request messages received by this client
slave db_stat:
0     Number of PERM messages not acknowledged
0     Number of messages queued due to network delay
0     Number of messages discarded due to queue length
1454     Number of existing connections dropped
0     Number of failed new connection attempts
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
DB_REPMGR site information:
10.67.15.147 (eid: 0, port: 30011)
Environment configured as a replication client
329544/2916048     Next LSN expected
330433/2013808     LSN of first log record we have after missed log records
329543/5500501     Maximum permanent LSN
0     Next page number expected
0     Not waiting for any missed pages
0     Number of duplicate master conditions originally detected at this site
2147M     Current environment ID (2147483647)
100     Current environment priority
49     Current generation number
50     Election generation number for the current or next election
5256M     Number of duplicate log records received (5256599432)
3925284     Number of log records currently queued
3925285     Maximum number of log records ever queued at once
4880561     Total number of log records queued
3578038     Number of log records received and appended to the log
1912297     Number of log records missed and requested
0     Current master ID
1     Number of times the master has changed
0     Number of messages received with a bad generation number
12M     Number of messages received and processed (12980442)
2     Number of messages ignored due to pending recovery
0     Number of failed message sends
1912307     Number of messages sent
0     Number of new site messages received
0     Number of environments believed to be in the replication group
0     Transmission limited
0     Number of outdated conditions detected
0     Number of duplicate page records received
0     Number of page records received and added to databases
0     Number of page records missed and requested
Startup incomplete
110568     Number of transactions applied
80     Number of startsync messages delayed
0     Number of elections held
0     Number of elections won
No election in progress
0     Number of bulk buffer sends triggered by full buffer
0     Number of single records exceeding bulk buffer size
0     Number of records added to a bulk buffer
0     Number of bulk buffers sent
0     Number of re-request messages received
0     Number of request messages this client failed to process
0     Number of request messages received by this client
Edited by: 899585 on 2013-1-4 下午10:54
Edited by: 899585 on 2013-1-4 下午10:55

Hi,
Unfortunately, this issue is beyond the level of what is supported over the forum. Performance related issues are extremely complex and require an in-depth understanding of your environment and dedicated support. In a generic sense, you can look at this as a basic queueing problem. You have a server that went down and work is still coming in. When the server gets started it is possible that it may never catch up depending on new work coming in and the rate at processing the old work.
So what would you do in this case --- one thing would be to reduce the new work coming in. In HA terms this would be slowing the master down and you can increase DB_REP_ACK_TIMEOUT for this. Another thing you could do is add fresh servers to help reduce the workload. In HA terms, this would be the equivalent of restarting the client and give it a fresh look at everything. Another thing you could do is replan the system and load balance. In HA terms, it would mean something like take a hot backup of the master and reinit a client from scratch.
If you are interested in getting a dedicated support person working on this concern, please let me know and we can move forward down that path. Just respond to the thread with your email address and I will get in contact with you so we can pursue that approach.
thanks
mike

Similar Messages

  • I have Firefox 10.0.2. and OSX 10.6.8. and the latest PDF adobe reader, and still can not open with the browser PDF files.Can someone help,pls?Thanx

    Dear Ones,
    I have Firefox 10.0.2. and OSX 10.6.8. and the latest PDF adobe reader, and still can not open with the browser PDF files.Can someone help,pls?Thanx

    see if this is helpful : [http://support.mozilla.org/en-US/kb/Opening%20PDF%20files%20within%20Firefox Opening PDF files within Firefox]
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • TS3988 This product can not proceed with the activation process, service errors go I want you entered will appear this error I am a Korean. Failed to resolve service center in South Korea  Please e-mail response  iPad2 32GB Cellular Version

    This product can not proceed with the activation process, service errors go I want you entered will appear this error
    I am a Korean.
    Failed to resolve service center in South Korea
    Please e-mail response
    iPad2 32GB Cellular Version
    <Email Edited by Host>

    I'm same. Any Update or News?
    Message was edited by: koreasaram

  • Mistakenly opened all the folders in my library of music and the Finder stopped working. Now every time I restart the mac, all folders are reopened and can not work with the finder and tried killall-KILL Finder and nothing they reappear

    mistakenly opened all the folders in my library of music and the Finder stopped working.
    Now every time I restart the mac, all folders are reopened and can not work with the finder and tried killall-KILL Finder and nothing will reappear

    mistakenly opened all the folders in my library of music and the Finder stopped working.
    Now every time I restart the mac, all folders are reopened and can not work with the finder and tried killall-KILL Finder and nothing will reappear

  • I am trying to install Java. I get the follwoing The installer can not proceed with the current internet connection

    I am trying to install Java6 from a free down load. I keep getting the following error message:
    The installer can not proceed with the current internet connection settings.
    I have tried every option under internet connections.

    #'''Install or Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    #**'''''Be sure to <u>un-check the Yahoo Toolbar</u> option during the install if you do not want it installed.
    #*Also see "Manual Update" in this article to update from the Java Control Panel in Windows Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Firefox_:_FAQs_:_Install_Java#Multiple_Java_Console_extensions
    #*Java Test: http://www.java.com/en/download/help/testvm.xml
    <br />
    <br />
    '''You need to update the following.''' The Plugin version(s) shown below was/were submitted with your question and is/are out of date. You should update to avoid known security issues with the version(s) you have installed. Click on "More system info..." to the right of your question to see what was included with your question.
    *Shockwave Flash 10.2 r153
    #'''''Check your plugin versions''''' on either of the following links':
    #*http://www.mozilla.com/en-US/plugincheck/
    #*https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #*There are plugin specific testing links available from this page:
    #**http://kb.mozillazine.org/Testing_plugins
    #'''Update the [[Managing the Flash plugin|Flash]] plugin''' to the latest version.
    #*Download and SAVE to your Desktop so you can find the installer later
    #*If you do not have the current version, click on the "Player Download Center" link on the "'''Download and information'''" or "'''Download Manual installers'''" below
    #*After download is complete, exit Firefox
    #*Click on the installer you just downloaded and install
    #**Windows 7 and Vista: may need to right-click the installer and choose "Run as Administrator"
    #*Start Firefox and check your version again or test the installation by going back to the download link below
    #*'''Download and information''': http://www.adobe.com/software/flash/about/
    #**Use Firefox to go to the above site to update the Firefox plugin (will also install plugin for most other browsers; except IE)
    #**Use IE to go to the above site to update the IE ActiveX
    #*'''Download Manual installers'''.
    #**http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #**Note separate links for:
    #***Plugin for Firefox and most other browsers
    #***ActiveX for IE

  • HT1369 why is my ipod can not connect with the i tunes store and can not sync

    Dear apple,
    Please kindly help me because my ipod can not connect with the i tunes store and can not sync either

    Follow through: iTunes for Windows: Device Connectivity Tests
    That link, also contains other links that may be related to your problem and/or to your solution.
    Hope this helps.

  • Itunes can not connect with the Itunes store

    Every time I try to connect to the ITunes Store an error pops up :  Itunes can not connect with the Itunes store.  I have downloaded the updated software and have access to the internet.  Anyone ever run into this problem?

    If it still has problems after trying the steps above, try resetting Winsock. It looks like it worked for a few people in this thread -> With iTunes 10.4 I can access iTunes store.
    MTG68 wrote - In windows 7, click on your start menu, go to accessories, right click on the command prompt icon and choose "run as administrator".  Once it opens, type in the following command...
    netsh winsock reset
    hit enter and it should say something like winsock reset successful now reboot your computer.

  • Acrobat can not connect with the email program, what can I do?

    Acrobat can not connect with the email program, what can I do?

    Hello,
    I'm sorry you're having trouble; unfortunately, I'm not sure I understand what's going wrong. Would you mind giving me more details about what you're trying to do and what the problem appears to be?
    Just in case you're using the desktop version of Acrobat and not Acrobat.com (which is the forum to which you posted your question), here's a link to their forum so you can repost your question there:
    http://forums.adobe.com/community/acrobat
    Thank you!

  • HT5085 hi, i bought itunes match yesterday, and i can not connect with the server. Error 4010 appear ever time when i want to entry on Itunes match.Thanks

    i bought itunes match yesterday and i can not connect with the server. Error 4010 appear every tiem when i want to entry on itunes match.
    Thanks

    Here are some things to try:
    Close itunes
    Check your internet settings.
    Control Panel – Internet Options – Advanced
    Check SSL 3.0 and TLS 1.0
    Uncheck “Check for server certificate revocation (requires restart)”
    Click Apply
    Click Okay
    Open itunes and try again
    And, you don't need to turn off the firewall, just add itunes and itunes helper to your security software firewall.

  • I downloaded the new iOS6 and now I can not connect with the iTune or App stores. My wi-fi works.

    I downloaded the new iOS6 update to my 4s and now I can not connect with the iTune or App store. How do I fix it? My Wi-Fi works fine.

    (A) Reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.
    (B) Reset all settings
    Settings>General>Reset>Reset all settings
    Note: Data will not be affected but settings will be reset.

  • Can not associate with the access point

    Greetings!
    I am just new here. I am trying to set-up a wireless connection from our linksys router. I recently purchased a linksys wireless internet receiver thru USB connection. Now, my problem is the pc that is supposed to receive a wireless connection is stating " can not associate with the access point". I am not too good about computers, that is why I am seeking you help.
    I hope I can hear from you guys.
    Thanks in advance.
    Cheers!
    Square

    Lets start with the bad news, no wireless connection. Good news, fixable.
    Make sure all your security settings on the usb adapter are correct. If router is set for wep set adapter to wep,and so on. Also check all your firewalls, in windows, and on any virus suites that you may have running. Try turning off all firewalls, other than router, and see if that helps. Also download the easy link advisor from the linksys home page. Make sure your ssid, and network names are set the same for router, and adapter.
    Stlbluesfan30
    Cisco Network Academy Student

  • Can not resize with the selection tool

    can not resize with the selection tool

    joc,
    I believe you may have come across the Live Rectangle bug which is limited to the MAC versions starting with 10.7 and 10.8, but not 10.9 (Mavericks) or 10.10 (Yosemite). Hopefully, the bug will be fixed soon.
    So a switch to Mavericks or Yosemite with a reinstallation might be the way to solve it here and now.
    To get round it in each case, it is possible to Expand the Live Rectangles to get normal old fashioned rectangles, or to Pathfinder>Unite, or to use the Scale Tool or the Free Transform Tool.
    A more permanent way round that is to create normal old fashioned rectangles, after running the free script created by Pawel, see this thread with download link:
    https://forums.adobe.com/thread/1587587

  • Can two ipods with the same email address face time independantly?

    Can two ipods with the same email address face time independantly?

    Hey Bumblebee, To each other, no-- would be like trying to call yourself on the same phone. To different persons on other devices??? Not sure you'll have to try, I'm guessing if both are online you may well dial up on both, (once had the same address on the my computer and iPod, both would ring when called, this stopped when I changed the iPod's address). If you change one of the iPod's e-mail address you should be fine. You'll have to do a little experimenting. Hope this helps, Good luck. Cheers.

  • Does not let me add text to my verizon website. This adding text feature works well on internet explorer. I can click on add text, the box opens up but I can not type in the box for some unknown reason. What can be done to correct this problem ...

    does not let me add text to my verizon website. This adding text feature works well on internet explorer. I can click on add text, the box opens up but I can not type in the box for some unknown reason. What can be done to correct this problem ...

    I didn't search before, but "you are not alone" (the thread [https://support.mozilla.com/en-US/questions/747424 In Verizon's Sitebuilder for webpages, I can not edit text boxes when using Firefox. I do not have this problem if I use Internet Explorer. Is there a setting I can change in Firefox to correct this problem?] has 18 votes for "I have this problem, too).
    I can only guess about the reason... Firefox works with many websites' "rich text" editors, but ones that haven't been updated for five years may assume that Firefox is the old Netscape browser and use scripting techniques that don't work in Firefox.
    If Verizon has a different "basic" or HTML editor that you can tolerate using, you could try that. It might not be subject to the same incompatibilities.
    If I someday get a Verizon account, I will surely be looking into this further, but for now, it's hard to suggest anything else.

  • I can not to received the email for verified by apple id

    I can not to received the email for verified by apple id

    1. Check spam folder
    2. Check junk folder
    3. Check Rescue Email

Maybe you are looking for

  • I Phone 3GS wont turn on

    Alright so two days ago my iphone worked just fine. Around lunch it would not turn on I had about 20 battery when I checked in the morning so I thought it was just dead. When I went home to plug it in for a little bit, it would not turn on any more.

  • Synchronizing Outlook Calendar

    I have tried to sync my calendars. When I click on the Calendar option in iTunes, it automatically opens Outlook. However, when I click Apply, a few moments later, I get a message that the calendar cannot be synchronized because Outlook is open and t

  • Search Fragment - Best Practice?

    We are designing a search fragment that will reside at the beginning of every form. The search fragment will allow a user to select one customer from a number of customers displayed. Once the user selects a customer, the search fragment will populate

  • Can't open any of my programs.

    My computer will turn on with out any sign of a problem, but as soon as I try to open Safari for example, an error message pops up saying 'The application Safari quit unexpectedly." This happens with any application I try to open. However, the finder

  • Jsp not running on Eclipse3.0

    I have installed Jdk1.4 and tomcat 5.0.28 and eclipse 3.0 I have set the JAVA_HOME variable. But when i an running JSP file it Shows "Could not find javac compiler" pls say how I can run JSP on Eclipse. thanks in advance