Not a bug

I thought I had found the holy grail, the hole in dtrace which would restore my faith in Heisenberg's uncertainty priciple, that you can't observe anything without messing it up. But dtrace had nothing to do with the weirdness on this machine. I just found that on this (appropriate) day, I made a simple mistake. I attempted to run several memory guzzlers such as Mozilla and Nautilus on a memory deficient machine with inadequate swap space:
swap                   118M   664K   117M     1%    /etc/svc/volatile
swap                   172M    55M   117M    33%    /tmp
swap                   117M    24K   117M     1%    /var/run
I don't know why it worked as well as it did running GNOME, Sun Ray Server and a number of other things on this box. Windows XP wouldn't do too well without a page file. But it was easy enough to fix. If anyone else has made the mistake of configuring too little swap space during Solaris installation:
mkfile 2000m /new_swap   {I'll take 2 Gigabytes please, unleaded, ethyl}
swap -a /new_swap        {add it to my swap space}
The machine looked hopeless, it couldn't fork, I couldn't login or run any new process, but after I fixed the memory and ran utrestart, my session came back as good as new. I didn't have to reboot.
Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

bnitz

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
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
    
       
Today