YakShaving: Shawn Ferry's Weblog
v. intr. [MIT AI Lab, after 2000: orig. probably from a Ren & Stimpy episode.] Any seemingly pointless activity which is actually necessary to solve a problem which solves a problem which, several levels of recursion later, solves the real problem you're working on.
Archives
« December 2009
SunMonTueWedThuFriSat
  
1
2
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  
       
Today

 Subscribe

Search

Links
 

Today's Page Hits: 11

Locations of visitors to this page
« Creating an SMF... | Main | SMF services »
20050803 Wednesday August 03, 2005
More things not to do...(or fun with at)

Adding another item of things not to do.

at now+30m
at> shutdown -g300 -i6 -y
at> CTRL-D

So I was testing some behavior to see if trying to allocate more swap than the available space would generate the message I was expecting (It does).

My next step was to use mkfile to eat up all but the smallest amount of space in /tmp that I could. Before doing that I set up the at job to try and recover if I ended up in a situation where all of my connections hung.

The result of the whole situation...

I was able to use almost all of my swap, the system was unresponsive for a minute or so while I was filling up /tmp.

While I continued to mess around seeing if normal tool use would also generate the message (It doesn't) I forgot to remove the at job.

So after making a note of my results and writing a message to that effect I remembered that I had an at job... unfortunately about 30 seconds too late to kill the running shutdown.

So much for my uptime.


Aug 03 2005, 10:15:33 AM EST Permalink

Comments:

Post a Comment:

Comments are closed for this entry.
Blog Information Profile for YakShaving