Cerca su HostingTalk.it(puoi inserire qualsiasi parola, termine, azienda, espressione). Scrivi e premi INVIO!
Loading

+ Rispondi alla Discussione
Pagina 5 di 19 PrimaPrima ... 234567815 ... UltimaUltima
Risultati da 61 a 75 di 277
  1. #61
    Webhosting evangelist
    Data Registrazione
    Jun 2006
    Messaggi
    521

    Re: Configurazioni ottimali VPS

    Alex, ho notato poco fa che nonostante i tuoi aggiustamenti ecc...ecc... in questo momento ho:

    14 visitatori
    24 istanze di apache
    Solo 33Mb di ram disponibile (Su 512MB)

    Eppure tu hai sistemato tutto a pennello... non c'è modo di capire chi è che si prende tutte ste risorse?



  2. #62
    usu
    usu non è collegato
    HT Moderatore L'avatar di usu
    Data Registrazione
    Apr 2006
    Località
    Milano
    Messaggi
    1,728

    Re: Configurazioni ottimali VPS

    Linux la ram se la prende tutta l'importante è che non swappi... lo fa?

  3. #63
    HTastinator
    Data Registrazione
    Mar 2006
    Località
    Senigallia (AN)
    Messaggi
    426

    Re: Configurazioni ottimali VPS

    Dai free -m e da "used" sottrai la somma di "buffers" e "cached" (oppure leggi il primo valore dopo -/+ buffers/cache): quanti MB sono?

  4. #64
    Webhosting evangelist
    Data Registrazione
    Jun 2006
    Messaggi
    521

    Re: Configurazioni ottimali VPS

    Ora ho appena riavviato e sembra tutto ok perchè ci solo solo 6 visitatori online:

    Codice:
    vps:~# free -m
                 total       used       free     shared    buffers     cached
    Mem:           502        279        223          0         17         67
    -/+ buffers/cache:        193        308
    Swap:         1571          0       1571
    Domani vi faccio sapere.

  5. #65
    HT Member
    Data Registrazione
    May 2007
    Messaggi
    36

    Re: Configurazioni ottimali VPS

    Ne approfitto pure io

    1) tipo di server: VPS In questo istante 1, presto diventeranno una 10-15ina

    2) Specifiche del server
    256mb Ram
    10gb HD
    debian sarge
    Apache/1.3.37
    PHP/5.2.3 (Zend2 dovrebbe essere incluso)
    mysql 4.1.10

    3)Niente InnoDB

    4)Già installato(directAdmin...)

    5)
    Codice:
     
    top - 03:55:03 up 20 min,  1 user,  load average: 0.04, 0.04, 0.02
    Tasks:  64 total,   3 running,  61 sleeping,   0 stopped,   0 zombie
    Cpu(s):  0.0% us,  0.3% sy,  0.0% ni, 99.3% id,  0.3% wa,  0.0% hi,  0.0% si
    Mem:    262144k total,    97584k used,   164560k free,     3876k buffers
    Swap:   525304k total,        0k used,   525304k free,    47396k cached
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
        1 root      15   0  1516  524  456 S  0.0  0.2   0:00.04 init
        2 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0
        3 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/0
        4 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 watchdog/0
        5 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 events/0
        6 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 khelper
        7 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kthread
        9 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 xenwatch
       10 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 xenbus
       16 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kblockd/0
       17 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 cqueue/0
       21 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 khubd
       23 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kseriod
       77 root      25   0     0    0    0 S  0.0  0.0   0:00.00 pdflush
       78 root      15   0     0    0    0 S  0.0  0.0   0:00.00 pdflush
       79 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 kswapd0
       80 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 aio/0
      210 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 kpsmoused
      233 root      10  -5     0    0    0 S  0.0  0.0   0:00.01 kjournald
      471 root      16   0  1572  548  444 S  0.0  0.2   0:00.03 syslogd
      474 root      16   0  1516  368  300 S  0.0  0.1   0:00.01 klogd
      481 bind      18   0 35620 2552 1780 S  0.0  1.0   0:00.00 named
      489 root      18   0  2716  576  468 S  0.0  0.2   0:00.00 da-popb4smtp
      493 nobody    16   0  5516  892  700 S  0.0  0.3   0:00.43 directadmin
      507 root      18   0 23856  13m 9740 R  0.0  5.2   0:00.12 httpd
      513 root      20   0  1548  484  416 S  0.0  0.2   0:00.00 inetd
      518 root      24   0  2512 1232 1020 S  0.0  0.5   0:00.02 mysqld_safe
      526 ftp       18   0  2356  796  432 S  0.0  0.3   0:00.00 proftpd
      533 apache    15   0 23988 6360 2532 S  0.0  2.4   0:00.00 httpd
      534 apache    15   0 24136 7740 3756 S  0.0  3.0   0:00.17 httpd
      535 apache    15   0 24132 7736 3756 S  0.0  3.0   0:00.06 httpd
      536 apache    15   0 24120 8012 4028 S  0.0  3.1   0:00.11 httpd
      537 apache    15   0 24140 7888 3872 S  0.0  3.0   0:00.23 httpd
      636 apache    15   0 24108 7964 3916 S  0.0  3.0   0:00.20 httpd
      637 apache    15   0 23988 7612 3676 S  0.0  2.9   0:00.02 httpd
      638 apache    15   0 24132 7768 3788 S  0.0  3.0   0:00.30 httpd
      675 mysql     15   0 55496 4248 1632 S  0.0  1.6   0:00.03 mysqld
      800 mysql     18   0 55496 4248 1632 S  0.0  1.6   0:00.00 mysqld
      801 mysql     15   0 55496 4248 1632 S  0.0  1.6   0:00.00 mysqld
      812 root      18   0  3476  932  692 S  0.0  0.4   0:00.00 sshd
      849 root      25   0  1884  476  388 S  0.0  0.2   0:00.00 vm-pop3d
    6)
    Codice:
     
    [mysqld]
    skip-locking
    skip-innodb
    query_cache_limit=1M
    query_cache_size=32M
    query_cache_type=1
    max_connections=500
    interactive_timeout=100
    wait_timeout=100
    connect_timeout=10
    thread_cache_size=128
    key_buffer=16M
    join_buffer=1M
    max_allowed_packet=16M
    table_cache=1024
    record_buffer=1M
    sort_buffer_size=2M
    read_buffer_size=2M
    max_connect_errors=10
    # Prova numero di CPU's*2 per thread_concurrency
    thread_concurrency=2
    myisam_sort_buffer_size=64M
    server-id=1
    [safe_mysqld]
    err-log=/var/log/mysqld.log
    open_files_limit=8192
    [mysqldump]
    quick
    max_allowed_packet=16M
    [mysql]
    no-auto-rehash
    #safe-updates
    [isamchk]
    key_buffer=64M
    sort_buffer=64M
    read_buffer=16M
    write_buffer=16M
    [myisamchk]
    key_buffer=64M
    sort_buffer=64M
    read_buffer=16M
    write_buffer=16M
    [mysqlhotcopy]
    interactive-timeout
    7)
    Codice:
    +---------------------------------+--------------------------------------------------------------------------+
    | Variable_name                   | Value                                                                    |
    +---------------------------------+--------------------------------------------------------------------------+
    | back_log                        | 50                                                                       |
    | basedir                         | /usr/local/mysql-standard-4.1.10-pc-linux-gnu-i686/                      |
    | binlog_cache_size               | 32768                                                                    |
    | bulk_insert_buffer_size         | 8388608                                                                  |
    | character_set_client            | latin1                                                                   |
    | character_set_connection        | latin1                                                                   |
    | character_set_database          | latin1                                                                   |
    | character_set_results           | latin1                                                                   |
    | character_set_server            | latin1                                                                   |
    | character_set_system            | utf8                                                                     |
    | character_sets_dir              | /usr/local/mysql-standard-4.1.10-pc-linux-gnu-i686/share/mysql/charsets/ |
    | collation_connection            | latin1_swedish_ci                                                        |
    | collation_database              | latin1_swedish_ci                                                        |
    | collation_server                | latin1_swedish_ci                                                        |
    | concurrent_insert               | ON                                                                       |
    | connect_timeout                 | 10                                                                       |
    | datadir                         | /usr/local/mysql/data/                                                   |
    | date_format                     | %Y-%m-%d                                                                 |
    | datetime_format                 | %Y-%m-%d %H:%i:%s                                                        |
    | default_week_format             | 0                                                                        |
    | delay_key_write                 | ON                                                                       |
    | delayed_insert_limit            | 100                                                                      |
    | delayed_insert_timeout          | 300                                                                      |
    | delayed_queue_size              | 1000                                                                     |
    | expire_logs_days                | 0                                                                        |
    | flush                           | OFF                                                                      |
    | flush_time                      | 0                                                                        |
    | ft_boolean_syntax               | + -><()~*:""&|                                                           |
    | ft_max_word_len                 | 84                                                                       |
    | ft_min_word_len                 | 4                                                                        |
    | ft_query_expansion_limit        | 20                                                                       |
    | ft_stopword_file                | (built-in)                                                               |
    | group_concat_max_len            | 1024                                                                     |
    | have_archive                    | YES                                                                      |
    | have_bdb                        | NO                                                                       |
    | have_compress                   | YES                                                                      |
    | have_crypt                      | YES                                                                      |
    | have_csv                        | NO                                                                       |
    | have_example_engine             | NO                                                                       |
    | have_geometry                   | YES                                                                      |
    | have_innodb                     | DISABLED                                                                 |
    | have_isam                       | NO                                                                       |
    | have_ndbcluster                 | NO                                                                       |
    | have_openssl                    | NO                                                                       |
    | have_query_cache                | YES                                                                      |
    | have_raid                       | NO                                                                       |
    | have_rtree_keys                 | YES                                                                      |
    | have_symlink                    | YES                                                                      |
    | init_connect                    |                                                                          |
    | init_file                       |                                                                          |
    | init_slave                      |                                                                          |
    | innodb_additional_mem_pool_size | 1048576                                                                  |
    | innodb_autoextend_increment     | 8                                                                        |
    | innodb_buffer_pool_awe_mem_mb   | 0                                                                        |
    | innodb_buffer_pool_size         | 8388608                                                                  |
    | innodb_data_file_path           |                                                                          |
    | innodb_data_home_dir            |                                                                          |
    | innodb_fast_shutdown            | ON                                                                       |
    | innodb_file_io_threads          | 4                                                                        |
    | innodb_file_per_table           | OFF                                                                      |
    | innodb_flush_log_at_trx_commit  | 1                                                                        |
    | innodb_flush_method             |                                                                          |
    | innodb_force_recovery           | 0                                                                        |
    | innodb_lock_wait_timeout        | 50                                                                       |
    | innodb_locks_unsafe_for_binlog  | OFF                                                                      |
    | innodb_log_arch_dir             |                                                                          |
    | innodb_log_archive              | OFF                                                                      |
    | innodb_log_buffer_size          | 1048576                                                                  |
    | innodb_log_file_size            | 5242880                                                                  |
    | innodb_log_files_in_group       | 2                                                                        |
    | innodb_log_group_home_dir       |                                                                          |
    | innodb_max_dirty_pages_pct      | 90                                                                       |
    | innodb_max_purge_lag            | 0                                                                        |
    | innodb_mirrored_log_groups      | 1                                                                        |
    | innodb_open_files               | 300                                                                      |
    | innodb_table_locks              | ON                                                                       |
    | innodb_thread_concurrency       | 8                                                                        |
    | interactive_timeout             | 100                                                                      |
    | join_buffer_size                | 1044480                                                                  |
    | key_buffer_size                 | 16777216                                                                 |
    | key_cache_age_threshold         | 300                                                                      |
    | key_cache_block_size            | 1024                                                                     |
    | key_cache_division_limit        | 100                                                                      |
    | language                        | /usr/local/mysql-standard-4.1.10-pc-linux-gnu-i686/share/mysql/english/  |
    | large_files_support             | ON                                                                       |
    | license                         | GPL                                                                      |
    | local_infile                    | ON                                                                       |
    | locked_in_memory                | OFF                                                                      |
    | log                             | OFF                                                                      |
    | log_bin                         | OFF                                                                      |
    | log_error                       |                                                                          |
    | log_slave_updates               | OFF                                                                      |
    | log_slow_queries                | OFF                                                                      |
    | log_update                      | OFF                                                                      |
    | log_warnings                    | 1                                                                        |
    | long_query_time                 | 10                                                                       |
    | low_priority_updates            | OFF                                                                      |
    | lower_case_file_system          | OFF                                                                      |
    | lower_case_table_names          | 0                                                                        |
    | max_allowed_packet              | 16776192                                                                 |
    | max_binlog_cache_size           | 4294967295                                                               |
    | max_binlog_size                 | 1073741824                                                               |
    | max_connect_errors              | 10                                                                       |
    | max_connections                 | 500                                                                      |
    | max_delayed_threads             | 20                                                                       |
    | max_error_count                 | 64                                                                       |
    | max_heap_table_size             | 16777216                                                                 |
    | max_insert_delayed_threads      | 20                                                                       |
    | max_join_size                   | 4294967295                                                               |
    | max_length_for_sort_data        | 1024                                                                     |
    | max_relay_log_size              | 0                                                                        |
    | max_seeks_for_key               | 4294967295                                                               |
    | max_sort_length                 | 1024                                                                     |
    | max_tmp_tables                  | 32                                                                       |
    | max_user_connections            | 0                                                                        |
    | max_write_lock_count            | 4294967295                                                               |
    | myisam_data_pointer_size        | 4                                                                        |
    | myisam_max_extra_sort_file_size | 2147483648                                                               |
    | myisam_max_sort_file_size       | 2147483647                                                               |
    | myisam_recover_options          | OFF                                                                      |
    | myisam_repair_threads           | 1                                                                        |
    | myisam_sort_buffer_size         | 67108864                                                                 |
    | net_buffer_length               | 16384                                                                    |
    | net_read_timeout                | 30                                                                       |
    | net_retry_count                 | 10                                                                       |
    | net_write_timeout               | 60                                                                       |
    | new                             | OFF                                                                      |
    | old_passwords                   | OFF                                                                      |
    | open_files_limit                | 2558                                                                     |
    | pid_file                        | /usr/local/mysql/data/vps.pid                                            |
    | port                            | 3306                                                                     |
    | preload_buffer_size             | 32768                                                                    |
    | protocol_version                | 10                                                                       |
    | query_alloc_block_size          | 8192                                                                     |
    | query_cache_limit               | 1048576                                                                  |
    | query_cache_min_res_unit        | 4096                                                                     |
    | query_cache_size                | 33554432                                                                 |
    | query_cache_type                | ON                                                                       |
    | query_cache_wlock_invalidate    | OFF                                                                      |
    | query_prealloc_size             | 8192                                                                     |
    | range_alloc_block_size          | 2048                                                                     |
    | read_buffer_size                | 2093056                                                                  |
    | read_only                       | OFF                                                                      |
    | read_rnd_buffer_size            | 262144                                                                   |
    | relay_log_purge                 | ON                                                                       |
    | rpl_recovery_rank               | 0                                                                        |
    | secure_auth                     | OFF                                                                      |
    | server_id                       | 1                                                                        |
    | skip_external_locking           | ON                                                                       |
    | skip_networking                 | OFF                                                                      |
    | skip_show_database              | OFF                                                                      |
    | slave_net_timeout               | 3600                                                                     |
    | slow_launch_time                | 2                                                                        |
    | socket                          | /tmp/mysql.sock                                                          |
    | sort_buffer_size                | 2097144                                                                  |
    | sql_mode                        |                                                                          |
    | storage_engine                  | MyISAM                                                                   |
    | sync_binlog                     | 0                                                                        |
    | sync_replication                | 0                                                                        |
    | sync_replication_slave_id       | 0                                                                        |
    | sync_replication_timeout        | 0                                                                        |
    | sync_frm                        | ON                                                                       |
    | system_time_zone                | GMT                                                                      |
    | table_cache                     | 1024                                                                     |
    | table_type                      | MyISAM                                                                   |
    | thread_cache_size               | 128                                                                      |
    | thread_stack                    | 126976                                                                   |
    | time_format                     | %H:%i:%s                                                                 |
    | time_zone                       | SYSTEM                                                                   |
    | tmp_table_size                  | 33554432                                                                 |
    | tmpdir                          |                                                                          |
    | transaction_alloc_block_size    | 8192                                                                     |
    | transaction_prealloc_size       | 4096                                                                     |
    | tx_isolation                    | REPEATABLE-READ                                                          |
    | version                         | 4.1.10-standard                                                          |
    | version_comment                 | MySQL Community Edition - Standard (GPL)                                 |
    | version_compile_machine         | i686                                                                     |
    | version_compile_os              | pc-linux-gnu                                                             |
    | wait_timeout                    | 100                                                                      |
    +---------------------------------+--------------------------------------------------------------------------+
    +--------------------------+----------+
    | Variable_name            | Value    |
    +--------------------------+----------+
    | Aborted_clients          | 0        |
    | Aborted_connects         | 16       |
    | Binlog_cache_disk_use    | 0        |
    | Binlog_cache_use         | 0        |
    | Bytes_received           | 4536     |
    | Bytes_sent               | 42153    |
    | Com_admin_commands       | 0        |
    | Com_alter_db             | 0        |
    | Com_alter_table          | 0        |
    | Com_analyze              | 0        |
    | Com_backup_table         | 0        |
    | Com_begin                | 0        |
    | Com_change_db            | 1        |
    | Com_change_master        | 0        |
    | Com_check                | 0        |
    | Com_checksum             | 0        |
    | Com_commit               | 0        |
    | Com_create_db            | 1        |
    | Com_create_function      | 0        |
    | Com_create_index         | 0        |
    | Com_create_table         | 0        |
    | Com_dealloc_sql          | 0        |
    | Com_delete               | 2        |
    | Com_delete_multi         | 0        |
    | Com_do                   | 0        |
    | Com_drop_db              | 1        |
    | Com_drop_function        | 0        |
    | Com_drop_index           | 0        |
    | Com_drop_table           | 0        |
    | Com_drop_user            | 0        |
    | Com_execute_sql          | 0        |
    | Com_flush                | 3        |
    | Com_grant                | 2        |
    | Com_ha_close             | 0        |
    | Com_ha_open              | 0        |
    | Com_ha_read              | 0        |
    | Com_help                 | 0        |
    | Com_insert               | 0        |
    | Com_insert_select        | 0        |
    | Com_kill                 | 0        |
    | Com_load                 | 0        |
    | Com_load_master_data     | 0        |
    | Com_load_master_table    | 0        |
    | Com_lock_tables          | 0        |
    | Com_optimize             | 0        |
    | Com_preload_keys         | 0        |
    | Com_prepare_sql          | 0        |
    | Com_purge                | 0        |
    | Com_purge_before_date    | 0        |
    | Com_rename_table         | 0        |
    | Com_repair               | 0        |
    | Com_replace              | 0        |
    | Com_replace_select       | 0        |
    | Com_reset                | 0        |
    | Com_restore_table        | 0        |
    | Com_revoke               | 0        |
    | Com_revoke_all           | 0        |
    | Com_rollback             | 0        |
    | Com_savepoint            | 0        |
    | Com_select               | 11       |
    | Com_set_option           | 12       |
    | Com_show_binlog_events   | 0        |
    | Com_show_binlogs         | 1        |
    | Com_show_charsets        | 3        |
    | Com_show_collations      | 3        |
    | Com_show_column_types    | 0        |
    | Com_show_create_db       | 0        |
    | Com_show_create_table    | 0        |
    | Com_show_databases       | 13       |
    | Com_show_errors          | 0        |
    | Com_show_fields          | 0        |
    | Com_show_grants          | 1        |
    | Com_show_innodb_status   | 0        |
    | Com_show_keys            | 0        |
    | Com_show_logs            | 0        |
    | Com_show_master_status   | 0        |
    | Com_show_new_master      | 0        |
    | Com_show_open_tables     | 0        |
    | Com_show_privileges      | 0        |
    | Com_show_processlist     | 0        |
    | Com_show_slave_hosts     | 0        |
    | Com_show_slave_status    | 0        |
    | Com_show_status          | 4        |
    | Com_show_storage_engines | 0        |
    | Com_show_tables          | 3        |
    | Com_show_variables       | 8        |
    | Com_show_warnings        | 0        |
    | Com_slave_start          | 0        |
    | Com_slave_stop           | 0        |
    | Com_truncate             | 0        |
    | Com_unlock_tables        | 0        |
    | Com_update               | 1        |
    | Com_update_multi         | 0        |
    | Connections              | 33       |
    | Created_tmp_disk_tables  | 0        |
    | Created_tmp_files        | 0        |
    | Created_tmp_tables       | 1        |
    | Delayed_errors           | 0        |
    | Delayed_insert_threads   | 0        |
    | Delayed_writes           | 0        |
    | Flush_commands           | 1        |
    | Handler_commit           | 0        |
    | Handler_delete           | 3        |
    | Handler_discover         | 0        |
    | Handler_read_first       | 7        |
    | Handler_read_key         | 5        |
    | Handler_read_next        | 9        |
    | Handler_read_prev        | 0        |
    | Handler_read_rnd         | 0        |
    | Handler_read_rnd_next    | 80       |
    | Handler_rollback         | 0        |
    | Handler_update           | 0        |
    | Handler_write            | 6        |
    | Key_blocks_not_flushed   | 0        |
    | Key_blocks_unused        | 14497    |
    | Key_blocks_used          | 4        |
    | Key_read_requests        | 37       |
    | Key_reads                | 8        |
    | Key_write_requests       | 22       |
    | Key_writes               | 12       |
    | Max_used_connections     | 2        |
    | Not_flushed_delayed_rows | 0        |
    | Open_files               | 0        |
    | Open_streams             | 0        |
    | Open_tables              | 0        |
    | Opened_tables            | 26       |
    | Qcache_free_blocks       | 1        |
    | Qcache_free_memory       | 33545640 |
    | Qcache_hits              | 0        |
    | Qcache_inserts           | 0        |
    | Qcache_lowmem_prunes     | 0        |
    | Qcache_not_cached        | 8        |
    | Qcache_queries_in_cache  | 0        |
    | Qcache_total_blocks      | 1        |
    | Questions                | 83       |
    | Rpl_status               | NULL     |
    | Select_full_join         | 0        |
    | Select_full_range_join   | 0        |
    | Select_range             | 0        |
    | Select_range_check       | 0        |
    | Select_scan              | 3        |
    | Slave_open_temp_tables   | 0        |
    | Slave_running            | OFF      |
    | Slow_launch_threads      | 0        |
    | Slow_queries             | 0        |
    | Sort_merge_passes        | 0        |
    | Sort_range               | 0        |
    | Sort_rows                | 0        |
    | Sort_scan                | 0        |
    | Table_locks_immediate    | 37       |
    | Table_locks_waited       | 0        |
    | Threads_cached           | 1        |
    | Threads_connected        | 1        |
    | Threads_created          | 2        |
    | Threads_running          | 1        |
    | Uptime                   | 1988     |
    +--------------------------+----------+
    Uptime: 1988  Threads: 1  Questions: 84  Slow queries: 0  Opens: 26  Flush tables: 1  Open tables: 0  Queries per second avg: 0.042
    mysqladmin  Ver 8.41 Distrib 4.1.10, for pc-linux-gnu on i686
    Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
    This software comes with ABSOLUTELY NO WARRANTY. This is free software,
    and you are welcome to modify and redistribute it under the GPL license
    Server version          4.1.10-standard
    Protocol version        10
    Connection              Localhost via UNIX socket
    UNIX socket             /tmp/mysql.sock
    Uptime:                 33 min 8 sec
    8) Totalmente misti (alcuni solo HTML, alcuni solo PHP, altri un misto)

    9) http://194.177.99.163/index.php

    10)
    Codice:
    Timeout 300
    KeepAlive On
    MaxKeepAliveRequests 500
    KeepAliveTimeout 5
    MinSpareServers 5
    MaxSpareServers 20
    StartServers 8
    MaxClients 450
    MaxRequestsPerChild 1000

    11)
    find: /proc/1248/task/1248/fd/4: No such file or directory
    find: /proc/1248/fd/4: No such file or directory

    12)
    Codice:
    Linux vps.calabro.com 2.6.18-8.1.4.el5xen #1 SMP Thu May 17 03:43:13 EDT 2007 x86_64 GNU/Linux

    Codice:
    core file size        (blocks, -c) unlimited
    data seg size         (kbytes, -d) unlimited
    file size             (blocks, -f) unlimited
    max locked memory     (kbytes, -l) unlimited
    max memory size       (kbytes, -m) unlimited
    open files                    (-n) 1024
    pipe size          (512 bytes, -p) 8
    stack size            (kbytes, -s) unlimited
    cpu time             (seconds, -t) unlimited
    max user processes            (-u) unlimited
    virtual memory        (kbytes, -v) unlimited


    Codice:
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 15
    model           : 6
    model name      :                   Intel(R) Xeon(TM) CPU 2.66GHz
    stepping        : 4
    cpu MHz         : 2659.996
    cache size      : 2048 KB
    physical id     : 0
    siblings        : 1
    core id         : 0
    cpu cores       : 1
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 6
    wp              : yes
    flags           : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est cid cx16 xtpr lahf_lm
    bogomips        : 6657.54
    clflush size    : 64
    cache_alignment : 128
    address sizes   : 36 bits physical, 48 bits virtual
    power management:

  6. #66
    HT Moderatore L'avatar di Alex
    Data Registrazione
    Aug 2006
    Messaggi
    2,299

    Re: Configurazioni ottimali VPS

    usa questa

    Configurazioni ottimali VPS

    modificando manualmente i parametri che ci sono nel tuo my.cnf con quelli riportati (altrimenti non so se non ti si incasina DA se lo cambi del tutto ... non conosco il pannello)
    Il miglior sito italiano su winning eleven e pro evolution soccer
    Ubuntu è una antica parola africana che significa: "Non so installare Debian"

  7. #67
    HT Member
    Data Registrazione
    May 2007
    Messaggi
    36

    Re: Configurazioni ottimali VPS

    Non parte + Mysqld O_o


    Ma toglimi una curiosit&#224;, modificando il my.conf (quindi MySQL) adesso girer&#224; un unico processo di mysqld che lavorer&#224; in socket?

    Con il vecchio my.cnf parte.. con questo no (credo che ha qualche problema con i socket)

    Help me pls

  8. #68
    HT Moderatore L'avatar di Alex
    Data Registrazione
    Aug 2006
    Messaggi
    2,299

    Re: Configurazioni ottimali VPS

    [mysqld]
    skip-locking
    skip-innodb
    query_cache_limit = 4M
    query_cache_size = 80M
    query_cache_type = 1
    max_connections=500
    interactive_timeout=100
    wait_timeout=100
    connect_timeout=10
    thread_cache_size=256
    key_buffer=16M
    join_buffer=1M
    max_allowed_packet=64M
    table_cache=1800
    record_buffer=1M
    sort_buffer_size=2M
    read_buffer_size=2M
    max_connect_errors=10
    # Prova numero di CPU's*2 per thread_concurrency
    thread_concurrency=2
    myisam_sort_buffer_size=64M
    server-id=1
    [safe_mysqld]
    err-log=/var/log/mysqld.log
    open_files_limit=8192
    [mysqldump]
    quick
    max_allowed_packet=16M
    [mysql]
    no-auto-rehash
    #safe-updates
    [isamchk]
    key_buffer=64M
    sort_buffer=64M
    read_buffer=16M
    write_buffer=16M
    [myisamchk]
    key_buffer=64M
    sort_buffer=64M
    read_buffer=16M
    write_buffer=16M
    [mysqlhotcopy]
    interactive-timeout
    Il miglior sito italiano su winning eleven e pro evolution soccer
    Ubuntu è una antica parola africana che significa: "Non so installare Debian"

  9. #69
    Nuovo utente
    Data Registrazione
    Aug 2007
    Messaggi
    10

    Unhappy Re: Configurazioni ottimali VPS

    Anche se sono in ritardo vorrei anche io un aiutino :-P

    1) Tipo Di Server: Dual Dual Xeon 5030.

    2) Specifiche del server:
    2 GB Ram
    2 X 160 GB HD Raid 1 Sata II
    Centos
    Apache 2.2 (aggiornato tramite script automatico)
    Php 5.2.3(aggiornato tramite script automatico)
    Mysql 5.0.45(aggiornato tramite script automatico)

    3)Niente InnoDB

    4)Già installato(directAdmin...)

    5) Buona Morte:
    Codice:
    top - 12:30:14 up 24 min,  1 user,  load average: 41.91, 38.40, 32.00
    Tasks: 391 total,  10 running, 381 sleeping,   0 stopped,   0 zombie
    Cpu(s): 11.3% us, 62.6% sy,  0.0% ni, 26.1% id,  0.0% wa,  0.0% hi,  0.0% si
    Mem:   2074328k total,   780544k used,  1293784k free,    32624k buffers
    Swap:  4096564k total,        0k used,  4096564k free,   401316k cached
    
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
     5788 mysql     18   0  267m  40m 2268 D   16  2.0   0:29.06 mysqld
     5893 mysql     18   0  267m  40m 2268 D   16  2.0   0:16.69 mysqld
     5804 mysql     18   0  267m  40m 2268 D   14  2.0   0:15.90 mysqld
     5815 mysql     18   0  267m  40m 2268 D   14  2.0   0:17.01 mysqld
     5876 mysql     18   0  267m  40m 2268 D   14  2.0   0:16.83 mysqld
     5907 mysql     18   0  267m  40m 2268 D   14  2.0   0:08.91 mysqld
     5921 mysql     18   0  267m  40m 2268 D   14  2.0   0:17.45 mysqld
     5935 mysql     18   0  267m  40m 2268 D   14  2.0   0:24.90 mysqld
     5775 mysql     18   0  267m  40m 2268 R   13  2.0   0:29.02 mysqld
     5778 mysql     18   0  267m  40m 2268 R   13  2.0   0:32.89 mysqld
     5809 mysql     18   0  267m  40m 2268 D   13  2.0   0:10.35 mysqld
     5830 mysql     18   0  267m  40m 2268 D   13  2.0   0:16.55 mysqld
     5835 mysql     18   0  267m  40m 2268 D   13  2.0   0:40.64 mysqld
     5838 mysql     18   0  267m  40m 2268 R   13  2.0   0:24.17 mysqld
     5841 mysql     18   0  267m  40m 2268 R   13  2.0   0:24.09 mysqld
     5844 mysql     18   0  267m  40m 2268 D   13  2.0   0:39.55 mysqld
     5846 mysql     18   0  267m  40m 2268 D   13  2.0   0:02.37 mysqld
     5857 mysql     18   0  267m  40m 2268 D   13  2.0   0:08.85 mysqld
     5861 mysql     18   0  267m  40m 2268 D   13  2.0   0:09.47 mysqld
     5863 mysql     18   0  267m  40m 2268 D   13  2.0   0:09.65 mysqld
     5864 mysql     18   0  267m  40m 2268 D   13  2.0   0:16.31 mysqld
     5882 mysql     18   0  267m  40m 2268 D   13  2.0   0:01.57 mysqld
     5932 mysql     18   0  267m  40m 2268 D   13  2.0   0:24.89 mysqld
     5937 mysql     18   0  267m  40m 2268 D   13  2.0   0:16.91 mysqld
     5939 mysql     18   0  267m  40m 2268 D   13  2.0   0:16.66 mysqld
     5942 mysql     18   0  267m  40m 2268 D   13  2.0   0:09.69 mysqld
     5947 mysql     18   0  267m  40m 2268 D   13  2.0   0:17.46 mysqld
     5948 mysql     18   0  267m  40m 2268 R   13  2.0   0:16.77 mysqld
     5964 mysql     18   0  267m  40m 2268 D   13  2.0   0:16.99 mysqld
     5797 mysql     18   0  267m  40m 2268 D   12  2.0   0:36.41 mysqld
     5817 mysql     18   0  267m  40m 2268 R   12  2.0   0:20.74 mysqld
     5831 mysql     18   0  267m  40m 2268 R   12  2.0   0:17.50 mysqld
     5836 mysql     18   0  267m  40m 2268 D   12  2.0   0:10.40 mysqld
     5843 mysql     18   0  267m  40m 2268 D   12  2.0   0:32.05 mysqld

    6)
    Codice:
    [mysqld] 
    skip-locking 
    skip-innodb 
    query_cache_limit=1M 
    query_cache_size=32M 
    query_cache_type=1 
    max_connections=500 
    interactive_timeout=100 
    wait_timeout=100 
    connect_timeout=10 
    thread_cache_size=128 
    key_buffer=16M 
    join_buffer=1M 
    max_allowed_packet=16M 
    table_cache=1024 
    record_buffer=1M 
    sort_buffer_size=2M 
    read_buffer_size=2M 
    max_connect_errors=10 
    # Prova numero di CPU's*2 per thread_concurrency 
    thread_concurrency=2 
    myisam_sort_buffer_size=64M 
    server-id=1 
    
    [safe_mysqld] 
    err-log=/var/log/mysqld.log 
    open_files_limit=8192 
    
    [mysqldump] 
    quick 
    max_allowed_packet=16M 
    
    [mysql] 
    no-auto-rehash 
    #safe-updates 
    
    [isamchk] 
    key_buffer=64M 
    sort_buffer=64M 
    read_buffer=16M 
    write_buffer=16M 
    
    [myisamchk] 
    key_buffer=64M 
    sort_buffer=64M 
    read_buffer=16M 
    write_buffer=16M 
    
    [mysqlhotcopy] 
    interactive-timeout
    7) non me lo fa entrare

    8) un solo sito di community che arriva sui 500 utenti online

    10)
    KeepAlive On
    MaxKeepAliveRequests 100
    KeepAliveTimeout 1
    (ehm gli altri non li trovo o non ci stanno proprio )

    11) find / -size +2000000k
    find: /proc/7137/task/7137/fd/4: No such file or directory
    find: /proc/7168/task: No such file or directory
    find: /proc/7331/task/7331/fd/152: No such file or directory


    12)
    uname -a

    Codice:
    Linux srv.chatcity.it 2.6.9-55.0.2.ELsmp #1 SMP Tue Jun 26 14:30:58 EDT 2007 i686 i686 i386 GNU/Linux

    ulimit -aH

    Codice:
    core file size          (blocks, -c) unlimited
    data seg size           (kbytes, -d) unlimited
    file size               (blocks, -f) unlimited
    pending signals                 (-i) 1024
    max locked memory       (kbytes, -l) 32
    max memory size         (kbytes, -m) unlimited
    open files                      (-n) 1024
    pipe size            (512 bytes, -p) 8
    POSIX message queues     (bytes, -q) 819200
    stack size              (kbytes, -s) unlimited
    cpu time               (seconds, -t) unlimited
    max user processes              (-u) 32758
    virtual memory          (kbytes, -v) unlimited
    file locks                      (-x) unlimited
    cat /proc/cpuinfo (sono porprio così i processori eh)
    Codice:
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 15
    model           : 6
    model name      : Intel(R) Xeon(TM) CPU 2.66GHz
    stepping        : 4
    cpu MHz         : 2668.931
    cache size      : 2048 KB
    physical id     : 0
    siblings        : 4
    core id         : 0
    cpu cores       : 2
    fdiv_bug        : no
    hlt_bug         : no
    f00f_bug        : no
    coma_bug        : no
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 6
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl est cid xtpr
    bogomips        : 5338.40
    
    processor       : 1
    vendor_id       : GenuineIntel
    cpu family      : 15
    model           : 6
    model name      : Intel(R) Xeon(TM) CPU 2.66GHz
    stepping        : 4
    cpu MHz         : 2668.931
    cache size      : 2048 KB
    physical id     : 0
    siblings        : 4
    core id         : 0
    cpu cores       : 2
    fdiv_bug        : no
    hlt_bug         : no
    f00f_bug        : no
    coma_bug        : no
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 6
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl est cid xtpr
    bogomips        : 5332.77
    
    processor       : 2
    vendor_id       : GenuineIntel
    cpu family      : 15
    model           : 6
    model name      : Intel(R) Xeon(TM) CPU 2.66GHz
    stepping        : 4
    cpu MHz         : 2668.931
    cache size      : 2048 KB
    physical id     : 0
    siblings        : 4
    core id         : 1
    cpu cores       : 2
    fdiv_bug        : no
    hlt_bug         : no
    f00f_bug        : no
    coma_bug        : no
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 6
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl est cid xtpr
    bogomips        : 5332.89
    
    processor       : 3
    vendor_id       : GenuineIntel
    cpu family      : 15
    model           : 6
    model name      : Intel(R) Xeon(TM) CPU 2.66GHz
    stepping        : 4
    cpu MHz         : 2668.931
    cache size      : 2048 KB
    physical id     : 0
    siblings        : 4
    core id         : 1
    cpu cores       : 2
    fdiv_bug        : no
    hlt_bug         : no
    f00f_bug        : no
    coma_bug        : no
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 6
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl est cid xtpr
    bogomips        : 5332.94
    
    processor       : 4
    vendor_id       : GenuineIntel
    cpu family      : 15
    model           : 6
    model name      : Intel(R) Xeon(TM) CPU 2.66GHz
    stepping        : 4
    cpu MHz         : 2668.931
    cache size      : 2048 KB
    physical id     : 1
    siblings        : 4
    core id         : 2
    cpu cores       : 2
    fdiv_bug        : no
    hlt_bug         : no
    f00f_bug        : no
    coma_bug        : no
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 6
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl est cid xtpr
    bogomips        : 5332.96
    
    processor       : 5
    vendor_id       : GenuineIntel
    cpu family      : 15
    model           : 6
    model name      : Intel(R) Xeon(TM) CPU 2.66GHz
    stepping        : 4
    cpu MHz         : 2668.931
    cache size      : 2048 KB
    physical id     : 1
    siblings        : 4
    core id         : 2
    cpu cores       : 2
    fdiv_bug        : no
    hlt_bug         : no
    f00f_bug        : no
    coma_bug        : no
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 6
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl est cid xtpr
    bogomips        : 5333.06
    
    processor       : 6
    vendor_id       : GenuineIntel
    cpu family      : 15
    model           : 6
    model name      : Intel(R) Xeon(TM) CPU 2.66GHz
    stepping        : 4
    cpu MHz         : 2668.931
    cache size      : 2048 KB
    physical id     : 1
    siblings        : 4
    core id         : 3
    cpu cores       : 2
    fdiv_bug        : no
    hlt_bug         : no
    f00f_bug        : no
    coma_bug        : no
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 6
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl est cid xtpr
    bogomips        : 5333.00
    
    processor       : 7
    vendor_id       : GenuineIntel
    cpu family      : 15
    model           : 6
    model name      : Intel(R) Xeon(TM) CPU 2.66GHz
    stepping        : 4
    cpu MHz         : 2668.931
    cache size      : 2048 KB
    physical id     : 1
    siblings        : 4
    core id         : 3
    cpu cores       : 2
    fdiv_bug        : no
    hlt_bug         : no
    f00f_bug        : no
    coma_bug        : no
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 6
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl est cid xtpr
    bogomips        : 5333.04
    non capisco come mai io ho un server tanto potente e dei carichi così elevati

  10. #70
    Provider L'avatar di SeFlow
    Data Registrazione
    Mar 2006
    Località
    Milano
    Messaggi
    1,395

    Re: Configurazioni ottimali VPS

    basta guardare il top e l' uso che fai di mysql
    SeFlow.it - http://www.seflow.it - Server Dedicati a partire da € 29 +iva - Server Virtuali a partire da € 9 +iva

  11. #71
    Nuovo utente
    Data Registrazione
    Aug 2007
    Messaggi
    10

    Re: Configurazioni ottimali VPS

    Citazione Originariamente Scritto da SeFlow Visualizza Messaggio
    basta guardare il top e l' uso che fai di mysql
    prrr te ci stai sempre eh?
    cmq si è vero.. cè mysql.. ma sai ke ora ho spento apache e mysql sta sempre a girare e a consumare? il load è a 72 % e il sito è chiuso.. mi sembra che se ne va di testa mysql è da na 15 minuti così con apache spento... mha

  12. #72
    Provider L'avatar di SeFlow
    Data Registrazione
    Mar 2006
    Località
    Milano
    Messaggi
    1,395

    Re: Configurazioni ottimali VPS

    prova a riavviarlo e ad usare mytop
    SeFlow.it - http://www.seflow.it - Server Dedicati a partire da € 29 +iva - Server Virtuali a partire da € 9 +iva

  13. #73
    Nuovo utente
    Data Registrazione
    Aug 2007
    Messaggi
    10

    Re: Configurazioni ottimali VPS

    Citazione Originariamente Scritto da SeFlow Visualizza Messaggio
    prova a riavviarlo e ad usare mytop
    mytop non esiste...

    comunque ma perchè se spengo apache poi si riaccende da solo?

    comunque ora resta a 35% il load

    ma ieri ho aggiornato tutto ed stava andando bene tutto ok, ma poi come sempre ad orari inizia a fare così! mi sa che sta volta devo cacciare qualche soldino per farvi entrare a voi ehehe

  14. #74
    Nuovo utente
    Data Registrazione
    Aug 2007
    Messaggi
    10

    Re: Configurazioni ottimali VPS

    Citazione Originariamente Scritto da allivio Visualizza Messaggio
    mytop non esiste...

    comunque ma perchè se spengo apache poi si riaccende da solo?

    comunque ora resta a 35% il load

    ma ieri ho aggiornato tutto ed stava andando bene tutto ok, ma poi come sempre ad orari inizia a fare così! mi sa che sta volta devo cacciare qualche soldino per farvi entrare a voi ehehe
    ho proprio chiuso il sito ora e si è calmato tutto... devo trovare cosa può essere che consuma tanto...

    hai msn mattè :-P ma non oso prenderlo che mi ci mandi a quel paese cm l'altra volta te

  15. #75
    HT Moderatore L'avatar di Alex
    Data Registrazione
    Aug 2006
    Messaggi
    2,299

    Re: Configurazioni ottimali VPS

    sar&#224; qualche loop di php lasciato aperto o qualche mysql_close che manca ... che sito &#232;, un cms o uno scritto da te?
    Il miglior sito italiano su winning eleven e pro evolution soccer
    Ubuntu è una antica parola africana che significa: "Non so installare Debian"

Discussioni Simili

  1. Webhosting server *nix: configurazioni basilari
    Di Redazione HostingTalk nel forum Interviste & extra
    Risposte: 0
    Ultimo Messaggio: 12-02-2009, 17:38
  2. Mail Server: introduzione e configurazioni basilari
    Di Redazione HostingTalk nel forum Interviste & extra
    Risposte: 0
    Ultimo Messaggio: 12-02-2009, 09:24
  3. Webhosting server *nix: configurazioni basilari
    Di Redazione HostingTalk nel forum Interviste & extra
    Risposte: 0
    Ultimo Messaggio: 05-02-2009, 11:19
  4. Configurazioni domini da IIS
    Di perla0279 nel forum Gestione Server Windows, Linux & CO
    Risposte: 8
    Ultimo Messaggio: 16-12-2008, 07:42

Informazioni Discussione

Utenti che Stanno Visualizzando Questa Discussione

Ci sono attualmente 1 utenti che stanno visualizzando questa discussione. (0 utenti e 1 ospiti)

Tag per Questa Discussione

Segnalibri

Permessi di Scrittura

  • Tu non puoi inviare nuove discussioni
  • Tu non puoi inviare risposte
  • Tu non puoi inviare allegati
  • Tu non puoi modificare i tuoi messaggi