CentOS 5 Hardware :: ATA Command Timeouts After Disk Has Gone Sleeping?

Jul 3, 2010

configured myself a NAS, which is infrequently accessed, so I set the standby timer of the disks to 241 (30 minutes) using hdparm.

for i in /dev/sd?; do
hdparm -S 241 $i > /dev/null
done

[code]....

View 2 Replies


ADVERTISEMENT

CentOS 5 :: "md0_raid1" Process Is Changing From Status "sleeping" To "uninterruptible" About Every 4 Seconds On 5.5

Dec 28, 2010

I have problems with a very slow workstation (even the mouse movement takes seconds....). Analyzing the processes, I found out that raid related processes are the reason. I have 4 HD, 2 pairs of raid 1. One set of HD covers md0-md3 and one set of HD covers md4-md6. ( run an updated CentOs 5.5 ws) I see that "md0_raid1" process is changing from status "sleeping" to "uninterruptible" about every 4 seconds. I changed one HD in this raid 1 set (which covers md0, md1, md2 and md3). When I only had one HD in this raid 1, there were no such processes (of course there was nothing to mirror to ....)

During the exchanging of one of the HD in this raid 1 set (md0-md3) (which I thought was the bad one)), I removed (by mistake) one HD from the other raid pair (md4-md6), which I now am rebuilding, using the mdadm add command. Checking the process list, they show indeed up as "md5resync" in the process list. Same for md4 and md6. This seems OK. But why do I have these continously recurring "md0_raid1" process in my list, listed as "uninterruptible" ?? What is happeing? When I check with mdadm --detail /dev/md0:

[Code]....

View 13 Replies View Related

Debian :: Frequent Lan Connection Timeouts

Jun 9, 2015

I run a Laptop (Mint 17.1), which is connected to a Debian 8.1 server over a LAN. The systems are connected through a router. Both of them show no problems when working independently and when doing work on the internet. Also, ping works fine (no lost packets, no delays!) from Debian to Mint. However when doing a ping from the Laptop (Mint) to the Debian server, I experience frequent packet losses and timeouts. In fact, a "first" ping may lose the first 20 to 30 "tries". Thereafter, if I repeat pings immediately and quickly one after the other, they might in geral not lose packages or show delays. Ping to and from the router also works perfectly in either direction!

Of course, functions such as ssh or samba-sharing are hampered as well by this behaviour. Also, if I DO in fact manage to connect to the Debian server via ssh, my console (KDE 14) is freuqently "locked" (i.e. - doesn't show my input for a while) but in the end DOES show the characters entered and gets processed o.k. (eg. when doing an "ls"-command). Both systems are at the latest software-level and I just finished installing Debian 8.1. The situation was the same on Debian Wheezy, however.

View 3 Replies View Related

Ubuntu :: Sudo Permissions And Timeouts?

Feb 3, 2010

I want to make a script for something, but I'm worried the timeouts on sudo permissions (how you can't got more than 5/10 minutes between sudo commands before needing your password again). Basically, I don't want my script to be redundant and require overseeing for password inputs.

Code:
sudo echo Hello.
sleep 6000
sudo echo This is text. This shows the basis of the problem. I will need to enter my password twice.

Would allowing it to run uninterrupted be as easy as running this theoretical shell script his sudo to begin with?

View 1 Replies View Related

General :: SuSE Nfs Client RPC Timeouts

Jan 5, 2010

i'm new to linux so bear with me.we have two servers running in a cluster mode. i disable the cluster so that we could install a new os kernel that was provided by our vendor tumbleweed.So the active server which does not have the upgraded os kernel the version is Linux version 2.6.5-7.283-smp (geeko@buildhost) (gcc version 3.3.3 (SuSE Linux)) #1 SMP Wed Nov 29 16:55:53 UTC 2006 for the server which does not have the kernel upgrade, i can mount to netapp mount. however from the server which has it's kernel upgraded, i get a rpc timeout error when i try to mount the drive.

somehow the server which has got the kernel upgrade is trying to use udp. the server goes through a firewall before getting to the netapp server and upd is not allowed.in the fstab entries, i specified tcp,proto=tcp but no matter what values i put in, it's trying to use upd.

View 7 Replies View Related

Server :: Preventing SSH Timeouts - Some Clarification?

Jun 8, 2010

We are seeing some dropped SSH connections because of which some of the process are failing . The main likely reason for the connection drops is that both the client and server remains 100% busy during a certain time interval and during that time interval we see those occassional connection closed by the server.

[Code]...

View 1 Replies View Related

CentOS 5 :: Redistribute A Disk Without Loss Of Data Namely It Is Necessary To Make / Boot And Two Equivalent On Disk Volume?

Aug 24, 2009

There is a disk 500 gb, it is broken on /boot and on /root and on /dev/sda1 and /dev/sda2. Whether prompt it is possible to redistribute a disk without loss of data namely it is necessary to make/boot and two equivalent on disk volume.

View 3 Replies View Related

Debian :: Where Does Gdm3 Get Its Default DPMS Timeouts

Feb 9, 2016

There's a short version at the bottom.

I just installed jessie with gdm3 and use xfce.

I like my monitor to turn off when I'm not at the computer for more than 10 or 20 minutes or so and it wasn't doing that. I haven't used Linux for years and was used to xorg.conf/x11.conf and xinitrc and such.

So I rediscovered xset is responsible for DPMS settings. xset -q revealed DPMS was off. So I used it and put it in ~/.xinitrc. It didn't work. After some canoodling around I found out about xfce's Session and Startup gui thing. I was using that to run ~/.xinitrc.

When I got to my desktop and did a check with xfce4-terminal by running xset -q it would show DPMS enabled but the values were wrong. 600, 0, 900 to be exact.

After some searching I came across the information that xscreensaver will override DPMS settings as it manages DPMS too. So after more canoodling I found out about xfce's Screensaver preferences dialogue and used that to set my values. The values would immediately be set but the problem is that they are not persistent. If I reboot or log out the values will revert to 600, 0, 900. They will only reset to what I want them to be by running xfce's Screensaver preferences dialogue manually.

man gdm3, info gdm3, grep -r DPMS in /etc/gdm3, grep -r dpms in /etc/gdm3 reveal nothing related to DPMS. I've done some searching and nothing useful.

there is an /etc/X11/app-defaults/XScreenSaver-nogl which has some DPMS settings but the times are too large (2 hours); the only thing that matches is the off setting which is specified there.

xscreensaver -no-splash is present in the output of ps so it is xscreensaver and not gnome-screensaver.

The weird thing is that I re-enabled my ~/.xinitrc in xfce's Session and Startup gui thing and it is being run, but the numbers are getting set wrong after it is run. (I put an echo command after xset dpms 900 1200 1500, and the file is appearing in ~)

Where does 600, 0, 900 come from? Mystified on how to proceed from here. I don't remember enough on how to see what's doing what. Is there some sys thing or proc thing I can monitor to find out what's setting these values?

Short version: my xset dpms values are getting reset to 600, 0, 900 every time I logout or reboot. They revert to 600, 0, 900 every time I get to my desktop. I use gdm3 and xfce. Where are these coming from?

View 2 Replies View Related

Ubuntu Servers :: Sporadic Timeouts - Access Via No IP

Apr 24, 2011

I was having a problem where my server would go unresponsive to it's No-IP redirected name while access via local net IP was unaffected. Access via the No-IP name would usually be restored within 5 minutes or so.

View 1 Replies View Related

Networking :: Double NAT & HTTPS Connection Timeouts?

Feb 2, 2011

I am having a problem with HTTPs in a double NAT'd network configuration. The scenario is like this..

[Code]...

Machines on these LANs can talk to each other no problem. There is also a NAT rule configured for traffic going from LAN A via LAN C out to the Internet. The Nokia is also doing NAT'ing. Normal web browsing works fine with this setup, but whenever I try to access HTTPS sites, it just hangs and eventually times out.Packet captures have showed lots of TCP Retransmission messages. If I logon directly to the Linux Router and fire up a browser, I am able to access HTTPS sites without any problems. This appears to be something to do with the traffic being NAT'd twice. Is there a way I can get around this without changing the config of the Nokia?

View 1 Replies View Related

Ubuntu Networking :: Wifi Timeouts Constantly Since 9.10 / Stop It To Do So?

Feb 19, 2010

I'm using the linksys wmp300n with ndiswrapper to connect to a belkin wireless router with a static ip (192.168.2.3). The rest of the PCs in the house have .2, .4, and .5 only running windows XP and 7. This one won't stay connected during large file transfers within the network or over the internet in Ubuntu. I made a script to restart ndiswrapper but I have to do it every 2 or 3 min during a file transfer. I can't play online games at all. No ssh sessions for more than a few min... so on and so forth. None of these issues happen in Windows 7 but when it was first installed it had to do something with dhcp before it would stay connected. Windows wouldn't tell me what was going on though. code...

View 2 Replies View Related

Programming :: Python / Sqlite - Database Locked Despite Large Timeouts?

Apr 8, 2010

I'm sure I'm missing something pretty obvious, but I can't for the life of me stop my pysqlite scripts crashing out with a database is locked error. I have two scripts, one to load data into the database, and one to read data out, but both will frequently, and instantly, crash depending on what the other is doing with the database at any given time.I've got the timeout on both scripts set to 30 seconds: cx = sqlite.connect("database.sql", timeout=30.0)and think I can see some evidence of the timeouts in that i get what appears to be a timing stamp (e.g 0.12343827e10 1) dumped occasionally in the middle of my curses formatted output screen, but no delay that ever gets remotely near the 30 second timeout, but still one of the other keeps crashing again and again from this. I'm running RHEL5.4 on a 64 bit HS21 IBM blade, and have heard some mention about issues about multi-threading and am not sure if this might be relevant.

Packages in use are sqlite-3.3.6-5 and python-sqlite-1.1.7-1.2.1, and upgrading to newer versions outside of RedHat's official provisions is not a great option for me. Possible, but not desirable due to the environment in general.I have had autocommit=1 on previously on both scripts, but have since disabled on both, and am now cx.commit()ing on the inserting script and not committing on the select script. Ultimately as I only ever have one script actually making any modifications, I don't really see why this locking should ever ever happen

View 3 Replies View Related

Debian Configuration :: Timeouts And Dependency Failures On Boot - Crypto Related

Mar 27, 2016

I've got this weird problem: when I reboot my Debian 8.3 server, I have to run through the crypto unlocking processes for my encrypted volumes a few times before I actually get to a login screen. The operation times out 85% of the time, leaving me to reboot and try over and over until the system is happy.

Here's my partitioning setup (manually partitioned at install):
/boot: 500 MB, EXT2, nodev, nosuid, noexec
/tmp: 2 GB, EXT2, AES-256/xts-plain64 with RANDOM KEY
swap: 2.5 GB, AES-256/xts-plain 64 with RANDOM KEY
/: 35 GB, EXT4, AES-256/xts-plain 64 with PASSPHRASE
/var: 35 GB, EXT4, AES-256/xts-plain 64 with PASSPHRASE
/home: 45 GB, EXT4, AES-256/xts-plain 64 with PASSPHRASE

Here's the output from journalctl -b -p 3:
Code: Select allDate and time | server name | systemd[1]: Timed out waiting for device dev-sda5.device
Date and time | server name | systemd[1]: Dependency failed for Cryptography Setup for sda5_crypt
Date and time | server name | systemd[1]: Dependency failed for Encrypted Volumes
Date and time | server name | systemd[1]: Dependency failed for dev-mapper-sda5_crypt.device
Date and time | server name | systemd[1]: Dependency failed for /tmp

[Code] ....

I had the same problem in previous builds where I chose Twofish instead of AES, and I was hoping that the timeouts would be fixed by switching to AES as my CPU has the AES instruction set. Obviously that didn't make a damn bit of difference.

What am I doing wrong, or what should I change in my setup? The encryption is a requirement. Could the problem be caused by something as stupid as using a RANDOM KEY instead of a PASSPHRASE on /tmp and swap?

Debian 8.3 as OS version.

View 1 Replies View Related

Ubuntu :: 10.4 - Computer Not Sleeping When Close Lid

May 1, 2010

I just installed ubuntu 10.4 and when I close my laptop, it does not go to sleep. The hard drive is still on and the computer is still working even after I have closed it.

View 9 Replies View Related

Ubuntu :: Lucid Is Sluggish After Sleeping?

Jun 9, 2010

Having woken her up, she is often very bleary eyed with no energy and little movement. It takes her quite a time to be fully functional. Are there any settings that reduce the time between waking up and full efficiency?

View 6 Replies View Related

Networking :: Wicd Has Connecting To New AP's After Sleeping?

Jul 6, 2011

I was using wicd on a spotty network, the house blocked a lot of the signal from moving around, so wicd was having major issues with that AP. Later I was trying to connect to another AP but wicd couldn't connect plus it was saying the spotty network's name was the one it was connecting to. Although I didn't try before I left/gave up I'm sure a restart of the wicd daemon would have solved it.

But why is this even the case? is there something I could add to the scripts that would clear this issue up? (I also submitted a bug on wicd's launchpad project but haven't gotten any response... I hope this isn't a 'feature')

View 3 Replies View Related

CentOS 5 :: Install CentOS 5.2, And The Installation Ran Out Of Disk Space After Running For About 2 Hours?

Feb 18, 2010

I am trying to install CentOS 5.2, and the installation ran out of disk space after running for about 2 hours.I checked the FAQ, and it said 1.2 GB. The disk is 3 GB. The default install was selected, and I think that it checks for sufficient available disk space before installing. Still, it ran for quite a while before announcing that it was out of disk space.The Installation Guide is not very helpful, since there is a blank page where the disk space requirement is supposed to be. I just picked the default installation. A search of the forums on "not enough disk space" did not return much.

View 13 Replies View Related

General :: Blocking Or Sleeping An Interrupt Handler?

Dec 2, 2010

Assume: 1) Multi-cpu environment 2) Process that gets interrupted, is the same process that executes the interrupt handler, so I guess technically nothing gets interrupted except what the process was doing before, but it is still executing as it is executing the handler. 3) There is no top or bottom half, when an interrupt takes place the handler is invoked, executes, then return from interrupt, simple as that.

Why would sleeping the handler (puts in sleep queue, context switch to next runnable process) be a bad idea?

View 1 Replies View Related

Ubuntu :: Eee904hd Sleeping Randomly / Solution For This?

Apr 30, 2010

Yesterday, I clean installed the netbook remix of 10.04 , all went well, until I removed the power cable.

While off mains the netbook will randomly sleep, I really can't seem to find a trigger for it.

In the power settings I have changed various options to alter this but nothing seems to affect this.

This machine had xp on previously without a similar problem, so I am ruling out a faulty lid trigger. (Doesn't happen with powered on mains)

View 2 Replies View Related

Ubuntu :: Prevent External Drive From Sleeping?

Aug 26, 2010

I have a Hitachi SimpleDrive (LS-1000-EMEA) it has an "Auto-sleep" function which I believe is controlled by the enclosure itself.The problem I'm having is that when the drive goes to sleep Ubuntu does not seem to be able to wake it up again. I am running Karmic 9.10 as a stripped down install with XBMC as a front-end. I cannot access the drive at all when it does this.

I'm not sure if the problem is that the drive is formatted as NTFS. I notice that when the drive is connected to my Mac or PC it resumes no problem (with a slight delay as the drive gets out of standby) but with Ubuntu it just seems to stop responding. When I reboot the drive is not mounted by Ubuntu. Physically, the blue LED indicator on the drive is frozen (i.e. lit-up) rather than flashing as it normally would. I have to actually unplug (from the mains) and plug it back in for it to work.I have tried using sdparm, but as I say I think the sleep function is controlled by the enclosure and thus sdparm gives me no standby options.

View 3 Replies View Related

General :: Mount Mp3 Player (sdb) Without Waking Up Sleeping Sda?

Jun 26, 2010

I would like to mount my mp3 player (sdb) without waking up the sleeping SATA disk sda. Attaching mp3 player does not wake sda up, but mounting it does. My system is mostly Slackware 11, so I'm still on kernel 2.4.

View 5 Replies View Related

CentOS 5 Hardware :: Installing CentOS 5.3 Using Custom ISO And Drive Disk?

Nov 10, 2009

I am having new hardware and IDE driver for that hardware as drive disk image (it8213_centos53.img). CentOS 5.3 installation is working fine with drive disk image at USB and CentOS 5.3 at DVD. Our application uses CentOS 5.3 and we build a custom kick-start ISO for installations. Using that ISO client is going to install on all hardware boxes.

Note while installing :
a) No network connection is avalible.
b) No USB isavalible.
c) No floppy is avalible.
d) Only single CD-ROM is avalible.

So, is it possible to build single custom kick-start CentOS 5.3 ISO which contains dirve disk image and entire installation will be done using that image. If so please let me know the steps to build it.

View 2 Replies View Related

Debian Multimedia :: Krusader Remains With A Sleeping Status

Oct 5, 2010

I'm having a problem with krusader. When I open and close it, it remains with a sleep status. This can be verified by the system monitor and by the "ps aux". The krusader only go away if I use killall. This is occurring in more than one machine. I'm using squeeze gnome 64 bits.

View 2 Replies View Related

Ubuntu :: How To Prevent Screen From Sleeping Needing Relogin

Jul 2, 2010

I put power settings to never, but the screen still goes to sleep and moving the mouse you have to login.What I really want is no login screen, and I suppose if you were watching a vid it would go dark?

View 2 Replies View Related

Programming :: Implementing Sleeping Barber's With Multiple Barbers?

Oct 11, 2010

I'm working on a problem in which i have to implement the regular sleeping barber problem with multiple (say n) barbers. The code i'm using is this :

#include<stdio.h>
#include<stdlib.h>
#include<unistd.h>
#include<pthread.h>
#include<errno.h>
#include<sys/ipc.h>
#include<semaphore.h>
[Code]...

how to implement the modification? (there are many more such modifications where i'm stuck , but will ask about those later)

View 6 Replies View Related

CentOS 5 :: Daily Backup Of CentOS Server To Disk?

Oct 6, 2010

I'm looking for a simple solution to backup my CentOS Server (5.x) on a daily base to a mounted disk. I found the glastree tool but I have no clue if it will work on CentOS.All recommendations, tipps, hints and maybe scripts are welcome. Unfortunatelly I'm an Linux newbie and starting with Linux CentOS a couple of weeks ago

View 1 Replies View Related

CentOS 5 :: Can External Sun UltraSCSI Ufs Disk Be Mounted On CentOS

Jun 26, 2011

I need to read information from SUN hard disks which are about a decade old. My CentOS 5.6 mount command comes from util-linux 2.13-pre7."mount -t ufs -o ufstype=sun /dev/sdb2 /New" reports "mount: unknown filesystem type 'ufs'", though its man page describes such settings.How could I read an external UltraSCSI hard disk (yes: high pitch noise and only 9 GB capacity) on a current CentOS? Is that possible at all?

View 1 Replies View Related

Fedora Installation :: 12 LiveUSB Fails To Boot (sleeping Forever..)?

Nov 20, 2009

I've created an LiveUSB disk with the USBcreator method in Windows 7.Now the the image is copied succesfully and the USB key is bootable.However when the boot window popsup and I select the verify & boot option, a graphical loading window comes up and right after that the system halts with the error message "Sleeping forever".What am I doing wrong? Or what is Fedora doing wrong with their LiveCD to USB media?I've did a forum search and the exact same issue is described in this thread[URL]

View 5 Replies View Related

General :: Recover An Application In Sleeping State After An X Server Crash?

Jan 28, 2011

I often run calculations on my Linux computer, which cause my X server to crash from time to time. Almost always, some programs seem to survive to the crash and are in an interruptible sleeping state, for example:29315 ? Sl 54:35 /home/kashim/Desktop/anylogic/anylogic -vmargs -Xmx1024MIs there a way to reconnect these applications with the new X server?

View 1 Replies View Related

Ubuntu Multimedia :: Boxee Beta 64bit - Sleeping Process?

May 15, 2010

I've got the new beta working in ubuntu 64 bit lucid 10.4. But, I have to go to admin/sys monitor and end the boxee "sleeping" process B4 it will start again after exiting The app? Id sure like to fix it.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved