OCI Process hanging problem

I'm writing some code run with oracle oci.
My Environments are like these
OS : Red Hat Enterprise Linux AS release 3 (Taroon)
DB : Oracle 10g(10.1.0.3)
Language : C(not Pro C/C++)(gcc)
Programing Steps are like below
1. Generating DB Connection(OCIInitialize thru OCILogon)
OCIInitialize((ub4)(OCI_DEFAULT | OCI_OBJECT), NULL, NULL, NULL);
OCIEnvInit(&phEnv, OCI_DEFAULT, 0, NULL);
OCIHandleAlloc((dvoid *)phEnv, (dvoid **)&phError, OCI_HTYPE_ERROR, 0, NULL);
OCILogon(phEnv, phError, &phSvc, username, strlen(username), password, strlen(password), database, strlen(database));
2. First file open
fd1 = fopen("file1", "r");
3. Second file open
fd2 = fopen("file2", "w");
4. Try read for file descriptio fd1
fgets(buffer, sizeof(buffer), fd1);
at last step(fgets), the process never return from system call read(), just consuming CPU.
If I don't connect with DB, the process is running well.
And these code are running well under Solaris8(sparc) and Oracle 10g environments.
what is problem?
Help me please...

Here are a few things to try.
1. Use OCIEnvCreate instead of envInit/
2. on ERR handle allocation.. Send it in a tmp address pointer to a void and allocate 52 bytes... (see demo code).
3. To logon use OCILogon2
Good luck,
Ken

Similar Messages

  • Hanging problem

    My Nokia asha 200 is hanging very frequently and gets switched off automatically and does not switch on by pressing the power button.Every times it happens I have to remove the battery & then the phone starts and after 5-10 min it again hangs.
    Also I went to Nokia care 4 times where they just updated the software but after this the hanging problem still continues and It's really frustrating me. I have tried all solutions such as hard and soft reset but the problem continues.
    I am really fed up with this problem so please provide me a good solution as soon as possible. Software version-11.95 Product code of my phone is-059K959

    To prevent freezing or lagging/slow response on any BlackBerry, the most important practice you can adopt is to be sure to CLOSE applications when you are finished using them.
    If you just hit the red "end call" key to go back to the home screen the application actually stays open and running in the background. If you do this repeatedly you will have lots of apps open and consequently your memory will get used up. Lack of memory is the biggest reason your BlackBerry slows to a crawl or locks up. If you get into the habit of actually using the menu key to close the applications this will at least slow down this memory-clogging process. You still may have to do a battery pull or use the "Quickpull" app once in a while when things get slow.
    To check what applications are running on your device in the background, press the Menu key then choose Switch Applications. You will see the icons of each application there.
    So now, check your applications running in the background. There are commonly four or five applications that will always be running (Messages, Call Logs/Phone, BlackBerry Messenger, Homescreen, and the Browser; there are other third party applications such as BeeJive, and BlackBerry Alerts which will also run in the background which you cannot close if you want them to operate). Make certain that the browser is NOT on an active webpage (open the browser and choose Menu > Close). Close any other applications that do not need to be running (the camera or a game you were playing or Google Maps).
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Import process hangs indefinately on JPG and AVI files

    Hi,
    I'm seeing a similar issue to some of the other posts.
    My configuration is Windows 7 x64, 4GB RAM and a Core i7. All the photos I want imported have been moved to the C drive.
    When I try to import a folder with a couple of sub-folders containing a total of about 3000 JPG and AVI files (from a CANON 450D and Fuji Finepix 200EX), the import process hangs inderfinately, and I need to kill the process.
    Only around 500 photos get imported.
    One strange thing is that I am only able to preview a couple of the files in the preview grid. However when selecting to view a single file instead of the grid view I am able to view the file in question.
    I have tried to import one file at a time (for a couple of the ones that fail that is) but the import process still hangs, even though I am able to view the file itself before import.
    Have also tried only JPG files, same result.
    Any ideas?
    thanks

    What happens if you try to copy these files to your iMac first? Your problem may not be that applications quit when opening but rather you're having problems simply accessing the disk.
    If your external disk was formatted as NTFS by your Windows machine then your Mac will not be able to write back to the disk. Your applications may be attempting to save temporary or permanent files back to the disk. Verify this by going to the Apple menu and selecting "About This Mac". Click the "More Info..." button. Under the Hardware section on the left, look for your drive. It's probably under ATA. Select your drive and look at the "File System". If it is formatted as NTFS, you can copy the files to your iMac, and use the Disk Utility to reformat the drive to a Mac or MS-DOS format.
    This could also be a symptom of disk corruption. You can begin troubleshooting by using the Disk Utility found in /Applications/Utilities to verify/repair your disk. If Disk Utility finds problems but is unable to fix them, you can purchase third party tools such as DiskWarrior or TechTool Pro to attempt to repair your disk.
    Hope this helps! bill
    1 GHz Powerbook G4   Mac OS X (10.4.7)  

  • Process Hang

    Hi,
    I have a problem that I put on the back-burner a few months ago, but it has become more important again.
    I have a daemon which maintains a multiplexing stream stack. Every once in a while when the daemon exits and tears down the stack (flushing the queues), I start seeing a number of other processes hanging. I can still interrupt out of them, but their tasks can't be completed.
    For example, "sleep 1" would never return.
    Forgive me for not being exact. I don't have my copy of the kernel source with me here, and I won't be able to get to it until next week.
    I used the kernel debugger to find where in the kernel sleep's thread was hung, and I discovered that it was stuck on a mutex in a kernel function that allowed the process to go to sleep and be swapped out. The kernel should have awoken the mutex but never did. The mutex was contained in the process structure.
    I'm wondering if this is a problem that would have been fixed in one of the patches on the Sun Support site, or if it is something stupid that I have done in my drivers. I thought it may have been a stray spl that I missed when converting them to perimiters (I used mutually exclusive inner perimiters), but that doesn't seem to be it.
    Any help is appreciated. I'll try to supply more details if necessary.
    Jared

    If it runs for several hours before failing, it's handling a LOT of data. If freeing things after every iteration is going to goof the speed up too much don't do it. Right now, the GUESS is that if resources are never freed until the end, they become exhausted. Freeing every iteration may be the pendulum swinging from one extreme to the other, and hopefully a middle ground can be found.
    If these files are routinely in the terabyte range, instead of freeing each segment, you could free each file. I'd be happy with a data structure that lasted a terabyte! Or if you're doing multiple directories, each directory. With the massive amount of data that you're processing, a subtle memory leak could be doing this.
    Roger

  • RWB status 'delivering' and SQL process hangs

    I am sending an IDOC to SQL Server thro XI using JDBC adapter. I am triggering a stored procedure to update SQL tables. The RWB status says 'delivering', sxmb_moni says 'successful' and all the steps are success in audit log. The status 'delivering' is not changing to sucessful.
    When i look at SQL-server side, the process is in sleeping mode. I have verified the stored procedure and it was executed sucessfully. After the COMMIT TRAN, RETURN(0) statments, the process is going to 'sleeping' mode. The @@trancount is 2. If I double click the process, the sql statement is 'IF @@TRANCOUNT > 0 COMMIT TRAN'. This process hangs at this step and it is not accepting the next message. If I kill the process, the stored procedure is executed once and its going to sleep mode and not returning the status to XI to make the flow complete or to change the status to successful.
    Thanks.

    HI Shankar ,
    Its seems that there might be some problem in your srored procedure.Did u tried to use some other stored procedure.I assume that you have uploaded the right version of driver for SQL server you are using.Remember JDBC adapter is vendor and version dependent.
    You can also look at the JDBC : FAQ at service market place.
    Thanx  & Regards
    Vinod

  • When exporting many videos with Lightroom 5, the process hangs randomly and needs to be restarted.

    When exporting few videos, the process hangs randomly. The processor performance is 0 % and the lightroom says it is working (actually it is not). I have to quit lightroom, kill all processes like amecommand.exe, Adobe Media Core, Adobe Dynamic Link Manager and restart the process. It stops randomly.
    I am exporting ALL-I videos from Canon 5D mark  III, into H264, high quality.
    PS: The same situation was with Lightroom 4.

    Hello,
    i have the same problem on LR5.5 on Win 7 (8G RAM)
    Thank you for any help.
    Petr

  • [Solved] Boot process hangs for installed Arch and installation usb

    Hi. I've been using Arch Linux for around 6 months now and I'm in love with it. It is now my primary OS. However, I might have done something or performed some update, and I can no longer boot into Arch. The boot process hangs right before it should show the login screen (I'm using Gnome 3.6 with GDM). I see the following messages on the screen:
    Loading Linux core repo kernel ...
    Loading initial ramdisk ...
    /dev/sda3: recovering journal
    /dev/sda3: clean, 330610/1749664 files, 5585671/6996827 blocks
    And then it hangs right there. I have to hard-reboot after this.
    I then tried to boot using the Arch Linux Installation USB (archlinux-2012.12.01-dual.img), which also hangs at a particular point, before it should show me the prompt. I took a picture of the screen where it hangs: Screen Capture. This is an issue with just my laptop, because the USB boots just fine on another laptop I tried.
    I also have Windows 7 and Ubuntu 12.10 installed on my system, and I'm able to boot into both of them.
    I have 2 hard drives: /dev/sda is a 120GB SSD, and /dev/sdb is a 500GB hard disk. My partitions are as follows:
    sda1 - Windows 7 100MB System Reserved Partition (boot flag enabled)
    sda2 - Windows 7 OS
    sda3 - ArchLinux (boot flag enabled)
    sdb1 - Ubuntu 12.10 (boot flag enabled)
    sdb2 - Just data
    I ran bootinfoscript and below is the output:
    Boot Info Script 0.61 [1 April 2012]
    ============================= Boot Info Summary: ===============================
    => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    in partition 99 for .
    => Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    in partition 99 for .
    sda1: __________________________________________________________________________
    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files: /bootmgr /Boot/BCD
    sda2: __________________________________________________________________________
    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System: Windows 7
    Boot files: /Windows/System32/winload.exe
    sda3: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Mounting failed: mount: /dev/sda3 already mounted or sda3 busy
    sdb1: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Ubuntu 12.10
    Boot files: /boot/grub/grub.cfg /etc/fstab
    sdb2: __________________________________________________________________________
    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:
    ============================ Drive/Partition Info: =============================
    Drive: sda _____________________________________________________________________
    Disk /dev/sda: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    Partition Boot Start Sector End Sector # of Sectors Id System
    /dev/sda1 * 2,048 206,847 204,800 7 NTFS / exFAT / HPFS
    /dev/sda2 206,848 178,466,084 178,259,237 7 NTFS / exFAT / HPFS
    /dev/sda3 * 178,466,085 234,440,703 55,974,619 83 Linux
    Drive: sdb _____________________________________________________________________
    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    Partition Boot Start Sector End Sector # of Sectors Id System
    /dev/sdb1 * 63 20,948,759 20,948,697 83 Linux
    /dev/sdb2 20,964,824 976,771,071 955,806,248 7 NTFS / exFAT / HPFS
    "blkid" output: ________________________________________________________________
    Device UUID TYPE LABEL
    /dev/mmcblk0p1 6665-3162 vfat
    /dev/sda1 CA6A20CC6A20B75B ntfs System Reserved
    /dev/sda2 1EE242D5E242B137 ntfs
    /dev/sda3 65db0c59-9f04-46f1-975d-8a4c28132137 ext4
    /dev/sdb1 bb9818db-ce7c-43a4-8ad5-8d3702001aed ext4
    /dev/sdb2 3C2E3A4E2E3A0206 ntfs
    ================================ Mount points: =================================
    Device Mount_Point Type Options
    /dev/mmcblk0p1 /media/dhaval/6665-3162 vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
    /dev/sdb1 / ext4 (rw,errors=remount-ro)
    =========================== sdb1/boot/grub/grub.cfg: ===========================
    # DO NOT EDIT THIS FILE
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
    set have_grubenv=true
    load_env
    fi
    set default="0"
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function recordfail {
    set recordfail=1
    if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_output gfxterm
    if [ "${recordfail}" = 1 ]; then
    set timeout=-1
    else
    set timeout=10
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    if background_color 13,37,73; then
    clear
    fi
    ### END /etc/grub.d/05_debian_theme ###
    ### BEGIN /etc/grub.d/10_linux ###
    function gfxmode {
    set gfxpayload="${1}"
    if [ "${1}" = "keep" ]; then
    set vt_handoff=vt.handoff=7
    else
    set vt_handoff=
    fi
    if [ "${recordfail}" != 1 ]; then
    if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
    if [ ${match} = 0 ]; then
    set linux_gfx_mode=keep
    else
    set linux_gfx_mode=text
    fi
    else
    set linux_gfx_mode=text
    fi
    else
    set linux_gfx_mode=keep
    fi
    else
    set linux_gfx_mode=text
    fi
    export linux_gfx_mode
    if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
    menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    linux /boot/vmlinuz-3.5.0-21-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro quiet splash acpi_osi=Linux acpi_backlight=vendor $vt_handoff
    initrd /boot/initrd.img-3.5.0-21-generic
    submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    menuentry 'Ubuntu, with Linux 3.5.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-21-generic-advanced-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    echo 'Loading Linux 3.5.0-21-generic ...'
    linux /boot/vmlinuz-3.5.0-21-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro quiet splash acpi_osi=Linux acpi_backlight=vendor $vt_handoff
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.5.0-21-generic
    menuentry 'Ubuntu, with Linux 3.5.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-21-generic-recovery-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    recordfail
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    echo 'Loading Linux 3.5.0-21-generic ...'
    linux /boot/vmlinuz-3.5.0-21-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro recovery nomodeset
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.5.0-21-generic
    menuentry 'Ubuntu, with Linux 3.2.0-29-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-29-generic-advanced-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    echo 'Loading Linux 3.2.0-29-generic ...'
    linux /boot/vmlinuz-3.2.0-29-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro quiet splash acpi_osi=Linux acpi_backlight=vendor $vt_handoff
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.2.0-29-generic
    menuentry 'Ubuntu, with Linux 3.2.0-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-29-generic-recovery-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    recordfail
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    echo 'Loading Linux 3.2.0-29-generic ...'
    linux /boot/vmlinuz-3.2.0-29-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro recovery nomodeset
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.2.0-29-generic
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    linux16 /boot/memtest86+.bin
    menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    linux16 /boot/memtest86+.bin console=ttyS0,115200n8
    ### END /etc/grub.d/20_memtest86+ ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-CA6A20CC6A20B75B' {
    insmod part_msdos
    insmod ntfs
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 CA6A20CC6A20B75B
    else
    search --no-floppy --fs-uuid --set=root CA6A20CC6A20B75B
    fi
    chainloader +1
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/30_uefi-firmware ###
    ### END /etc/grub.d/30_uefi-firmware ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    =============================== sdb1/etc/fstab: ================================
    # /etc/fstab: static file system information.
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc nodev,noexec,nosuid 0 0
    # / was on /dev/sdb1 during installation
    UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed / ext4 errors=remount-ro 0 1
    =================== sdb1: Location of files loaded by Grub: ====================
    GiB - GB File Fragment(s)
    4.564525127 = 4.901121536 boot/grub/grub.cfg 1
    5.130507946 = 5.508840960 boot/initrd.img-3.2.0-29-generic 2
    5.851592541 = 6.283099648 boot/initrd.img-3.5.0-21-generic 2
    6.317649364 = 6.783524352 boot/vmlinuz-3.2.0-29-generic 1
    4.965751171 = 5.331934720 boot/vmlinuz-3.5.0-21-generic 2
    5.851592541 = 6.283099648 initrd.img 2
    5.851592541 = 6.283099648 initrd.img.old 2
    4.965751171 = 5.331934720 vmlinuz 2
    4.965751171 = 5.331934720 vmlinuz.old 2
    I tried adding nomodeset and acpi=off to the boot parameters, but the boot process still hangs. Please let me know if I should provide any other information.
    Last edited by dhavalparmar (2012-12-30 11:45:25)

    Ok.. So my Arch Linux randomly decided to work. I'm sure I didn't do anything between my last "not working" state and my current "working" state. Below are a few things I tried:
    I thought of trying an earlier build of ArchLinux, and downloaded archlinux-2012.11.01-dual.iso and made a bootable USB out of it. It still hung.
    I was getting error messages during Arch boot that the last access time for the disks was at a future date. I found out that Ubuntu was using localtime instead of UTC and screwing up my hardware clock. I fixed it, and thought maybe the time issues were causing the boot problem. But fixing time didn't solve my problem.
    I chrooted into Arch from my Ubuntu install, ran 'sudo pacman -Syyu' and updated my Arch install.
    I thought maybe GDM isn't starting up. I re-enabled the service using 'systemctl enable gdm.service'.
    I removed OpenNTPd and installed NTPd. Enabled the daemon using 'systemctl enable ntpd'
    None of the above solved the problem, and rebooting to Arch still hung the system. So I stopped fiddling with it yesterday. Today, as usual, I just tried logging into Arch.. And it just worked out of the blue. The solution to me is as mysterious as the problem.
    I told this to my friend who introduced me to Arch, and this is what he said:
    Damn it computers, you were supposed to be deterministic!

  • Process hanging

    Hi,
    I have a process running on Solaris 9. After the proces starts it hangs infinietly consuming 100 % of 1 CPU . There are 8 CPU's. I attached this process to truss utility. Below is the snapshot: the thread goes into sleep mode and the process hangs.
    /3:     lwp_self()                         = 3
    /1:     lwp_create(0xFFBFE868, LWP_DETACHED|LWP_SUSPENDED, 0xFFBFE864) = 4
    /4:     lwp_create()     (returning as new lwp ...)     = 0
    /3:     sysconfig(_CONFIG_NPROC_ONLN)               = 8
    /4:     setustack(0xFCF70634)
    /1:     lwp_continue(4)                         = 0
    /4:     lwp_schedctl(SC_STATE|SC_PREEMPT, 0, 0xFCC7BD24) = 0
    /4:     munmap(0x03F42000, 57344)               = 0
    /4:     brk(0x03F50000)                         = 0
    /4:     brk(0x04050000)                         = 0
    /4:     munmap(0x03F52000, 57344)               = 0
    /4:     lwp_unpark(3, 1)                    = 0
    /3:     lwp_park(0x00000000, 0)                    = 0
    /4:     lwp_mutex_wakeup(0xFF3EE8A0)               = 0
    /3:     lwp_mutex_lock(0xFF3EE8A0)               = 0
    /4:     lwp_self()                         = 4
    /4:     lwp_unpark(1, 1)                    = 0
    /1:     lwp_park(0x00000000, 0)                    = 0
    /4:     munmap(0x03F62000, 57344)               = 0
    /4:     lwp_unpark(1, 1)                    = 0
    /1:     lwp_park(0x00000000, 0)                    = 0
    /1:     priocntlsys(1, 0xFFBFE9BC, 3, 0xFFBFEA9C, 0)     = 16164
    /1:     priocntlsys(1, 0xFFBFE9BC, 1, 0xFFBFEA58, 0)     = 6
    /1:     getpid()                         = 16164 [16162]
    /4:     lwp_park(0x00000000, 0)          (sleeping...)
    /3:     lwp_park(0x00000000, 0)          (sleeping...)
    /2:     Received signal #2, SIGINT, in sigtimedwait() [caught]
    /2:     sigtimedwait(0xFCE7BCD8, 0x00000000, 0x00000000) = SIGINT
    /2:     munmap(0x03F72000, 57344)               = 0
    /2:     munmap(0x03F82000, 57344)               = 0
    /2:     munmap(0x03F92000, 57344)               = 0
    /2:     time()                              = 1129292137
    /2:     munmap(0x03FA2000, 57344)               = 0
    /2:     munmap(0x03FB2000, 57344)

    Anjan, I do not use the specific tool set your post is about but the answers to the following questions might help someone zero in on the problem:
    During the time that the problem is occurring do any error messages appear in the alert.log?
    Did you provide Oracle support a hang analyze dump taken during the problem period? If so, what did support identify that the hang was on?
    What do the machine CPU and memory utilization look like during the problem period?
    HTH -- Mark D Powell --

  • Win7 x64 itunes*32.exe process hanged up and window not open

    sry,my english not good.
    windows 7 x64 and itunes 10.5, after install, itunes*32.exe(Not AppleMobileDeviceService.exe) process hanged up , cpu(1/4 cores) up to 100% .

    Sounds stupid, but this will actually work.
    1. Quit iTunes.
    2. Start an elevated command prompt (Start Menu -> All Programs -> Accessories -> Right Click "Command Prompt" -> "Run as Administrator")
    3. Once in the command prompt, type "netsh winsock reset" and hit ENTER.
    4. Restart iTunes.
    Problem solved.
    At least this fixed it for me on my own Windows 7 x64 installation.  I had AppleMobileDevice.exe, APSDaemon.exe, and iTunes.exe all at 25% CPU simply from opening up iTunes.
    25% CPU for me is 100% CPU per core since I have 4 cores.

  • Extreme hang problem in Xperia T2 Ultra Dual after Lollipop Update.

    Extreme hang problem in Xperia T2 Ultra Dual after Lollipop Update.Extreme and Irritating hang problem occurs after I have updated T2 Ultra Dual Phone with Lollipop Version.Kindly assist and also if Boot the device will it be solved via flashboot and unlock the bootloader?? Waiting for revert.Kindly revert.

    Flashmode or Fastboot mode is only for those that wish to root and install a custom Rom or firmware, if that's what you want to do then head over to XDA - Howwever have you tried a system repair as this usualy fixes issues after an upgrade.
    Performing a system repair using PC Companion will often fix issues - This will factory reset your phone and erase all data so best to backup before you begin
    Switch off your phone and unplug from Pc (Hold volume up and power for around 10 seconds)
    Start PC Companion and select Support zone then Update my phone/tablet then in Blue Repair my phone/tablet and follow the on screen instructions - When prompted connect your phone still switched off holding volume down or back button - This should start the repair or reformat process
    If you are using Windows 8/8.1 or a 64bit operating system then adjust the settings for PC Companion and run in compatibility mode and chose Windows 7 or XP

  • Process Hangs on VARI Table

    Dear All,
    Today suddenly we found that our background process are hangs on VARI  table, after some time DIA process also hangs on VARI table.
    I also increassed table space PSAPPOOLD.
    I search on google but not able to find why processes hangs on VARI table.
    Regards
    Abhijit

    Dear All,
    Problem is solved . We restarted the system .
    Regards
    Abhijit

  • Window8.1 Hang problem

    Hi
    I have updated Window 8 to window 8.1. After updated window, i am facing system hanged problem. its automatically hanged system and taking too much time to start working normally. I have tried to Restore window 8. but its not worked. I have updated window in janvary month 2015. Now in System reStore section show 22-3-2015 restore option. How can I retrive my window 8 ???? I need solution please help me.  or please suggest me system hanged soultion so i will work.
    Looking for forward to expert response.
    Thanks!

    Hi @Jatin2 ,
    Welcome to the HP Forums!
    It is a great  place to find answers and information!
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
    I grasp that after updating from Windows 8 to 8.1 your system hangs and is taking a long time to startup.  You have tried to do a Windows restore but you only saw a restore point for 22-03-2015.
    I suggest you do a HP PCs - Refresh Your PC to Resolve Problems (Windows 8) to reinstall the original Windows 8.
    Once you have completed the refresh process here is a link to HP PCs - Updating Windows 8 to 8.1 as a guide.
    Good Luck!
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • C++ process hangs when started from Java

    I am trying to execute a c++ code from java on a remote Windows machine. In order to deal with the remote part, I have created a Web service from where the actual command is run using Runtime.exec(). The c++ exe is not being called directly from the java code. I have a batch file that eventually calls the exe.
    The problem is, both java and c++ processes hang. The java code on server side does handle the output stream and error stream. Also, the c++ code is logging everything in a file on Windows. The strange thing is that, when I remove the WS call and run the java code on server side as a standalone java program, it succeeds. Also, execution of the batch file alone does not hang. Here is the java code:
    public class RunCPlusPlusExecutable {
    public int runExecutable() {
        int exitValue = 0;
        try {
            Process p = null;
            Runtime rt = Runtime.getRuntime();
            System.out.println("About to execute" + this + rt);
            p = rt.exec("c:/temp/execcplusplus.bat");
            System.out.println("Process HashCode=" + p.hashCode());
            StreamProcessor errorHandler = new StreamProcessor(p.getErrorStream(), "Error");
            StreamProcessor outputHandler = new StreamProcessor(p.getInputStream(), "Output");
            errorHandler.start();
            outputHandler.start();
            exitValue = p.waitFor();
            System.out.println("Exit value : " + exitValue);
            if (exitValue == 0)
                System.out.println("SUCCESS");
            else
                System.out.println("FAILURE");
        } catch (IOException e) {
            e.printStackTrace();
        } catch (InterruptedException e) {
            e.printStackTrace();
        } catch (Exception e) {
        return exitValue;
    class StreamProcessor extends Thread {
        private InputStream is = null;
        private String type = null;
        private InputStreamReader isr = null;
        private BufferedReader br = null;
        private FileWriter writer = null;
        private BufferedWriter out = null;
        StreamProcessor(InputStream is, String type) {
            this.is = is;
            this.type = type;
        public void run() {
            try {
                isr = new InputStreamReader(is);
                br = new BufferedReader(isr);
                writer = new FileWriter("*******path to log file********");
                out = new BufferedWriter(writer);
                String line = null;
                while ((line = br.readLine()) != null) {
                    Date date = new Date();
                    out.write("[" + type + "]: " + date + " : " + line);
                    out.newLine();
                writer.flush();
            } catch (IOException ioe) {
                ioe.printStackTrace();
            } finally {
                try {
                    if (br != null)
                        br.close();
                    if (isr != null)
                        isr.close();
                    if (out != null)
                        out.close();
                    if (writer != null)
                        writer.close();
                } catch (IOException e) {
                    e.printStackTrace();
    String line = null;
                while ((line = br.readLine()) != null) {
                    Date date = new Date();
                    out.write("[" + type + "]: " + date + " : " + line);
                    out.newLine();
                writer.flush();
            } catch (IOException ioe) {
                ioe.printStackTrace();
            } finally {
                try {
                    if (br != null)
                        br.close();
                    if (isr != null)
                        isr.close();
                    if (out != null)
                        out.close();
                    if (writer != null)
                        writer.close();
                } catch (IOException e) {
                    e.printStackTrace();
    The WS server is running from some admin user. And I have been running the standalone java program from some other user. It seems that the c++ executable is giving referenced memory error when being executed from WS call. There are pop-ups citing the error with OK and Cancel buttons(visible when logged in as admin). The error states
    The instruction at 0x05473030 referenced memory at 0x000001d4. The memory could not be read
    Any idea what is causing the problem and how to debug it? Why does this memory error comes only when the exe is run through WS call? Please note that I won't be able to debug the c++ code and the web service is an apache axis2 service.
    Thanks

    How can I know? Its your environment, not mine. The only thing we know is that when running the stuff through one path things blow up and when you run them through another path, things don't blow up. User rights is an obvious suspect, but not necessarily the actual problem. Generally when rights are the problem, you get some form of "access denied" exception, not a code hang.
    Another likely possibility is that of network settings; perhaps your server goes through a proxy and your local applications do not, or the other way around.
    Yet another likely possibility is that the version of Java used is different, or different versions of libraries are no the classpath causing differences in behavior. There is only one way to figure it out: get to know your environment very well and through solid reasoning and experimentation try to figure out where the breaking point is. It all starts with answering this question: what might be different in the environment of the web server, and outside of it? I can't know, only you can. Good luck.

  • Jobserverchild.exe process hanging

    Hi
    We have installed a new implementation of XIr2. Note that we have an existing implementation which does not do this. We have a setting on the deski job server of Max Jobs Allowed =2. Each time a report is run, it opens a jobserverchild.exe process in Task Manager. If we schedule another report while the first report is running, we get another jobserverchild.exe process. If we schedule multiple reports concurrently, these will continue to use the 2 jobserverchild processes. If all these reports complete, then we schedule another report, the jobserverchild process hangs, and the report stays at status Pending in infoview. If we view the process in Task Manager, the Mem Usage does not change, which indicates the process is hanging. This is causing us severe problems.
    Help pls.

    Use following method.
    u2022 -maxChildReqs <N>
    Sets the maximum number of jobs processed by one job server child
    before it shuts down and restarts (in case you want a to use a
    number between 1 [OUTPROC] and 100 [MIXEDPROC])
    Job server children will also automatically shut down if left unused for a
    period longer than 2 hours.
    http://www.youtube.com/watch?v=WQ8R477SRIA
    Thanks,
    Anil

  • Process chains problems : Working every day with error (red)

    Hi All,
    I have a next question, about process chains problem.
    When I start my process chains immediate, then working without errors,  but I want this process chains work every day and chainged properties, selected date/time and periodicaly (every day) but now it work with error.
    How to I find problems? What are yours offers?
    p.s. I see logs, but every day have diffence between errors.
    Regards,
    Mahir M. Quluzade

    HI,
    just check the time which you have given is OK or is overlappintg with some other job which is locking your table in process chain
    or is colliding with attribute change run
    or it fails because of lack of background processes.
    There could be numerious reasons and you need to analyze the log for this.
    But as you said the job is failing everday for different reasons..try to find the most common errors and try to remove it or mention that here.
    Thanks
    Ajeet

Maybe you are looking for

  • How do you transfer songs from one ipod to another?

    i got a new ipod touch and i want to put my music from my old one onto the new one. but it is not working and i do not know what to do.

  • Eligable for CC Student but graduating soon, how does it work

    Hi, I currently have CS 5.1 and have been thinking about upgrading to CC for a while now. I'm currently a student and qualify for student edition but I graduate this summer. Do I get to pay the student price for a year since I'm a student when I sign

  • Weblogic 5.1 and iPlanet as proxy server

    Hello! We are using Weblogic 5.1 and Netscape's iPlanet as a proxy server. Both the machines are running of seperate NT boxes with static IP addresses. All the changes which need to made on iPlanet side (i.e. copying proxy36.dll, modificatiopn of mim

  • Where is Captivate 8 Timing , Transition . Fade in?

    I think my timing panel is gone in captivate 8. I had seen it on text captions, bit now it is gone. There was once a "timing" button in the properties panel. I'm not sure if this is a bug or if I inadvertently turned it off. Please help.

  • Uploading CSV file

    Hi, i saved excel file into CSV file in that file amount filed contains comma.now iam uploading csv file into internal table using GUI_UPLOAD iam getting data into internal table. internaltable contains row  like 1100,600000,1114,"1,89",Hours on Proj