История изменений
Исправление windows10, (текущая версия) :
Гуляй, теоретик.
[root@s166-62-102-194 /]# fallocate -l 1G /swapfile
[root@s166-62-102-194 /]# chmod 600 /swapfile
[root@s166-62-102-194 /]# mkswap /swapfile
mkswap: /swapfile: warning: dont erase bootbits sectors
on whole disk. Use -f to force.
Setting up swapspace version 1, size = 1048572 KiB
no label, UUID=387ade13-4308-4dd5-978a-c528883ccbe6
[root@s166-62-102-194 /]# swapon /swapfile
swapon: /swapfile: swapon failed: Operation not permitted
[root@s166-62-102-194 /]# whoami
root
[root@s166-62-102-194 /]# free -m
total used free shared buffers cached
Mem: 8192 8168 23 7 0 3374
-/+ buffers/cache: 4794 3397
Swap: 0 0 0
[root@s166-62-102-194 /]# ps aux | grep httpd | wc -l
102
[root@s166-62-102-194 /]#
Исправление windows10, :
Гуляй, теоретик.
[root@s166-62-102-194 /]# fallocate -l 1G /swapfile
[root@s166-62-102-194 /]# chmod 600 /swapfile
[root@s166-62-102-194 /]# mkswap /swapfile
mkswap: /swapfile: warning: dont erase bootbits sectors
on whole disk. Use -f to force.
Setting up swapspace version 1, size = 1048572 KiB
no label, UUID=387ade13-4308-4dd5-978a-c528883ccbe6
[root@s166-62-102-194 /]# swapon /swapfile
swapon: /swapfile: swapon failed: Operation not permitted
[root@s166-62-102-194 /]# whoami
root
[root@s166-62-102-194 /]# free -m
total used free shared buffers cached
Mem: 8192 8168 23 7 0 3374
-/+ buffers/cache: 4794 3397
Swap: 0 0 0
[root@s166-62-102-194 /]#
Исходная версия windows10, :
Гуляй, теоретик.
[root@s166-62-102-194 /]# fallocate -l 1G /swapfile
[root@s166-62-102-194 /]# chmod 600 /swapfile
[root@s166-62-102-194 /]# mkswap /swapfile
mkswap: /swapfile: warning: don't erase bootbits sectors
on whole disk. Use -f to force.
Setting up swapspace version 1, size = 1048572 KiB
no label, UUID=387ade13-4308-4dd5-978a-c528883ccbe6
[root@s166-62-102-194 /]# swapon /swapfile
swapon: /swapfile: swapon failed: Operation not permitted
[root@s166-62-102-194 /]# whoami
root
[root@s166-62-102-194 /]# free -m
total used free shared buffers cached
Mem: 8192 8168 23 7 0 3374
-/+ buffers/cache: 4794 3397
Swap: 0 0 0
[root@s166-62-102-194 /]#