Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Konfiguracja VPS Apache Memory Usage (MB): 0 ?
zagir
post
Post #1





Grupa: Zarejestrowani
Postów: 16
Pomógł: 0
Dołączył: 29.09.2010

Ostrzeżenie: (0%)
-----


Witam,
założyłem Na OVH serwer VPS 4gb ramu 3 proce itd. Zainstalowałem CENTOSA i panel zpanelcp wg.:

https://www.nazwa.pl/pomoc/produkty-i-uslug...anel-na-centos/

ale wait time jest ogromny sięga od 1s do nawet 6s:
http://tools.pingdom.com/fpt/#!/bSQRtf...ittlethings.pl/

my.cnf

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
innodb_buffer_pool_size = 32M

sort_buffer_size = 1M
join_buffer_size = 8M
read_buffer_size = 8M
max_connections = 100
wait_timeout = 100
table_definition_cache = 800


thread_cache_size = 16
table_open_cache = 1K
innodb_force_recovery = 0
query_cache_size = 32M
query_cache_limit =1M

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
long_query_time=1
log-slow-queries=/var/log/mysql/log-slow-queries.log
log-queries-not-using-indexes


<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 4000
</IfModule>
a oto wynik skryptu który miał pokazać ile zużywa apache

# sh ap.sh
Apache Memory Usage (MB): 0
awk: (FILENAME=- FNR=1) fatalny błąd: próba dzielenia przez zero


Powiem szczerze jestem załamany i nie mam pojęcia co mam z tym fantem zrobić i co jest nie tak
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
zagir
post
Post #2





Grupa: Zarejestrowani
Postów: 16
Pomógł: 0
Dołączył: 29.09.2010

Ostrzeżenie: (0%)
-----


wywaliło mi to (IMG:style_emoticons/default/smile.gif)

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/module s/php_mcrypt.dll' - /usr/lib64/php/modules/php_mcrypt.dll: cannot open shared ob ject file: No such file or directory in Unknown on line 0
PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
PHP Warning: Module 'PDO' already loaded in Unknown on line 0
PHP Warning: Module 'pdo_mysql' already loaded in Unknown on line 0
Additional .ini files parsed => /etc/php.d/apc.ini,
apc
apc.cache_by_default => On => On
apc.canonicalize => On => On
apc.coredump_unmap => Off => Off
apc.enable_cli => Off => Off
apc.enabled => On => On
apc.file_md5 => Off => Off
apc.file_update_protection => 2 => 2
apc.filters => no value => no value
apc.gc_ttl => 3600 => 3600
apc.include_once_override => Off => Off
apc.lazy_classes => Off => Off
apc.lazy_functions => Off => Off
apc.max_file_size => 1M => 1M
apc.mmap_file_mask => no value => no value
apc.num_files_hint => 1000 => 1000
apc.preload_path => no value => no value
apc.report_autofilter => Off => Off
apc.rfc1867 => Off => Off
apc.rfc1867_freq => 0 => 0
apc.rfc1867_name => APC_UPLOAD_PROGRESS => APC_UPLOAD_PROGRESS
apc.rfc1867_prefix => upload_ => upload_
apc.rfc1867_ttl => 3600 => 3600
apc.serializer => default => default
apc.shm_segments => 1 => 1
apc.shm_size => 32M => 32M
apc.slam_defense => On => On
apc.stat => On => On
apc.stat_ctime => Off => Off
apc.ttl => 0 => 0
apc.use_request_time => On => On
apc.user_entries_hint => 4096 => 4096
apc.user_ttl => 0 => 0
apc.write_lock => On => On
suhosin.apc_bug_workaround => Off => Off





Zauważyłem jeszcze jedną rzeczy otóż wzrasta zużycie dysku twardego (tak mi się wydaje) w sensie pojemności i to dość sporo bo po 100 mb dziennie czy mogą to być jakieś logi które tak zajmują dysk (IMG:style_emoticons/default/questionmark.gif) aktualnie jest 2.26 GB zobaczymy ile będzie jutro
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 15.10.2025 - 09:48