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

Similar Messages

  • 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)  

  • Import process hanging?

    Hi,
    Import process hanging and not response nothing,,, 50% database tables are imported remiaining is pending..
    I have checked at event viewer application log as below error
    Archive process error: ORA-16038: log 2 sequence# 186 cannot be archived
    ORA-19809: limit exceeded for recovery files
    ORA-00312: online log 2 thread 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\EHDTEST\REDO02.LOG'
    resolving for above error need to resize by using
    SQL> ALTER SYSTEM SET DB_RECOVERY_FILE_DEST_SIZE=2048576000 SCOPE=BOTH;
    I have executed this command... after that import process same condition..
    So, database need to shutdown and restart again...what will happen 50% imported tables while shutdown & startup?
    thanks
    ananda

    as pavan said take a backup and delete expired archivelogs ...
    connect as RMAN @target database...
    rman target /
    rman>report obsolete;
    rman>delete expired archivelog all;
    if no files are eligible for deletion ...then increase the FRA size....
    SQL> alter system set db_recovery_file_dest_size=xG SCOPE=BOTH; larger amount
    please post below details.....
    SELECT * FROM V$RECOVERY_FILE_DEST;
    Select file_type, percent_space_used as used,percent_space_reclaimable as reclaimable,
    number_of_files as "number" from v$flash_recovery_area_usage;
    select name, space_limit as Total_size ,space_used as Used,
    SPACE_RECLAIMABLE as reclaimable ,NUMBER_OF_FILES as "number"
    from V$RECOVERY_FILE_DEST;
    source is oracle.com
    Edited by: dbc001 on Mar 21, 2013 6:50 PM

  • Database creation process hangs

    I am manually creating a database on Windows 2k3 server using Oracle 11 r2. Using the Database Configuration Assistant to create a database, the process hangs for hours.
    I figured out and triedthe following:
    1. I have attempted using the GUI tool more than once to create the database and each time it hangs.
    2. Using the scripts have been created using the with configuration tool, I manually attemped to create database. -- I have attempted more than once.
    3. The database creation process hangs while running the EXECRM.SQL file that is called by the CATPCNFG.SQL which is called by CATPROC.SQL which is called by CreateDBCatalog.sql
    3. The EXECRM.SQL file hangs on the following statement EXECUTE DMBS_RMIN.INSTALL;
    I'm not sure why the PL/SQL packag is hanging at this point. Any help is appreciated.
    Thanks,
    Sheila

    I was able to create the databases prior to installing Enterprise Manager Grid control. I deleted the databases to re-create so they would be registered with Enterprise manager. Once I install Enterprise manager the creation process hung. I have also installed Essbase and Oracle/Hyperion Enterprise Performance Management Suite on the server. I'm trying to do some research on these BI tools.
    I'm tempted to uninstall Essbase and the Hyperion producst along with Enteprise Manager and start from scratch to test to see if I can create a database without these other products.

  • 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

  • IPlanet 4.1 Web Server - ns-cron process hangs for log rotation

    Does anybody know if there is a known issue with iPlanet 4.1 Web Server where the ns-cron log rotation process hangs up?
    Basically it won't rotate any logs, and using either the "Stop" or "Restart" buttons in the console won't shut it down, so you have to kill it manually, then start it again.
    It seems like it will run for a couple days fine, then it will hang up.
    Thanks.

    Nope, I've not seen this before. But 4.1 version is really old and no longer supported, you should consider upgrading to a supported version.

  • 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!

  • High CPU/Process hang on VDI environment

    I have a environment that is currently using Adobe Reader XI running on roughly 125 virtual desktops.
    In some of those instances, when adobe reader was launched and closed after, the process hangs up in the background and takes on high CPU. The only means to recover is to open task manager and kill the offending .exe
    Thoughts?  

    Can you try to disable Protected Mode in Adobe Reader [Edit | Preferences | Security (Enhanced)].

  • 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.

  • 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

  • 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.

  • Java mail process  hangs

    Hi,
    I am connecting to exchange server to read the mails. The program works fine but sometimes it just hangs.
    The process hangs at "store = session.getStore("imap")".
    Any help?
    Thanks

    Can you get a stack trace when the hang occurs?
    The most common cause of hanging is trying to connect to a server that's not up.
    You can set timeouts to control that.
    But the getStore method is an entirely local method, it should not hang.

  • 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

Maybe you are looking for

  • How to unlock ipad 2 forgot password, with app find iphone on

    Please help. 

  • Transfering music purchased in itunes to my ipod

    I have updated my itunes to the latest version.  Now I am unable to transfer my two recent purchases to my ipod touch.  how do I get them to transfer?

  • Workspace 11.1.1.3 can't open Task-list in Basic mode

    Hi, I'm using EPM 11.1.1.3 on Weblogic 9.23, MS SQL, Win2003R2 EE User's task list has been created and successfully opened by user in Planning and Workspace (Advanced mode). He'd like to open this task list in Workspace (Basic mode). Workspace get e

  • PDF Embedded Video

    Hi, I have window desktop application develop in Visual Studio.NET 2010 (C#.NET). The video is saved in *.MP4 or *.AVI format with high definition. The desktop application record the Live Web Cam Video, as soon the video is saved in need to export th

  • Bw statistics- technical cubes

    Hi     I hav a question on BW Statistics. I wud like to know as we hav 6 basic cubes , is it necessary to install all of the basic cubes or we can install only few among them. if so plz let me know as which cubes r most important. 2) i wud like to kn