Out-of-order-writing and fsync issues ...

I am facing a fairly interesting problem on my Sun box.
The problem is: My customer has reported that PostgreSQL loses a file on TRUNCATE.
The scenario is:
BEGIN;
TRUNCATE table;
COMMIT;
When the system is killed during this transaction it can happen that the system tables will still see the table while the file on disk is already killed.
However, this is impossible because the table is actually killed by PostgreSQL AFTER the COMMIT.
Internally it does:
BEGIN;
modify system tables;
COMMIT (including fsync)
remove table on disk.
The problem now is: How than this happen? The only thing which comes to my mind is that the I/O system is doing out-of-order writing. My second theory is that fsync is doing something terribly wrong. More evidence: This happens not too frequently and ONLY on Solaris (We have tested that).
Can anybody provide me information about the I/O behaviour of the kernel respektively information about what fsync might do wrong?
Help is very much appreciated.
Best regards,
Hans

Hi there! @BlueSkies84 thanks for posting your concerns. I’m sorry to hear about all the problems with your phone.
Since we are looking at multiple issues that cannot be controlled via the phone settings, I’d recommend you back your phone up and perform a factory reset. For steps on this please visit us at www.att.com/devicehowto/ and select the make and model of your phone. On the left column you’ll find steps to back up the phone under backup and restore and reset steps under troubleshooting and reset device.
Hope this helps!
Charise

Similar Messages

  • Texts out of order; phone overheating; speaker issues

    Hi, I am having four problems with my Galaxy S5 and wondered if anyone knew a solution: (1) My text messages come out of order.  This has happened since I got the phone, which is on network time. (2) My text messages are delayed - both sending and receiving.  They get to others late and they come to me late. (3) My phone frequently gets extremely hot and the battery drains rapidly.   From 95% to 15% in an hour or two. (4) When I am talking on the phone, the phone randomly switches to speakerphone so the person I am talking to comes out of the speaker.  The speaker button, however, is not activated.   Many thanks for any help! 

    Hi there! @BlueSkies84 thanks for posting your concerns. I’m sorry to hear about all the problems with your phone.
    Since we are looking at multiple issues that cannot be controlled via the phone settings, I’d recommend you back your phone up and perform a factory reset. For steps on this please visit us at www.att.com/devicehowto/ and select the make and model of your phone. On the left column you’ll find steps to back up the phone under backup and restore and reset steps under troubleshooting and reset device.
    Hope this helps!
    Charise

  • TCP out-of-order at IPS

    Dear All,
    We have a setup the IPS 4510 working inline mode with strict inspection turn on. we have detected some latency issue accessing the internal website. So we did some capture at the IPS interface. We found that there's a lot of out-of-order packet and DUP ACK detected by IPS which causing the normalizer engine buffer full and could not handle anymore request. As a work around we put the IPS in asymmetric mode where it turn off the IPS normalizer engine. 
    I need some opinion on possibilities why the Out of order and DUP ACK happen. 
    We are seeing quite a lot of Out-of-order, DUP ACK and TCP zero window in TCP stream that we captured. 
    The topology is quite straight forward:
    Internet ----WAN ROUTER ----- IPS4510 ----- ASA ----- Web server
    There's no redundancy or load balance for the ASA or WANROUTER. 
    Im hoping for some opinion and idea on how to tackle this issue.
    Thank you very much

    Hi
    bumping out an old thread since the issue still on going.
    I already discussed with TAC regarding the issue and 2 option that she gave
    + asymmetric mode (Which we rejected as permanent solution)
    + Event action filter
    I'm currently looking at this solution and plan to implement it in the IPS.
    I need to consider a few things and also suggestion
    + The signature engine involve is Normalizer engine (specifically sig 1330)
    + is it possible to customize this signature or should we just go for Event action filter?
    need opinion and pro and cons of this.
    Thanks a bunch

  • Unrepairable: Keys out of order

    hi,
    I have a MacBook Pro, a few months old, and just recently, it refused to boot. I was able to boot in single-user mode and run fsck -fy, but it gave the error "Keys out of order" and says the disk can not be repaired. I was able to boot from my install CD as well; running Disk Utility shows the hard disk as unmounted. if I click the "Mount Drive" button, the DU log says it was successful, but the disk remains grayed out. Tryign to repair the disk from DU returns the same "Keys out of order" error, and exits without repairing.
    I seem to be able to start the MacBook in FW target disk mode, but it does not show up on the connected computer. Disk Utility on the connected computer gives the same behavior as from the install CD - MacBook disk is visible but grayed out, unmounted, and can not be repaired.
    any suggestions? none of the repair programs work with the Intel-based Macs yet (TechTool Pro 4.5 is coming in early July, supposedly, with full support for the new architecture) - I don't like being without my MacBook for that long though. help?
    many thanks,
    tim d

    I'll have to see if my warranty is still effective
    Obviously, keep troubleshooting as you have been to see if you can repair the problem. But if your issue turns out to be a hardware problem, you are still covered. Your MacBook Pro has a one-year hardware warranty. (After 90 days, your free phone support for any issue under the sun expires - if you don't have an extended AppleCare Protection Plan - but you still have hardware warranty support and can call to get that support. More details are in this FAQ: Is phone support and warranty service free? and the links within the FAQ.)

  • Grey screen, keys out of order

    Hello and ...help, hard drive problems!!
    My iMac G4 with 10.2.8 was acting strangely - Word & Excel wouldn't work, long spinning beach ball. Upon restarting got stuck at the grey screen with the spinning cog. I have tried a variety of suggested fixes without success. Using disk utility ended with messages such as "disk not mounted" and "keys out of order" in red print. Repair completed was indicated but no joy with startup. Started in Single user mode, tried fsck - same "keys out of order"(4, 3140) & Volume can not be repaired.
    When starting with a firewire link to my iBook the message was "you have inserted a disk containing no volumes that MacOX can read. Am i looking at a. Full reintitialising or
    b. a new hard drive
    Is there a way to retrieve any files??
    Thanks in advance
    Geoff

    I don't know if Disk Warrior will cure all your problems but it is known to fix "keys out of order" problems and to rescue hard drives that seem impossible to fix.
    Here is more information about this program:
    http://www.versiontracker.com/dyn/moreinfo/macosx/19441
    So I would certainly try that first. It is a great utility to have around so would not be a waste of money even if you do have to replace your hard drive.
    If you don't get your hard drive running again the only way to get your files is from a disk retrival place which is very expensive.
    •Renae

  • I have an iMac mid 2010. After Disk utilities said the drive was corrupt, I ran the hardware test (extended) 3 times. No problems. I than ran Disk utility again and got 2 messages in red-keys out of order, and --Volume corrupt, can't be repaired.  I tried

    I have an iMac mid 2010. After Disk utilities said the drive was corrupt, I ran the hardware test (extended) 3 times. No problems. I than ran Disk utility again and got 2 messages in red…keys out of order, and ……Volume corrupt, can't be repaired.
    I tried to do a system install, but message said…disk can't be changed. Will a complete erase and install fix this ?
    Everything is backed-up.

    There's hardware and software.
    Your drive could physically be in good condition but something has caused the file structure to be messed up (it just happens sometimes).  The directory that keep track of files is corrupt.  Disk Utility can help determine if that is the issue.  In some cases it can repair the problem but it cannot do it to a drive that is being used to boot the system while you are doing that.  You have to boot from another drive.  Some things DU cannot repair and you need to try a stronger utility such as Diskwarrior.
    A failing hard drive (one with mechanical issues) can be a cause of file structure issues but this is by no means always the case.  Apart from looking at the SMART diagnosis feature of Disk Utility (and smart isn't totally reliable) there often isn't a way to tell if a drive is failing until it suddenly happens, which is why you need to maintain backups.
    In your situation it does sound serious and not just minor directory corruption.  You can try erasing (formatting) the drive,  You may need to do this if it is really corrupt, in which case there could be underlying physical issues.  I use old technology but if you have the patience you can try erasing the drive with the security option of writing zeros once (don't do more unless you are going on a 3 week vacation).  This makes the drive not simply assume everything is okay by forcing it try every part of the drive by writing data.  If something is gong wrong you may find it marks a lot of bad sectors, or flat out refuses to format.  Then you know you need a new drive.

  • Macintosh HD can't be mounted, keys out of order and repairing can't be completed

    Hi,
    English isn't my mother tongue so I'll make my best to be understood.
    I have a Macbook Pro from 2012, running on Yosemite (latest version). I installed Onyx which told me my disk needed to be verified and repaired. Following this advice, I restarted my computer with Disk Utility and completed a verifying and repairing. Which led to a terrible outcome. Since then, everytime I boot with my user on my Mac, my computer shuts down in the middle of the progress bar. I tried to find an explanation to it and fix it, so I tried the following things:
    1) I booted with CMD + R to go into Disk Utility
    2) I runned a verify Disk on "Macintosh HD" Core Storage Logical Volume Disk, which didn't give me any error
    3) I unlocked "Macintosh HD" Mounted encrypted partition and runned a verify disk, which says :
    "Keys out of order
    The volume Macintosh HD was found corrupt and needs to be repaired.
    File system check exit code is 8.
    Error : the disk needs to be repaired, Repair disk."
    4) Unfortunately, the "repair disk" button is grayed.
    5) So I runned repair Disk on  "Macintosh HD" Core Storage Logical Volume Disk, which didn't give me any error.
    6) I tried to boot my computer again but it still shuts down when trying to open my user.
    7) Did all the same process again, but now the error is "Keys length incorrect" and repairing is now always blocked in the middle of the progress bar.
    Is there any way I could extract the data I care about (photos, etc.) before erasing the disk or buying a new one?

    There's hardware and software.
    Your drive could physically be in good condition but something has caused the file structure to be messed up (it just happens sometimes).  The directory that keep track of files is corrupt.  Disk Utility can help determine if that is the issue.  In some cases it can repair the problem but it cannot do it to a drive that is being used to boot the system while you are doing that.  You have to boot from another drive.  Some things DU cannot repair and you need to try a stronger utility such as Diskwarrior.
    A failing hard drive (one with mechanical issues) can be a cause of file structure issues but this is by no means always the case.  Apart from looking at the SMART diagnosis feature of Disk Utility (and smart isn't totally reliable) there often isn't a way to tell if a drive is failing until it suddenly happens, which is why you need to maintain backups.
    In your situation it does sound serious and not just minor directory corruption.  You can try erasing (formatting) the drive,  You may need to do this if it is really corrupt, in which case there could be underlying physical issues.  I use old technology but if you have the patience you can try erasing the drive with the security option of writing zeros once (don't do more unless you are going on a 3 week vacation).  This makes the drive not simply assume everything is okay by forcing it try every part of the drive by writing data.  If something is gong wrong you may find it marks a lot of bad sectors, or flat out refuses to format.  Then you know you need a new drive.

  • Video and audio not sync when i play all forms of video. from music videos, to tv shows. but they play perfect on my iPod. and tv shows display out of order on iPod, but in correct order on iTunes/computer. I even ran a virus check just to make sure.

    audio and video do not syncronize.  all forms of videos. music videos to tv shows.  what do i need to do the syncronize them again
    they are in sync on iPod, but not on computer.
    another issue that might be from the same cause is, the order of episodes of the tv shows i have downloaded,   they appear in order on computer, but on iPod they show out of order.
    any tips on how to fix this would very much help.
    thank you.

    Welcome to Apple Discussions!
    An old version of iTunes will cause this and mess up the videos on your iPod. Always make sure you always use an up-to-date version of iTunes.
    Make sure all the software on your computer is up to date...
    iTunes
    iPod Updater
    Updating iPod's Software
    You will then need to restore the iPod and then let iTunes update your iPod and put your music, videos, etc. back onto your iPod...
    Restore the iPod
    btabz

  • Out of Order Primary Keys and Blob fields

    Hi,
    I am using Oracle Migration Workbench to transfer the data from SQLServer 2000 to ORacle 9i. I am running into the following issues and was wondering if you had any ideas what may be going on:
    1.) Primary keys are out of order
    2.) Blob fields are inserted into the incorrect row
    Ex. BLOB field stating 'Application active' should be associated with Act_key (primary key) = 5 and it ends up transfering over with act_key 28.
    Thank you for any information you may have on this.
    AK

    I am very interested in this thread because I have encountered a similar problem with BLOB columns, except that I am also seeing this with CLOB's.
    Essentially the all the data gets 'migrated', but the CLOB and BLOB columns are all mixed up!
    Any solutions?

  • No arkwork and songs out of order

    ok i think im not the only but i want this say to me in lameman terms lol, ok so i have everything checked with the artwork on my ipod and it wont let me load any artwork on my ipod, it shows up in my librey and my music part of itunes but when i disconnect my ipod and play it no artwork shows up.
    now sense i updated everything on my ipod alot of my songs are out of order, there fine on itunes and in the librey but not on my ipod can someone help me out?
    or are we going to have to wait till itunes 8?

    There is a quicker way to restore your mixed up
    artwork....
    Connect ipod to computer,when ipod screen displays
    click on
    music tab (top center),untick 'Display album artwork
    on your ipod' at the bottem of the list and press
    'Apply' let it complete,then disconnect ipod.
    Now repeat the above,only this time tick the box that
    says
    'Display album artwork on your ipod' and 'Apply'.This
    works for my 30gig 5G with itunes 7 every time.
    That only works if all your Ipod music is still in your Itunes library. When you deselect to view your album artwork on your Ipod and click APPLY, then all your album art gets deleted from your Ipod. When you re-apply to allow album art to be displayed on your Ipod it will only grab what is currently in your Itunes library.
    Assuming you don't get that Error 50 message.
    I had to reimport all the music and videos from my Ipod into Itunes then sync my Ipod to my Itunes library. Now I have all the album artwork without issue. But I have a 60GB hard drive and a 60GB Ipod. So doing that in the future won't work unless I buy an extra hard drive.

  • Photos not synced correctly to iphone... Unorganized and out of order

    After syncing my Iphone 4s with my macbook pro, all of my "Event" photos are out of order. If I open a specific event there will be photos that do not belong there and have no relation to that event... Same with the "faces" feature... I will specifically look for all pictures with "Mary's" face and majority of the pictures are other people with "Mary" not even in those pictures...
    I have looked at my macbook and all of the photos seem to be correct on that and in the right locations... Not sure how to fix this problem or what to do :-/
    This is a feature that I use constantly and would appreciate if someone could help guide me to correcting it....

    Hi Tasha48323,
    If you are having issues with unusual or incorrect data after a recent sync with iTunes, you may want to turn off the sync options for Photos, click Apply (this should clear that data off the iPhone), then turn Photo syncing back on and Apply again (which should resync all the data back). You may find the Resolution section of the following article helpful (the article primarily concerns a slightly different issue, but the steps are the same):
    iOS: "Not enough free space" alert when trying to sync
    http://support.apple.com/kb/ts1503
    Regards,
    - Brenden

  • Albums out of order and duplicated after using Match

    I finished Matching all of my tracks, and endbled iTunes Match on my Desktop, Laptop, and iPhone. My Mac laptop (where I originally enabled and purchased Match) shows my library as I want it-- everything in order correctly and all of the correct album art.
    My desktop shows everything almost correctly. There are a few albums split into multiple (sometimes 7-10) parts, and album art is missing.
    My iPhone (which has no local stored music right now) shows everything almost correctly. Some of the split albums that showed incorrectly on the desktop are in 2 parts instead of 10. Plus, some of the albums are completely out of order and duplicated in the album list view. I attached a screenshot below.
    The "duplicated" albums seem to be alphabetically wrong because one of the tracks (When Love Takes Over, David Guetta) starts with a W. The problem is, the album for that track IS correctly set, and the artist and album artist are both David Guetta. Changing the album (which displays correctly in iTunes on my Mac, and even on my Windows Desktop) to a complilation does nothing.
    How can I fix this?
    (P.S. I have an iPhone 4S, Macbook Pro, and Windows desktop, all running the latest iTunes. I have only 293 songs, so I do not have a large library)

    I ended up fixing my issue. The problem was the fact that some of the songs in an album were marked as part of a compilation, but some were not. iTunes seems to be less strict about grouping things in albums, so I never really noticed it.
    However, this, combined with the fact that I could not update the metadata after the song is added to iCloud resulted in me changing the metadata on the computer, only to have it reset when I updated Match. I solved the problem by deleted everything from iCloud and rematching it, but only after I had corrected the compilation issue.
    So, if you are havng the same issue, delete and readd everything to iCloud. I deleted everything from a second PC (that had no locally stored files) and then rematched from my laptop (where iTunes asked whether I wanted to add to iCloud, keep the song, or delete it. Choose "Add to iCloud" to rematch).

  • Input related random inputs and out of order events

    Hi My wife has a Mac Air 4,2
    It has been flawless and in good working order, with minimal applications.
    All was well until 20th Sept. Immediatly after a system update to 10.7.4  the trackpad began to show strange drag and click problems .. as if the touch pad had become hypersensitive.
    This resulted in unable to click, unable to move , drag select always activated.
    I managed with alot of patience to disable all the optional trackpad settings for point & click, Scroll & zoom and More Gestures.... but where did more gestures come from ... is that new?
    anyway ... the problem was partially solved, the track pad is now usable but still has issues.
    so i moved on to physical and noticed that the edges were dirty and the surface i cleaned with a screen wipe and clicked and blew on the trackpad to free any scum trapped on the edges. 
    I noticed that some of the surface is very polished and, those areas are marginly more senitive than the rougher areas.
    a week on I just logged in to another profile and got hit with the same issues ... and a new one ... keyboard input after rebooting: where is it! i had to wait 5 mins for input to come online. 
    This got me thinking. The problem is not 100% the trackpad, its the signal processing for realtime inputs from the keyboard and trackpad. either there has been a kernal tweak or the driver for the devices is sending too much data resulting in buffering issues. or more likly some kind of out of order buffer processing that is FUBAR'd.
    SO i check for an update: 10.7.5 securty update ... installed ... reboot ... at least I get keyboard input this time ... but the trackpad is still misbehaving... what should i do next:
    a) Is there a frimware update for the trackpad?
    b) Can I disable the new trackpad functionality completely... I dont actually want or need it
    c) Wait for the apple team to make further fixes to the kernel and drivers for touch input.
    d) go get an apple engineer to do something with the trackpad.... I have 2 weeks left of warrenty.

    thats too bad.  do you have a question you would like to ask

  • Mavericks, Photo Booth issues -- photos out of order

    I recently updated to Mavericks, and since then all of my photos have been out of order in Photo Booth. I have been able to reorganise them according to date created in the root folder, but not in Photo Booth itself.
    Any ideas?

    Same issue here as well. Photobooth is sorting by file name. New images created have a long file name includng the date and time. Earlier photos are named photo1.jpg...Anybody know a good file re-namer?

  • I  think that I no have luck. My mac has many problems: the source burnt, the keyboard went out of order , the screen is full of spots and the last one was the battery which is no charging anymore. I am already spent a lot of money to get the mac in order

    I am really disapointed with my MacBook Air. I bought it around two years ago and every three months I need to do something to fix it. First was my source, it did not work and need to buy a new one after searched in 5 shops in Brasília/ Brazil. After this was the screen, full of waves and dark spots. Next was the keyboard which went out of order and I need to change by a new one (20 days waiting for the service in Goiânia/Brazil). Now was the battery, which is not charging! And the support told me to change and more 20 days waiting for the repair. When I bought my first Mac I really think that I never have so many problems. Anyone has the same issues?
    Best
    Janine

    Your dsplay is getting extended onto the external monitor. Chcnage the setting to duplicate it or only display on the external monitor and you should be fine,
    Let me know if this worked for you.

Maybe you are looking for

  • Spinning Beach ball in Pages 5.2

    I know there are other posts about the spinning beachball in Pages but the situation here is a little different to what others have experienced. At a small school I work at, since upgrading to Pages 5, there have been huge problems with the spinning

  • How to increase the font size beyond 24 in Acrobat 9 Pro Extended

    Could you please help me to increase the font size of text beyond 24 while using typewriter text tool. How to export the drawings to TIFF when the drawing size is more than 45 by 45 inches. Thanks in advance LoGu

  • PC Permissions issues with 10.5 server

    We are having some permission problems for our PC users. Here is what typically happens. User is working within a job folder. Within this job folder are a couple of other folders to organize the job parts. The user will modify some of the files and t

  • Table name to get tax rate

    Hello Gurus,       In which table shall i get tax rate for a particualar tax code which was configured in FTXP Trannsaction.I checked T007A and T007B tables. But rate was not there in these tables. regds Ramachandra

  • Upgrade BizTalk 2013 Standard Edition to Enterprise edition

    Hi All, I wanted to upgrade from BizTalk 2013 Standard Edition to BizTalk 2013 Enterprise edition. Could you please let me know the steps that I need to follow or the point me to any related documentation. Thanks and Regards, Ujjwal -Ujjwal