Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #72882

Re: falling asleep during downloads

From J Burns <burns4@nowhere.com>
Newsgroups comp.sys.mac.system
Subject Re: falling asleep during downloads
Date 2015-04-08 16:50 -0400
Organization A noiseless patient Spider
Message-ID <mg448h$oe3$1@dont-email.me> (permalink)
References (3 earlier) <1m2id2h.16rmrwe1ma1m8wN%dempson@actrix.gen.nz> <mfvk27$m6k$1@dont-email.me> <1m2ip4g.5zdipa12ab47gN%dempson@actrix.gen.nz> <mg16i5$i6t$1@dont-email.me> <1m2l957.e2sk20byhki1N%dempson@actrix.gen.nz>

Show all headers | View raw


On 4/8/15, 10:18 AM, David Empson wrote:
> J Burns <burns4@nowhere.com> wrote:
>
>>
>> While downloading with Firefox, I set the sleep delay for 2 minutes. The
>> display went black in 4. When I woke it, I saw that the download had
>> stopped.  In a moment it resumed, so I guess the remote server hadn't
>> given up on me.
>
> That's Firefox's fault, not Apple's.
>
> I did a similar test. For reference, I'm running Yosemite 10.10.2. I set
> my display sleep delay to 1 minute. (My Retina MacBook Pro automatically
> sleeps the computer after the display is sleeping if nothing is keeping
> it active.) Running from Battery, with Power Nap disabled.
>
> I started a big download from a relatively slow server which would take
> more than ten minutes.
>
> Results:
>
> Safari 8.0.4: display went to sleep after a minute. I waited a couple
> more minutes and was able to confirm the computer was still awake as I
> could ping it from another device. Woke it up and the download had
> progressed.
>
> Firefox 37.0.1: display went to sleep after a minute. About two minutes
> later the computer had gone to sleep and I couldn't ping it. Woke it up
> and the download had paused.
>
> Conclusion: Safari was tickling the activity detector which prevents the
> computer going to sleep, even though the display was asleep. Firefox
> wasn't, so the system assumed it was idle and went to sleep.
>
> (I don't have any other browsers installed so didn't bother testing
> anything else.)
>
>> My only network connection is Ethernet. My normal sleep delay is 15
>> minutes. It's not often that I need a download to continue longer than
>> that, after I walk away. In such a situation, I need only tell Energy
>> Saver not to sleep.
>>
>> As I've seen it for 2 and probably 3 versions of OS X, I think it's
>> intentional.
>
> No, it is an oversight in Firefox, not using the Mac OS X APIs which
> tell the system that the application is doing a background task and
> sleep should be deferred.
>
> Try Safari instead.
>

Thanks. In the past, I've had sleep interrupt big Apple update 
downloads, but I don't recall any trouble with Safari.

Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

falling asleep during downloads J Burns <burns4@nowhere.com> - 2015-04-06 17:31 -0400
  Re: falling asleep during downloads Alan Browne <alan.browne@freelunchvideotron.ca> - 2015-04-06 18:01 -0400
  Re: falling asleep during downloads dorayme <do_ray_me@bigpond.com> - 2015-04-07 08:41 +1000
    Re: falling asleep during downloads J Burns <burns4@nowhere.com> - 2015-04-06 18:55 -0400
  Re: falling asleep during downloads dempson@actrix.gen.nz (David Empson) - 2015-04-07 11:30 +1200
    Re: falling asleep during downloads J Burns <burns4@nowhere.com> - 2015-04-06 20:15 -0400
      Re: falling asleep during downloads dempson@actrix.gen.nz (David Empson) - 2015-04-07 12:43 +1200
        Re: falling asleep during downloads J Burns <burns4@nowhere.com> - 2015-04-06 23:49 -0400
          Re: falling asleep during downloads dempson@actrix.gen.nz (David Empson) - 2015-04-07 18:08 +1200
            Re: falling asleep during downloads J Burns <burns4@nowhere.com> - 2015-04-07 14:11 -0400
              Re: falling asleep during downloads dempson@actrix.gen.nz (David Empson) - 2015-04-09 02:18 +1200
                Re: falling asleep during downloads J Burns <burns4@nowhere.com> - 2015-04-08 16:50 -0400
                Re: falling asleep during downloads Savageduck <savageduck1@{REMOVESPAM}me.com> - 2015-04-08 19:00 -0700
                Re: falling asleep during downloads J Burns <burns4@nowhere.com> - 2015-04-09 11:09 -0400
                Re: falling asleep during downloads J Burns <burns4@nowhere.com> - 2015-04-08 17:07 -0400
                Re: falling asleep during downloads dempson@actrix.gen.nz (David Empson) - 2015-04-09 11:42 +1200
                Re: falling asleep during downloads J Burns <burns4@nowhere.com> - 2015-04-08 21:10 -0400
                Re: falling asleep during downloads Lewis <g.kreme@gmail.com.dontsendmecopies> - 2015-04-09 12:40 +0000
  Re: falling asleep during downloads Ed Anson <EdAnson@comcast.net> - 2015-04-06 21:35 -0400
    Re: falling asleep during downloads J Burns <burns4@nowhere.com> - 2015-04-07 00:36 -0400
  Re: falling asleep during downloads Lewis <g.kreme@gmail.com.dontsendmecopies> - 2015-04-07 02:46 +0000
    Re: falling asleep during downloads J Burns <burns4@nowhere.com> - 2015-04-07 00:43 -0400
      Re: falling asleep during downloads Barry Margolin <barmar@alum.mit.edu> - 2015-04-07 10:52 -0400
      Re: falling asleep during downloads Lewis <g.kreme@gmail.com.dontsendmecopies> - 2015-04-08 09:57 +0000
        Re: falling asleep during downloads J Burns <burns4@nowhere.com> - 2015-04-08 16:46 -0400
          Re: falling asleep during downloads Lewis <g.kreme@gmail.com.dontsendmecopies> - 2015-04-09 12:36 +0000

csiph-web