Skocz do zawartości

Przeszukaj forum

Pokazywanie wyników dla tagów 'msql'.

  • Szukaj wg tagów

    Wpisz tagi, oddzielając przecinkami.
  • Szukaj wg autora

Typ zawartości


Forum

  • Hosting
    • Forum Główne
    • Informacje o firmach hostingowych
    • Serwery Dedykowane i VPS
    • Chmura czyli Cloud hosting
    • Kolokacja Serwerów i Centra Danych
    • Konta Resellerskie
    • Serwery Streamingu
    • Luźne rozmowy o hostingu
    • Własna Firma Hostingowa
  • Domeny
    • Domeny
    • Biznes domenowy
  • SEO Pozycjonowanie i Optymalizacja
    • Pozycjonowanie i Optymalizacja
    • Promocja i marketing
  • WebHelp
    • Centrum webmastera
    • Programowanie i Bazy danych
    • xHTML / CSS / Javascript
    • Strony do oceny
  • Administracja serwerów
    • Sprzęt serwerowy i Centrum Danych
    • Administracja Serwerów
    • Skrypty
    • Panele Administracyjne
    • Serwery WWW
    • Serwery Pocztowe
    • Serwery DNS
    • Serwery baz danych
    • Transfer Plików i Backup
    • Linux
    • Microsoft Windows
    • Bezpieczeństwo
  • Giełda
    • Oferty firm hostingowych
    • Giełda Domen
    • Oferty Pracy / Zlecenia
    • Giełda
  • Inne fora
    • Piaskownica
    • Prośby
    • Dyskusje Wiki WHT
    • WHT+
  • WHT PROfesjonalnie
    • Forum dla użytkowników Profesjonalnych
    • Dyskusje WebHostingTalk.pl

Znaleziono 1 wynik

  1. Witam serdecznie, otóż posiadam portal oparty na cms Drupal. Jest on dosyć rozbudowany ( baza z tabelami Cache ma ponad 300MB. ( www.podrywaj.org tematyka trochę nietypowa ;P) Korzystam z usług server4you.net Mam opcję vSERVER Cloud Premium X4 cokolwiek to znaczy. 5,000 MHz Prozessor-Power 4,096 MB DDR-RAM / 8,192 MB FlexRAM Mam tam Debiana + lenny Często w godzinach szczytu mojego serwisu sypią się błędy, bywa tak że nie mogę się zalogować przez SSH Klienta. Przy próbie wywoływania komend potrafią się pojawić komunikaty "can't allocate memory." Mimo tego że zużycie w tym momencie wynosi np. 2GB. Właściwie nie widziałem żeby server wykorzystywał więcej niż 4 GB. Często też pojawiają się komunikaty o braku możliwości zapisania pliku. Tak jak by był jakiś limit czasowy. Testowałem różne konfiguracje jakie podsuwał mi tuning-primer. W tej chwili obecnej mam tu ustawione tak : [mysqld] set-variable=local-infile=0 # # * Basic Settings # user = mysql pid-file = /var/run/mysqld/mysqld.pid socket = /var/run/mysqld/mysqld.sock port = 3306 basedir = /usr datadir = /var/lib/mysql tmpdir = /tmp language = /usr/share/mysql/english skip-external-locking # # Instead of skip-networking the default is now to listen only on # localhost which is more compatible and is not less secure. # bind-address = 127.0.0.1 # # * Fine Tuning # key_buffer = 128M max_allowed_packet = 16M thread_stack = 128K thread_cache_size = 8 # This replaces the startup script and checks MyISAM tables if needed # the first time they are touched myisam-recover = BACKUP max_connections = 100 table_cache = 850 #thread_concurrency = 10 # # * Query Cache Configuration # query_cache_limit = 1M query_cache_size = 16M # # * Logging and Replication # # Both location gets rotated by the cronjob. # Be aware that this log type is a performance killer. #log = /var/log/mysql/mysql.log # # Error logging goes to syslog. This is a Debian improvement # # Here you can see queries with especially long duration log_slow_queries = /var/log/mysql/mysql-slow.log #long_query_time = 5 #log-queries-not-using-indexes # # The following can be used as easy to replay backup logs or for replication. # note: if you are setting up a replication slave, see README.Debian about # other settings you may need to change. #server-id = 1 #log_bin = /var/log/mysql/mysql-bin.log expire_logs_days = 10 max_binlog_size = 100M #binlog_do_db = include_database_name #binlog_ignore_db = include_database_name # # * BerkeleyDB # # Using BerkeleyDB is now discouraged as its support will cease in 5.1.12. skip-bdb # # InnoDB # # InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/. # Read the manual for more InnoDB related options. There are many! # You might want to disable InnoDB to shrink the mysqld process by circa 100MB. # skip-innodb # # * Security Features # # Read the manual, too, if you want chroot! # chroot = /var/lib/mysql/ # # For generating SSL certificates I recommend the OpenSSL GUI "tinyca". # # ssl-ca=/etc/mysql/cacert.pem # ssl-cert=/etc/mysql/server-cert.pem # ssl-key=/etc/mysql/server-key.pem [mysqldump] quick quote-names max_allowed_packet = 16M [mysql] #no-auto-rehash # faster start of mysql but no tab completition[isamchk] key_buffer = 16M # # * NDB Cluster # # See /usr/share/doc/mysql-server-*/README.Debian for more information. # # The following configuration is read by the NDB Data Nodes (ndbd processes) # not from the NDB Management Nodes (ndb_mgmd processes). # # [MYSQL_CLUSTER] # ndb-connectstring=127.0.0.1 # # * IMPORTANT: Additional settings that can override those from this file! # The files must end with '.cnf', otherwise they'll be ignored. # !includedir /etc/mysql/conf.d/ Ktoś mi podpowiedział by użyć komendy cat /proc/user_beancounters Dało to taki wynik : Version: 2.5 uid resource held maxheld barrier limit failcnt 10004485: kmemsize 51393770 71725291 71147520 79052800 280647180 lockedpages 0 439 2670 2670 291 privvmpages 520186 1268389 2097152 2306867 0 shmpages 65249 65585 131072 131072 522 dummy 0 0 9223372036854775807 9223372036854775807 0 numproc 140 223 800 800 0 physpages 349149 1123971 0 9223372036854775807 0 vmguarpages 0 0 1048576 9223372036854775807 0 oomguarpages 349329 1123995 1048576 9223372036854775807 0 numtcpsock 70 324 1800 1800 0 numflock 14 53 1000 1100 0 numpty 1 3 66 66 0 numsiginfo 0 154 1024 1024 0 tcpsndbuf 1193840 5031080 9582922 13674826 1849532731 tcprcvbuf 1012552 3595120 9582922 13674826 0 othersockbuf 209520 1657512 3194307 5922243 5313 dgramrcvbuf 0 47856 3194307 3194307 0 numothersock 126 422 1800 1800 102 dcachesize 1677474 2063683 8515584 9461760 0 numfile 4215 8000 12000 12000 605 dummy 0 0 0 0 0 dummy 0 0 0 0 0 dummy 0 0 0 0 0 numiptent 10 10 192 192 0 Testowałem również eAkcelelator PHP. Zużycie Ramu było mniejsze jednak błędy i tak występowały. Stąd też moje pytanie. Co mogę zrobić żeby uniknąć tych błędów w godzinach szczytu? Czy ten serwer wymaga jakiejś dodatkowej konfiguracji ? Proszę o porady.
×