Rman archive backups hanging due to datadomain issue cause Linux system hang

Dears,

We see that our Linux system became unresponsive. During that time we see from crashdump of server that there were 23k zombie processes of oracle and lot of uninterruptible processes of oracle.upon further analysis we saw that more than 12 rman archive backups were just hanging for more than 3-4 hours on this because of a hardware issue on underlying backup domain device and all were killed and someone restarted everything at once.Could someone please tell me if you faced similar issue? Backups should have been stopped during such issues but can we be sure that the backup hanging caused contention…please note that the hardware issue on the datadomain was causing the restarts of datadomain device and intermittent connectivity issues.

Magento 1: Adding attribute to customer makes save customer hang

I need to add a checkbox to the admin customer edit form. I can successfully add the checkbox using this code:

<?php  $  name = 'test_foo'; $  forms = array('adminhtml_customer'); $  baseDir = dirname(__FILE__);  require_once($  baseDir . '/app/Mage.php');  umask(0); Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID);  $  installer = new Mage_Customer_Model_Resource_Setup('core_setup'); $  installer->startSetup();  $  installer->addAttribute(     'customer',     $  name,     array(         'input' => 'checkbox',         'type' => 'int',         'label' => 'Test Foo',         'visible' => true,         'global' => 1,         'default' => '0') );  Mage::getSingleton('eav/config')     ->getAttribute('customer', $  name)     ->setData('used_in_forms', $  forms)     ->setData('sort_order', 99)     ->setData('is_user_defined', 1)     ->setData('is_required', 0)     ->setData('is_system', 0)     ->save();  $  installer->endSetup(); 

But then when I edit a customer and click save it says “please wait” forever. If I remove this new attribute then saving a customer works instantly. So how can I add this checkbox without messing up the customer edit functionality?

Remote Desktop hang OS or block all the connections

I have an Ubuntu Server 18.04.02 fresh install, where I need to access through VNC or Remote Desktop(XRDP). I can access using putty without problems, I install XRDP using this article, I am using XFCE4 as GUI.

I can access to my remote ubuntu server from windows pc and after a couple of minutes the session is closed and I can´t access to the remote server, even using Putty I can´t access and is required a hardware reset.

Any advice in how to troubleshoot this issue or someone have the same issue.

Thanks in advance

How not to hang?

I love bitcoin! But last month I lost more than 20 bitcoins. Margin trade and greed will ruin us all. I appeal to all bitcoin communion, I hope among us there are people who will not remain indifferent, and maybe will help those who love biteoin, but unfortunately lost all their biteoins and does not know how to continue to live ( I do not know what to do…

My BTC wallet – 1AYaaSxfiZ67Vehh89V4Px8PQacdW6MXV6

Cron job hang – how to debug?

I have some cronjob that sometime get stuck in running status.

That make me think that for some reason they produce and error but I cannot find any related log. ( the column messages in cron_schedule is empty )

How can I be sure cron execution produce log in case of errors ?
How can I proceed to debug this issue, any advice ?

UPDATE
It looks my question is not clear, so I’m adding some more content ( I am not sure it gonna help because most of the people seem to read the title and guess the question … )

  • I know how cron works
  • I know how to check if a cronjobs run or not
  • My cronjobs correctly run

The problem is some of the cronjobs do not end.

To be more clear: Mage_Cron_Model_Observer::_processJob()

  $  schedule         ->setExecutedAt(strftime('%Y-%m-%d %H:%M:%S', time()))         ->save();      call_user_func_array($  callback, $  arguments);      $  schedule         ->setStatus(Mage_Cron_Model_Schedule::STATUS_SUCCESS)         ->setFinishedAt(strftime('%Y-%m-%d %H:%M:%S', time())); 

The setStatus is never reached for some cron, that is the problem.

Please avoid give random answer or just the first result google provide ( I know how to use google, I did my research … )

If the answer is not clear, just let me know.
If you wanna help you are more the welcome if you just want waste my and your time you are not. ( this site is meant for quality answers, it is not a forum where everybody says his opinion … posting not related answer will not help other people with same issue … but will just create confusion )

fcntl couldn’t lock /dev/null and hang

A minimal working example, but only for my machine:

int main(int argc, char* argv[]) {     int fd = open ("/dev/null", O_RDWR|O_CREAT);   if (fd < 0) {     printf("Failed to open file\n");   }    struct flock lock;   lock.l_type = F_WRLCK;   lock.l_whence = SEEK_SET;   lock.l_start = 0;   lock.l_len = 0;    int res = fcntl(fd, F_SETLKW,&lock); // this hangs   if (res < 0) {     printf("Failed to lock\n");   }   close (fd);   return (0); } 

The program above hangs only on my machine, and completed instantly on 7 other machines. Is there anything that I can look into to investigate this problem?

dosfsck seems to be hang after bad cluster message

I used the following terminal command to fix bad sector on /dev/sda5 partition I have which is FAT32

sudo dosfsck -w -r -l -a -v -t /dev/sda5

after running for a long time it displayed the following:

Cluster 3109747 is unreadable. Cluster 3109748 is unreadable. Cluster 3109749 is unreadable. Cluster 3109750 is unreadable. Cluster 3109751 is unreadable. Cluster 3109752 is unreadable. Cluster 3109753 is unreadable. Cluster 3109754 is unreadable. Cluster 3109755 is unreadable. Cluster 3109756 is unreadable. Cluster 3109758 is unreadable. Cluster 3109759 is unreadable. Cluster 3109760 is unreadable. 

and there is a white blinking cursor at the end but it seems to be hangs because the white cusros keeps blinking without any other output. what to do?

Boot hang dell kbd_backlight Ubuntu 18.10

I am having a problem with my Dell Inspiron 5570. Boot hangs after “starting load/save RF kill switch” when the system tries to load the dell kbd_backlight service. The only way i can get the system to boot is repeated hard resets (holding the power button). Sometimes it will take up to 10 hard resets before Linux will make it past the hang point. I noticed that when it does boot there is a message that reads something like [FAILED] dell kbd_backlight.service. THe system will boot fine into recovery mode. I researched the problem on Google and found that this is an old bug that has yet to be addressed. I tried the work-around:

(Grub- advanced- recovery- root shell) mount -o remount,rw / rm /var/lib/systemd/backlight/platform-dell-laptop:leds:dell::kbd_backlight systemctl mask systemd-backlight@leds:dell::kbd_backlight.service reboot

But the problem persists… Any ideas on what i could try? Thanks, Derek

Selenium::WebDriver::Error::UnknownError causes socket hang up, followed by ECONNREFUSED 127.0.0.1:8200

I’m developing an automation script to exercise an app on a tablet. The script is written on a MacBook Pro with OS X v10.11.6 in RubyMine 2018.3.5 and connects via Wi-Fi to the tablet using Appium 1.12.1 and Gem selenium-webdriver 3.141.0.

The Capabilities declarations for Appium in RubyMine are

appiumVersion: ‘1.12.1’, platformName: ‘Android’, platformVersion: ‘7.0’, deviceType: ‘tablet’, deviceName: ‘10.124.41.103:5555’, app: ‘/Users/paulkmecak/Downloads/usa-mailing-qa-signed-686.apk’, appPackage: ‘com.pb.csdsenior’, appActivity: ‘com.pb.csdsenior.presentation.view.activity.StartupActivity -esa REDIRECT_ACTIVITY com.pb.csdsenior.presentation.view.activity.MailMainActivity’, newCommandTimeout: 480, noReset: true, fullReset: false, automationName: ‘UiAutomator2’

The Hipstreet Titan Turbo tablet runs Android 7.0

The script reads records with various parameters and enters them on the tablet app, making sure the results on screen 1 carry over to screen 2, etc, and back to the home screen.

At some random point, I get an error message

***Error Type: Selenium::WebDriver::Error::UnknownError, Error Message: An unknown server-side error occurred while processing the command. Original error: Could not proxy. Proxy error: Could not proxy command to remote server. Original error: Error: socket hang up,

find_element_by_locator( COD ), Error Type: Selenium::WebDriver::Error::UnknownError, Error Message: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8200 undefined method `click’ for # (NoMethodError)***

This occurs after as few as 45 records or as many as 189 records. Unfortunately, there are over 1600 records I need to process.