LINUX.ORG.RU

Сообщения tobrazo

 

как заблокировать wget -r

как настроить свой сервер чтобы wget -r мог вытащить только index

OS - debian

tobrazo
()

проблемы с mysql

/usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld - периодически появляются такие процессы, уже второй день в один и тот же промежуток времени, которые нереально грузят процессор сервака порой в 100% ...в обычном режиме его нагрузка не больше 15%...

netstat -na Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN

tcp 0 0 0.0.0.0:333 0.0.0.0:* LISTEN

tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN

tcp 0 0 176.9.85.54:333 93.126.98.4:1719 ESTABLISHED

tcp 0 52 176.9.85.54:333 94.45.133.194:63393 ESTABLISHED

tcp 0 0 176.9.85.54:333 217.27.145.246:37328 ESTABLISHED

tcp 0 52 176.9.85.54:333 94.244.58.101:50415 ESTABLISHED

tcp6 0 0 :::333 :::* LISTEN

tcp6 0 0 :::80 :::* LISTEN

tcp6 0 0 ::1:25 :::* LISTEN

tcp6 0 0 176.9.85.54:80 77.88.218.210:2420 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:2110 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:2780 TIME_WAIT

tcp6 0 0 176.9.85.54:80 77.88.218.210:4132 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:1900 ESTABLISHED

tcp6 0 0 176.9.85.54:80 217.27.145.246:52018 TIME_WAIT

tcp6 0 0 176.9.85.54:80 176.103.66.10:1336 TIME_WAIT

tcp6 0 0 176.9.85.54:80 77.88.218.210:3248 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:1934 TIME_WAIT

tcp6 0 0 176.9.85.54:80 77.88.218.210:2108 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:2105 TIME_WAIT

tcp6 0 0 176.9.85.54:80 77.88.218.210:2421 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:1924 TIME_WAIT

tcp6 0 0 176.9.85.54:80 77.88.218.210:3243 ESTABLISHED

tcp6 0 0 176.9.85.54:80 212.90.34.104:1044 ESTABLISHED

tcp6 0 0 176.9.85.54:80 176.103.65.158:2118 ESTABLISHED

tcp6 0 0 176.9.85.54:80 217.27.145.246:55348 TIME_WAIT

tcp6 0 0 176.9.85.54:80 91.210.164.134:2588 TIME_WAIT

tcp6 0 0 176.9.85.54:80 77.88.218.210:1610 ESTABLISHED

tcp6 0 0 176.9.85.54:80 213.109.89.124:4462 TIME_WAIT

tcp6 0 0 176.9.85.54:80 91.210.164.134:2600 ESTABLISHED

tcp6 0 0 176.9.85.54:80 176.9.120.148:38542 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:3755 ESTABLISHED

tcp6 0 0 176.9.85.54:80 212.90.34.104:1045 ESTABLISHED

tcp6 0 0 176.9.85.54:80 176.103.64.166:37774 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:1930 TIME_WAIT

tcp6 0 0 176.9.85.54:80 94.45.133.194:59498 ESTABLISHED

tcp6 0 0 176.9.85.54:80 176.103.66.10:1350 ESTABLISHED

tcp6 0 0 176.9.85.54:80 176.9.120.148:38515 FIN_WAIT2

tcp6 0 0 176.9.85.54:80 109.106.13.221:1743 ESTABLISHED

tcp6 0 0 176.9.85.54:80 176.103.64.166:37770 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:4127 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:4104 TIME_WAIT

tcp6 0 0 176.9.85.54:80 193.200.69.106:1737 ESTABLISHED

tcp6 0 0 176.9.85.54:80 193.200.69.106:1719 TIME_WAIT

tcp6 0 0 176.9.85.54:80 193.200.68.74:2283 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:1950 ESTABLISHED

tcp6 0 0 176.9.85.54:80 193.200.69.106:1731 TIME_WAIT

tcp6 0 0 176.9.85.54:80 77.88.218.210:2422 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:2100 TIME_WAIT

tcp6 0 0 176.9.85.54:80 94.45.133.194:52934 ESTABLISHED

tcp6 0 0 176.9.85.54:80 94.45.133.194:53548 TIME_WAIT

tcp6 0 0 176.9.85.54:80 212.90.34.104:58847 TIME_WAIT

tcp6 0 0 176.9.85.54:80 77.88.218.210:2111 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:1946 ESTABLISHED

tcp6 0 0 176.9.85.54:80 176.103.64.166:37773 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:1940 TIME_WAIT

tcp6 0 0 176.9.85.54:80 77.88.218.210:3292 ESTABLISHED

tcp6 0 0 176.9.85.54:80 212.90.34.104:1042 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:1613 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:2095 TIME_WAIT

tcp6 0 0 176.9.85.54:80 77.88.218.210:4131 ESTABLISHED

tcp6 0 0 176.9.85.54:80 193.200.68.66:3061 TIME_WAIT

tcp6 0 0 176.9.85.54:80 77.88.218.210:4128 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:1582 ESTABLISHED

tcp6 0 0 176.9.85.54:80 217.27.145.246:59464 ESTABLISHED

tcp6 0 0 176.9.85.54:80 176.103.64.166:37742 TIME_WAIT

tcp6 0 0 176.9.85.54:80 213.109.89.124:4464 TIME_WAIT

tcp6 0 0 176.9.85.54:80 77.88.218.210:3751 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:1938 TIME_WAIT

tcp6 0 0 176.9.85.54:80 94.45.133.194:59770 ESTABLISHED

tcp6 0 0 176.9.85.54:80 176.103.64.234:3285 ESTABLISHED

tcp6 0 0 176.9.85.54:80 176.103.64.166:37772 ESTABLISHED

tcp6 0 0 176.9.85.54:80 212.90.34.104:1039 ESTABLISHED

tcp6 0 0 176.9.85.54:80 193.200.69.106:1725 TIME_WAIT

tcp6 0 0 176.9.85.54:80 77.88.218.210:2109 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:1952 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:1600 TIME_WAIT

tcp6 0 0 176.9.85.54:80 212.90.34.104:1046 ESTABLISHED

tcp6 0 0 176.9.85.54:80 91.210.164.210:2058 TIME_WAIT

tcp6 0 0 176.9.85.54:80 94.45.133.194:56470 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:4119 TIME_WAIT

tcp6 0 0 176.9.85.54:80 212.90.34.104:1043 ESTABLISHED

tcp6 0 0 176.9.85.54:80 176.103.65.202:2379 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:3712 ESTABLISHED

tcp6 0 0 176.9.85.54:80 94.45.133.194:60178 ESTABLISHED

tcp6 0 0 176.9.85.54:80 94.45.133.194:52741 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:4130 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.217.210:1713 ESTABLISHED

tcp6 0 0 176.9.85.54:80 217.27.145.246:58672 TIME_WAIT

tcp6 0 0 176.9.85.54:80 176.103.65.230:1654 ESTABLISHED

tcp6 0 650 176.9.85.54:80 193.200.68.66:2085 ESTABLISHED

tcp6 0 0 176.9.85.54:80 176.103.64.166:37755 TIME_WAIT

tcp6 0 0 176.9.85.54:80 77.88.218.210:4129 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:4112 TIME_WAIT

tcp6 0 0 176.9.85.54:80 77.88.218.210:1932 TIME_WAIT

tcp6 0 0 176.9.85.54:80 217.27.145.246:41192 TIME_WAIT

tcp6 0 0 176.9.85.54:80 77.88.218.210:1614 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:2107 ESTABLISHED

tcp6 0 0 176.9.85.54:80 176.103.64.166:37771 ESTABLISHED

tcp6 0 0 176.9.85.54:80 91.210.164.134:2582 TIME_WAIT

tcp6 0 0 176.9.85.54:80 77.88.218.210:1564 ESTABLISHED

tcp6 0 0 176.9.85.54:80 193.200.68.66:2073 TIME_WAIT

tcp6 0 0 176.9.85.54:80 77.88.218.210:3293 ESTABLISHED

tcp6 0 0 176.9.85.54:80 217.27.145.246:57594 TIME_WAIT

tcp6 0 0 176.9.85.54:80 77.88.218.210:3269 ESTABLISHED

tcp6 0 0 176.9.85.54:80 213.109.89.124:4463 TIME_WAIT

tcp6 0 0 176.9.85.54:80 109.106.13.221:1744 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:2786 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:1050 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:3752 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:3753 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:3754 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:1927 TIME_WAIT

tcp6 0 0 176.9.85.54:80 91.210.164.210:2046 TIME_WAIT

tcp6 0 0 176.9.85.54:80 217.27.145.246:34836 TIME_WAIT

tcp6 0 0 176.9.85.54:80 91.210.164.210:2064 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:3726 ESTABLISHED

tcp6 0 0 176.9.85.54:80 193.200.68.66:2067 TIME_WAIT

tcp6 0 0 176.9.85.54:80 77.88.218.210:2392 ESTABLISHED

tcp6 0 0 176.9.85.54:80 77.88.218.210:2090 TIME_WAIT

tcp6 0 0 176.9.85.54:80 217.27.145.246:37230 TIME_WAIT

tcp6 0 454 176.9.85.54:80 176.9.120.148:38505 ESTABLISHED

tcp6 0 0 176.9.85.54:80 176.103.64.166:37763 TIME_WAIT

tcp6 0 0 176.9.85.54:80 217.27.145.246:32818 TIME_WAIT

tcp6 0 0 176.9.85.54:80 176.103.64.166:2808 ESTABLISHED

tcp6 0 0 176.9.85.54:80 123.126.68.20:48748 TIME_WAIT

tcp6 0 0 176.9.85.54:80 77.88.218.210:1942 ESTABLISHED

tcp6 0 0 176.9.85.54:80 193.200.68.66:2079 TIME_WAIT

Active UNIX domain sockets (servers and established)

Proto RefCnt Flags Type State I-Node Path

unix 2 [ ACC ] STREAM LISTENING 4496 /var/run/acpid.socket

unix 2 [ ACC ] STREAM LISTENING 1618210 /var/run/mysqld/mysqld.sock

unix 8 [ ] DGRAM 4463 /dev/log

unix 2 [ ] DGRAM 2736 @/org/kernel/udev/udevd

unix 3 [ ] STREAM CONNECTED 1624015 /var/run/mysqld/mysqld.sock

unix 3 [ ] STREAM CONNECTED 1624014

unix 3 [ ] STREAM CONNECTED 1619332 /var/run/mysqld/mysqld.sock

unix 3 [ ] STREAM CONNECTED 1619331

unix 2 [ ] DGRAM 1618183

unix 3 [ ] STREAM CONNECTED 1606902

unix 3 [ ] STREAM CONNECTED 1606901

unix 2 [ ] DGRAM 1606900

unix 2 [ ] DGRAM 1527291

unix 3 [ ] STREAM CONNECTED 1527079

unix 3 [ ] STREAM CONNECTED 1527078

unix 2 [ ] DGRAM 1527077

unix 2 [ ] DGRAM 1516377

unix 3 [ ] STREAM CONNECTED 10580

unix 3 [ ] STREAM CONNECTED 10579

unix 2 [ ] DGRAM 10578

unix 2 [ ] DGRAM 4493

unix 3 [ ] DGRAM 2741

unix 3 [ ] DGRAM 2740

tobrazo
()

где gnome хранит дефолтные настройки сессии пользователя

где gnome хранит дефолтные настройки сессии пользователя, если файловая система смонтирована в ro

вот содержимое fstab:

/dev/sda1 / ext2 ro,noatime,nodiratime,errors=remount=ro 0

tmpfs /tmp tmpfs defaults,noatime,nodiratime 0 0

tmpfs /var/run tmpfs defaults,noatime,nodiratime 0 0

tmpfs /var/log tmpfs defaults,noatime,nodiratime 0 0

tmpfs /var/lock tmpfs defaults,noatime,nodiratime 0 0

tmpfs /var/tmp tmpfs defaults,noatime,nodiratime 0 0

tmpfs /var/lib/logrotate tmpfs defaults,noatime,nodiratime 0 0

tmpfs /var/lib/mlocate tmpfs defaults,noatime,nodiratime 0 0

tmpfs /var/cache/man tmpfs defaults,noatime,nodiratime 0 0

tmpfs /home/user tmpfs defaults,noatime,nodiratime 0 0

надо, чтобы gnome по умолчанию грузил не дефолтную сессию, а /home/user ...если кто в курсе, куда именно нужно перенести настройки из /home/user чтобы они грузились по умолчанию,HELP PLEASE!!!

tobrazo
()

RSS подписка на новые темы