Ubuntu :: Standby / Suspend: Fails 2nd Time On 'Freezing User Processes'

Feb 11, 2010

I have what I think is a somewhat different failure of standby than I've seen listed on other threads, and I'm stumped.The system hangs on this for a while, then comes back to the login screen without going into standby. This ONLY HAPPENS on a SECOND standby attempt--the first standby after booting ALWAYS succeeds.The standby log doesn't indicate any failures.I had made other changes previously that temporarily got standby working consistently:/etc/default/grub: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1"

View 1 Replies


ADVERTISEMENT

Fedora :: Put Windows To Sleep (standby, Suspend) Remotely?

Apr 3, 2010

I have been working on this problem for a few month. By messing with windows registry and local security policies I was able to remotely shut down windows from Linux by issuing:

Code:
net rpc SHUTDOWN -C "comments" -f -I xxx.xxx.xxx.xxx -U username%password

But now I am wondering how to force windows into sleep or suspend remotely from Linux.

It seems that there is no "net rpc SUSPEND" or "net rpc STANDBY" option available.
how to perform such remote operation?

View 2 Replies View Related

Fedora Servers :: Set Standby Time To Sleep And Wakes Up Automatically?

Jan 9, 2011

I have a home server that I'd like to put into standby for a specified period of time (like from 1AM to 9AM) daily. How could I make this happen, so that it goes to sleep and wakes up automatically?

View 5 Replies View Related

Ubuntu :: Laptop Standby: Wireless Tries To Connect While On Standby

Jun 27, 2010

Running Ubuntu 10.04 on a dual-boot Windows 7 laptop.

On "suspend," the wireless card appears to close connections correctly. Then, >15 minutes later, the laptop's wifi LED lights up and the laptop generates heat.

The computer should be on standby, but instead it's waking itself up and running down the battery.

Are there any programs that might be failing to suspend for sleep? Are there any settings to prevent the wifi card from waking the computer?

I only noticed this because the laptop was getting hot and the battery was wearing down.

View 2 Replies View Related

Fedora :: Closing Thunderbird 3.0b4 Fails To End Processes?

Oct 12, 2009

since updating from thunderbird 3.0b3 to 3.0b4, thunderbird no longer closes properly when using file - quit. the windows close but the processes are left running and i have to kill them. it does this in normal mode and safe mode however, if i move my .thunderbird directory out of the way and set up an account from scratch it seems to work ok but i don't really want to have to fully reconfigure everything from scratch. how to identify the offending setting/addon/etc. ?

View 1 Replies View Related

Ubuntu :: Find Cumulative CPU Time For Processes For An Interval?

Feb 20, 2010

I want to find the cumulative CPU time used by each process between two points (defined by the user, e.g. running a command or clicking a button).

A first stab at this would be running

Code:
ps -eo pid,cputime

at the beginning of the interval and at the end, then doing some arithmetic on the two sets of results. But this only shows whole seconds of cputime ... and what about processes that started and stopped during the interval?

View 1 Replies View Related

Programming :: Measure Time Of N Processes?

Oct 24, 2010

how can I measure time of N processes and N threads and then compare this time to prove that threads are faster than processes. understanding C code, or also for some good way to measure time of N processes and N threads for C.

View 5 Replies View Related

General :: Real Time Processes ?

Dec 7, 2009

I've got the following problem:

1. I start two bash windows

2. In one of them I start a script test1:

Code:

This script puts a natural number 5 times a second.

3. Then in the second bash window I type (as root):

Code:

The script test2 looks as follows:

Code:

While true; do
true;
done

During the following 15 seconds test2 is the process with the highest real-time priority. As far as I know the script doesn't perform any system calls so it shouldn't be suspended even for a minimal timeslice. My question is: why the process test1 manages to put a few numbers on the screen before test2 stops. I thought that test2 would exclusivly own the processor for 15 seconds.

View 8 Replies View Related

Ubuntu :: Maverick Fails To Suspend To Ram?

Dec 8, 2010

Maverick (64 bit) will suspend to RAM on my desktop computer immediately after I boot it up (before I start working). But after I have some programs open, it always fails to suspend. I get the typical blinking cursor in the upper right corner of a black screen. Then, after 20 seconds, the screen comes back on. The logs contain a message that "Freezing of tasks failed after 20.01 seconds." The problem task is usually listed as gnome-panel. Sometimes other tasks are listed too (such as Nautilus). Why will gnome-panel allow me to suspend soon after booting up, but not allow suspend after I start working with applications? I am not changing anything in the panel. And deleting the applets I have installed (system monitor and hardware monitor) doesn't make any difference - the problem continues. As I said, sometimes Nautilus is listed as the task that refuses to freeze.

If I switch users, I can suspend. I assume switching users just puts me in the "clean" state I have with my own user after booting up, so this doesn't really tell me anything new. I have searched all the other threads I can find. Most of the extensive suspend debugging threads are either from the 2007 era or they deal with laptops or resume issues. My issue is failure to suspend on a desktop. As you can see from the logs, I've been working on this for a month already!

Here's a typical error message:

Nov 7 01:52:59 MyComputer kernel: [ 1625.221296] Freezing of tasks failed after 20.01 seconds (1 tasks refusing to freeze):
Nov 7 01:52:59 MyComputer kernel: [ 1625.221374] gnome-panel D 000000010001fdc2 0 1925 1853 0x00800004

Here's an example log showing 2 tasks that fail to freeze:

Code:

Nov 9 01:25:09 MyComputer kernel: [16615.765114] PM: Syncing filesystems ... done.
Nov 9 01:25:09 MyComputer rtkit-daemon[1738]: The canary thread is apparently starving. Taking action.
Nov 9 01:25:09 MyComputer kernel: [16615.767512] PM: Preparing system for mem sleep

[code]....

View 9 Replies View Related

Hardware :: Ubuntu 10.10 Fails To Suspend

Dec 8, 2010

Ubuntu Maverick (64 bit) will suspend to RAM on my desktop computer immediately after I boot it up (before I start working). But after I have some programs open, it always fails to suspend.

I get the typical blinking cursor in the upper right corner of a black screen. Then, after 20 seconds, the screen comes back on. The logs contain a message that "Freezing of tasks failed after 20.01 seconds."

The problem task is usually listed as gnome-panel. Sometimes other tasks are listed too (such as Nautilus).

Why will gnome-panel allow me to suspend soon after booting up, but not allow suspend after I start working with applications? I am not changing anything in the panel. And deleting the applets I have installed (system monitor and hardware monitor) doesn't make any difference - the problem continues. As I said, sometimes Nautilus is listed as the task that refuses to freeze.

If I switch users, I can suspend. I assume switching users just puts me in the "clean" state I have with my own user after booting up, so this doesn't really tell me anything new.

I have searched all the other threads I can find. Most of the extensive suspend debugging threads are either from the 2007 era or they deal with laptops or resume issues. My issue is failure to suspend on a desktop.

As you can see from the logs, I've been working on this for a month already!

Here's a typical error message:
Nov 7 01:52:59 MyComputer kernel: [ 1625.221296] Freezing of tasks failed after 20.01 seconds (1 tasks refusing to freeze):
Nov 7 01:52:59 MyComputer kernel: [ 1625.221374] gnome-panel D 000000010001fdc2 0 1925 1853 0x00800004

[Code].....

View 3 Replies View Related

General :: Max User Processes Different For The Same User?

Apr 13, 2011

When i do the following with logged in with root:

Code:

i get

Code:

When i login with user1 and do ulimit -a

i get

Code:

Why is the max user processes different for the same user? And how can i change this. I need for this user more then 20 processes...

View 2 Replies View Related

Debian Configuration :: Restore From Hibernate Fails From Time To Time?

Apr 28, 2011

I have a Insprion 14R (N4010) and when I hibernate it will usually restore without a problem, but maybe 15% of the time it will reboot while loading. I would like to figure why, since I'd rather not lose anything... My swap space is 5.9GB, I have 4GB RAM (video uses 1gb, so I have 3gb usable)

lspci says

00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 18)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)

[code]....

I do have the hibernate package installed...

View 6 Replies View Related

Ubuntu :: Starting Processes At Boot Time - Don't Start Privoxy?

Apr 27, 2010

I installed and configured privoxy - everything worked nicely when I run it manually by

Quote:
/etc/init.d/privoxy start

After restarting the computer privoxy wasn't start automatically. I checked the links in /etc/rcX.d - are o.k. I installed sysv-rc-conf - shows that for runlevel 2 - 5 privoxy is running. I changed /etc/rc2.d/S20privoxy to /etc/rc2.d/S99privoxy - to start that process at the end. I installed Boot-Up Manager. Privoxy is marked for start automatically. I added in /etc/rc.local line: /etc/init.d/privoxy start

Privoxy still doesn't turn on at boot time and every time I must start it manually. Could you tell me how could I repair this ?

View 4 Replies View Related

Ubuntu Multimedia :: Video Freezing Computer After Random Time?

Jun 11, 2010

I have to say I'm really enjoying it. However, when I have been watching videos on ..... and revision3.com after a random amount of time the computer will freeze up and I have to do a hard restart of the computer.I've gone through the multimedia sticky post at the top of these forums with no real luck.Oh just got the computer today as a real budget system.AMD Athlon II X3 435 2.9ghzMSI K9N2GM-FD AM2+on board NVIDIA Geforce 82004GB DDR2 memoryI'm using ubuntu 10.04 64bit version.

View 4 Replies View Related

General :: Automatically Kill Processes That Over Time Uses 95%+ Of Resources?

May 3, 2010

I don't know about your computer but when mine is working properly no process is sucking 95%+ over time. I would like to have some failsafe that kills any processes behaving like that. This comes to mind because when I woke up this morning my laptop had been crunching all night long on a stray chromium child process.

This can probably be done as a cron job, but before I make it a full time job creating something like this I'd thought I should check here. :) I hate reinventing the wheel.

View 1 Replies View Related

Software :: Which Value Is For Highest Priority For Real-time Processes

Dec 18, 2009

I want to set my program with highest priority for real-time processes. I understand the priority for real-time processes ranges from 1-99, but I get completely confused after reading Understanding the Linux Kernel and the manual of sched_get_priority_max(): which value has higher priority? either 1 or 99. Understanding the Linux Kernel says 1 has highest priority but sched_get_priority_max() returns 99 for SCHED_FIFO and SCHED_RR policy.

View 3 Replies View Related

Programming :: Shell Script: Wait On Two Processes At The Same Time?

Mar 16, 2010

I'm writing a script that needs to spawn 2 or more processes and wait for their return status. I have a method to do this by waiting on each process individually like this:

Code:
process1 &
PID1=$!

[code]...

View 14 Replies View Related

Ubuntu :: Suspend Fails On Lenovo T400 / ATI Graphics?

Aug 31, 2010

Suspend works about 50% of the time on my T400. The other 50% of the time, the screen goes blank (light stays on), there is a blinking cursor in the top left, and the "moon" light blinks forever.

I've got the latest ATI (3470?) video driver installed. I've seen a few posts about this but no clear solution. Anyone here have this problem and (more importantly) been able to fix it?

View 5 Replies View Related

Ubuntu Networking :: Wireless Fails After Reboot / Suspend

Dec 30, 2010

I recently installed Ubuntu 10.04.1 LTS and have it set to dual-boot with windows 7 on my gateway tablet PC. Since installing, sometimes when I suspend or reboot, my wireless does not work. To be more clear - it is working fine, then I either suspend/reboot, then I come back and no wireless networks show up at all. I can still connect with ethernet cable though. I can solve it by rebooting multiple times (usually around 1-5 times) and then it (magically) seems to work again. I have also tried switching from network-manager to wicd, but the problem persists. With both network-manager and wicd, I've tried simulating a reboot for the wireless by using the command 'sudo modprobe -r iwl3945 && sudo modprobe iwl3945' (network-manager) and 'sudo /etc/init.d/wicd restart' (wicd), but these do not seem to work.

View 9 Replies View Related

Ubuntu :: Kernel Panic - Fails To Wake Up From Suspend

Apr 21, 2011

I've had this problem two times before and solved it once by following a guide, the other time by formatting. It always happens when it fails to wake up from suspend. Usually I am unable to even mount the drive or access the files. This one is different in that now I can actually access my files for the most part but this comes up on boot. I backed up most of my files (except it still says I don't have permission to access some of them) but I would like to get it back up and running without formatting. If I boot in recovery mode it stops at this. I took a picture but I rewrote some of it here.

Firewire_core: created device fw0: GUID 00016c000061b4b4. S4???
in/sh: cannot open ro
Kernel panic - not syncing: attempted to kill init!
Call Trace:
[<c05c8283>] ? printk+0x2d/0x32
etc
Image posted here: [URL]

View 1 Replies View Related

Ubuntu :: Laptop Fails To Resume From Suspend To RAM Intermittently

Jul 9, 2010

I have recently updated my Ubuntu 9.10 install to Ubuntu 10.04 and the default kernel to 2.6.32-23 on my Acer Aspire 5738z laptop with 3 GB RAM and Intel GMA 4500m graphics card.

My problem is sometimes the laptop fails to resume after being Suspended to RAM. The problem is not consistent. Most of the time the system resumes properly but then some times it doesn't . It even doesn't respond to the Magic Keys. I am left with no other alternative but to keep the power button pressed till the laptop shuts down.

View 2 Replies View Related

Ubuntu :: Suspend Logs Out Every Time?

Aug 4, 2010

I just (regrettably) did a clean install of 10.04nbr on a Dell Mini 10. I got to wifi and gma500 crap all worked out (almost), but now when I close the lid, and reopen it, I'm greeted with a black screen. I know it's still running, because I can hear the little drum sound of the login screen loading- it's just not displayed to the screen. ctrl-alt-f8 brings it back, but just the login screen. After logging in - I can see that all my apps have been closed. It's like it brings up the wrong tty (sorry if I'm using the wrong wording). I don't know if it's relevant, but I have it set to log in automatically. This is a bit frustrating- I've done some googling and haven't found any relevant information.

View 3 Replies View Related

Ubuntu :: Auto Suspend After Certain Amount Of Time?

Feb 8, 2011

Most nights I fall asleep watching tv or movies. I want the computer to go to sleep after I do. Under Power Management Properties I have "put computer to sleep when inactive for 1:00" yes - to " spin down hard disks" and "put display to sleep when inactive for 1:00"

I'd say 65% of the time I wake up and the computer is running, not suspended, and 45% of the time the monitor is still on. Over the past 8 months or so I have been trying different media players. I tend to have the same problem of the computer not sleeping with all of them. (Banshee, Miro, xbmc, boxee, vlc, totem, )

1. Is there a process I can look for that may be running some of the time that would hinder the suspend function?

2. Is there a simple script I can write for "suspend in 90 minutes"

3. I think I remember seeing way to do this from the CLI with pm-suspend, yeah?

Edit- I found this http://bit.ly/hpThVM
Things I tested that didn't work
~$ sudo echo pm-suspend | at 12:27
~$ sudo sleep 30s

View 2 Replies View Related

Ubuntu :: Disable Access To Running Processes For Some User

Jan 9, 2010

is there any possible way to hide currently running processes from an user? This means I do not want him to know about what programs/processes does any other user but him run. In short words if that user runs 'ps -aux' he should get only his processes.

View 3 Replies View Related

Ubuntu :: Maverick: Suspend Fails - Doesn't Work Anymore Since Upgrade From 10.04 To 10.10

Oct 12, 2010

I upgraded from 10.04 to 10.10 Worked fined, but suspend doesn't work anymore. When I click suspend, a tty1 terminal screen appears, exactly as you would hit ctrl+alt+F1, with the exception that no input is possible. I'm a newbie and an Ubuntu fan but I absolutely have no idea how to solve this...

View 5 Replies View Related

General :: Processes With Effective User Name Or ID

May 21, 2009

I am studying for the LPIC-1 exam, and reading a book that they recommend: "Introduction to Linux: A Hands-on Guide", by Machtelt Garrels. There's one question on the 4th chapter (Processes), that I found confusing: Question: Based on process entries in /proc, owned by your UID, how would you work to find out which processes these actually represent?

What does he mean? If I run the command (considering that my username is sl33p):
Code:
$ps -u sl33p
...gives me the right answer?

The ps man page says:
-u userlist
Select by effective user ID (EUID) or name.

This selects the processes whose effective user name or ID is in userlist. The effective user ID describes the user whose file access permissions are used by the process (see geteuid(2)). Identical to U and --user.

View 8 Replies View Related

Server :: Limit User Processes ?

Feb 10, 2010

I have some domains on a VPS server. Typical account memory usage for all domains runs at 50% of available, but I have a problem. One domain is causing me trouble because intermittently traffic will spike on that domain, causing so many requests within 1 min that I exceed my memory allocation for my entire VPS package. Apache is then killed but the virtualization software and Apache must then be restarted.

A sample snippet from tops right before the sever went down would like like this:

All of that memory usage adds up. I would like to "throttle" the number of processes that user/domain can run. I think this would be a quick and easy way to keep the domain from taking down my entire VPS. My understanding is that I could do this with the /etc/security/limits.conf file.

Is that correct?

I have never done this before. Do I want to set a hard or soft limit? I think if I wanted to limit the number of processes for "coldclim" to 15 I would add a line to limits.conf like this:

Code:

Assuming that is correct, can anyone tell me how the website would respond once it reached its limit? Would visitor queries become sluggish, or would the website not come up for them at all?

View 4 Replies View Related

Server :: With PS Cannot Control The Processes Of Another User

Feb 15, 2011

I have a problem with the permission of the directories under /proc, they are readable and accessible only by Owner (they have permission 500 instead of the usual 555) As a consequence, the processes are visible only to the Owners or to Root. For exampleif I want to check if there is mysql

I see it only with the user mysql or with root because the directory has permission 500

This problem obstacles the functioning of some applications that should check the existence of some processes managed by other users. At the beginning all was working well. But after a while the problem appeared and I dont know which is the reason of it. how to restore the standard management of permissions of / proc?]

I have a Ubuntu server Maverick 10:10.

View 2 Replies View Related

Debian Configuration :: Resume After Suspend Fails With Kernel 2.6.36

Aug 27, 2011

I'm having problems with resume after suspend to RAM. The machine starts to wake up, but the screens (multi mon VGA and DVI setup) are black and the keyboard doesn't light up. After ~20 seconds there's some brief disk activity and then the computer reboots. 100% repeatable with affected kernel versions. My test method is simple, I boot the machine on the kernel's recovery option, log on as root and run "PM_DEBUG=1 pm-suspend". I haven't found anything in the logs after a failed resume.

Here's the situation:
I have a SSD disk. To get TRIM support I have to use kernel 2.6.33 or later, which means that the standard kernel in Squeeze is too old.I have Nvidia graphics, and there was a change in 2.6.34 that breaks older versions of xserver-xorg-video-nouveau (version 0.0.15, used in Squeeze), I can't use Debian Squeeze with a kernel newer than 2.6.33.x.My machine (XFX GeForce 9300 motherboard) won't resume from suspend to RAM if I use a kernel newer than 2.6.36. There are no BIOS updates available.

My options:
Install newer kernel from Squeeze backports (2.6.38.2 last time I tried). <--- Not doable b/c of resume problems. Upgrade to Wheezy, which uses kernel 3.0.x. <--- Not doable b/c of resume problems.Compile a vanilla kernel. So basically I'm forced to compile my own vanilla kernel, 2.6.33.x on Squeeze or 2.6.35.x on Wheezy. I won't be stuck with an unsupported kernel version in the near future, but so far I've failed miserably.

I know that the latest kernel version where everything works is 2.6.36.x (no longer maintained), 2.6.37.0 and later cause resume problems (I've tried 2.6.37, 38, 39 and 3.0.0, .0.1). I've tried doing a git bisect on the kernel, but didn't succeed, ended up on 2.6.36-rc5 which is weird considering that 2.6.36.4 works. There may be several suspend/resume bugs in different kernel versions that messed up the bisecting results.

View 2 Replies View Related

Ubuntu :: Wake From Suspend Time Increased After Update?

Jul 22, 2011

I am running 11.04. After an update about a week and a half ago, the time to wake from suspend increased from about 3 seconds to well over 40 seconds. It now, sometimes, takes me longer to wake from suspend than a normal boot takes. Has anyone else encountered this problem/found a fix or workaround?

View 1 Replies View Related







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