Author Topic: i find a problem with "64M swap"  (Read 1204 times)

wy_scorpio (OP)

  • *
  • Posts: 368
i find a problem with "64M swap"
« on: June 24, 2010, 02:24:38 pm »
i set "main" to open 64M swap on dingux start.
but i find when i have do this,i cant use "swapoff" to close "swap".
if you dont set "main" to open 64M swap file,you open swap with "swapon" manually,so you can close "swap"
is when start swap have been used?so it cant be closed?

Stephanie

  • Guest
Re: i find a problem with "64M swap"
« Reply #1 on: June 24, 2010, 06:35:48 pm »
I think you are referring to /boot/local/sbin/main right?

That script gets executed repeatedly, it is not run only at startup, so it is attempting to turn swap on every time the script is executed, which could be the problem.


wy_scorpio (OP)

  • *
  • Posts: 368
Re: i find a problem with "64M swap"
« Reply #2 on: June 25, 2010, 01:23:49 am »
yeh,i have modified the scrpit "main" to open "swap".
oh ,the problem is that "swapon" is working every time...
so ,swapoff is useless for me...

 

Post a new topic
Post a new topic