Skocz do zawartości

Glen

Użytkownicy
  • Zawartość

    2
  • Rejestracja

  • Ostatnio

Wszystko napisane przez Glen

  1. Witam. Mam skonfigurowanego mrtg: #mem Target[mem]: `/usr/local/mem` MaxBytes[mem]: 129531904 Options[mem]: gauge, growright Unscaled[mem]: ymdw Title[mem]: Pamięć fizyczna kilo[mem]: 1024 ShortLegend[mem]: B LegendI[mem]: Used: LegendO[mem]: Total: YLegend[mem]: bajty PageTop[mem]:<cepnter> <H1>Pamięć fizyczna</H1> mem: #!/bin/bash cat /proc/meminfo|grep Mem |while read nazwa mem used free; do #used=$(expr $used / 1024); echo \"$used\"; #mem=$(expr $mem / 1024); echo "$mem"; echo `uptime`; echo `hostname`; done nie ma żadnych błędów, niby logi się zapychają ale nie generuje wykresu. Co źle zrobiłem?
  2. Witam. Jestem szczęśliwym posiadaczem serwera na OVH - Kimsufi (2,0 Celeron + 256 RAM) Mam na nim dystrybucję Debian 4.0 oraz postawione forum phpBB Przemo z ok. 70 000 postów, średnio 100-120 osób online, w szczycie 150-170. Forum działa bardzo dobrze, ale z dnia na dzień notuję coraz to większą utylizację serwera. Moje konfiguracje: Apache2.conf: ServerRoot "/etc/apache2"^ LockFile /var/lock/apache2/accept.lock^ PidFile /var/run/apache2.pid^ Timeout 300^ KeepAlive Off^ ^ <IfModule prefork.c> StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 25 MaxRequestsPerChild 100 </IfModule> ^ ^ User www-data Group www-data LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined CustomLog /var/log/apache2/access.log combined ErrorLog /var/log/apache2/error.log Include /etc/apache2/mods-enabled/*.load Include /etc/apache2/mods-enabled/*.conf Include /etc/apache2/httpd.conf Include /etc/apache2/ports.conf Include /etc/apache2/conf.d/[^.#]* DirectoryIndex index.html index.php index.php5 UserDir public_html UserDir disabled root <Directory /home/*/public_html> AllowOverride FileInfo AuthConfig Limit Options Indexes SymLinksIfOwnerMatch IncludesNoExec </Directory> AccessFileName .htaccess <Files ~ "^\.ht"> Order allow,deny Deny from all </Files> UseCanonicalName Off TypesConfig /etc/mime.types DefaultType text/plain HostnameLookups Off IndexOptions FancyIndexing VersionSort IndexIgnore .??* *~ *# HEADER* RCS CVS *,t AddEncoding x-compress Z AddEncoding x-gzip gz tgz AddLanguage en .en AddLanguage pl .po LanguagePriority pl en AddCharset ISO-8859-1 .iso8859-1 .latin1 AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen AddCharset UTF-8 .utf8 AddCharset utf-8 .utf8 AddType application/x-httpd-php .php AddType application/x-httpd-php .php5 BrowserMatch "Mozilla/2" nokeepalive BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 BrowserMatch "RealPlayer 4\.0" force-response-1.0 BrowserMatch "Java/1\.0" force-response-1.0 BrowserMatch "JDK/1\.0" force-response-1.0 BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully BrowserMatch "^WebDrive" redirect-carefully BrowserMatch "^gnome-vfs" redirect-carefully BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully Include /etc/apache2/sites-enabled/[^.#]* Mysql: [client] port = 3306 socket = /var/run/mysqld/mysqld.sock [mysqld] port = 3306 socket = /var/run/mysqld/mysqld.sock skip-locking key_buffer = 16M max_allowed_packet = 1M table_cache = 64 sort_buffer_size = 512K net_buffer_length = 8K read_buffer_size = 256K read_rnd_buffer_size = 512K myisam_sort_buffer_size = 8M default-character-set=latin2 default-collation=latin2_general_ci init_connect='SET NAMES latin2' log-bin=mysql-bin server-id = 1 [mysqldump] quick max_allowed_packet = 16M default-character-set=latin2 default-collation=latin2_general_ci init_connect='SET NAMES latin2' [mysql] no-auto-rehash default-character-set=latin2 default-collation=latin2_general_ci init_connect='SET NAMES latin2' [isamchk] key_buffer = 20M sort_buffer_size = 20M read_buffer = 2M write_buffer = 2M [myisamchk] key_buffer = 20M sort_buffer_size = 20M read_buffer = 2M write_buffer = 2M [mysqlhotcopy] interactive-timeout Co byście mi polecili zmienić (prócz serwera oczywiście) aby jeszcze bardzej go podrasować, czy konfiguracje wg Was są w porządku, może coś przeoczyłem? Dziękuję za każdą pomoc.
×