闰土
2011-10-12 17:31
APMServ6什么时候出啊 ,我好期待
你好,张老师,今天刚注册,想咨询个问题。刚接触APMServ5.2.6,我的网站根目录下访问没有问题,但我要在本机设置多个虚拟目录,同时可以测试多个网站。这个虚拟目录如何设置,我搞了好久都没有搞定!我的QQ号是89076648,方便请为我解答一下,谢谢!
王海
2011-10-6 01:30
张老师 您好,想跟你谈一下关于搜索引擎相关的技术与业务,相信会有很不错的收益!
联系QQ 854854 麻烦您加我QQ沟通一下 ,谢谢了!
联系QQ 854854 麻烦您加我QQ沟通一下 ,谢谢了!
suifeng
2011-10-4 12:58
张老师,您好!
APMServ5.2.6在Windows server 2003运行一段时间后出现这个问题,是什么原因,谢谢~
Zend Optimizer not installed
This file was encoded by the Zend Encoder / Zend SafeGuard Suite
In order to run it, please install the freely available Zend Optimizer, version 2.1.0 or later.
What is the Zend Optimizer?
The Zend Optimizer is one of the most popular PHP plugins for performance-improvement, and has been freely available since the early days of PHP 4. It improves performance by taking PHP's intermediate code through multiple Optimization Passes, which replace inefficient code patterns with efficient code blocks. The replacement code blocks perform exactly the same operations as the original code, only faster.
In addition to performance-improvement, the Zend Optimizer also enables PHP to transparently load files encoded by the Zend Encoder or Zend SafeGuard Suite.
The Zend Optimizer is a freely-available product from Zend Technologies. Zend Technologies is the company that develops the scripting engine of PHP, also known as the Zend Engine.
APMServ5.2.6在Windows server 2003运行一段时间后出现这个问题,是什么原因,谢谢~
Zend Optimizer not installed
This file was encoded by the Zend Encoder / Zend SafeGuard Suite
In order to run it, please install the freely available Zend Optimizer, version 2.1.0 or later.
What is the Zend Optimizer?
The Zend Optimizer is one of the most popular PHP plugins for performance-improvement, and has been freely available since the early days of PHP 4. It improves performance by taking PHP's intermediate code through multiple Optimization Passes, which replace inefficient code patterns with efficient code blocks. The replacement code blocks perform exactly the same operations as the original code, only faster.
In addition to performance-improvement, the Zend Optimizer also enables PHP to transparently load files encoded by the Zend Encoder or Zend SafeGuard Suite.
The Zend Optimizer is a freely-available product from Zend Technologies. Zend Technologies is the company that develops the scripting engine of PHP, also known as the Zend Engine.
suifeng
2011-10-4 12:00
张老师,您好!
APMServ5.2.6部署出现这个问题?
Zend Optimizer not installed
This file was encoded by the Zend Encoder / Zend SafeGuard Suite
In order to run it, please install the freely available Zend Optimizer, version 2.1.0 or later.
What is the Zend Optimizer?
The Zend Optimizer is one of the most popular PHP plugins for performance-improvement, and has been freely available since the early days of PHP 4. It improves performance by taking PHP's intermediate code through multiple Optimization Passes, which replace inefficient code patterns with efficient code blocks. The replacement code blocks perform exactly the same operations as the original code, only faster.
In addition to performance-improvement, the Zend Optimizer also enables PHP to transparently load files encoded by the Zend Encoder or Zend SafeGuard Suite.
The Zend Optimizer is a freely-available product from Zend Technologies. Zend Technologies is the company that develops the scripting engine of PHP, also known as the Zend Engine.
APMServ5.2.6部署出现这个问题?
Zend Optimizer not installed
This file was encoded by the Zend Encoder / Zend SafeGuard Suite
In order to run it, please install the freely available Zend Optimizer, version 2.1.0 or later.
What is the Zend Optimizer?
The Zend Optimizer is one of the most popular PHP plugins for performance-improvement, and has been freely available since the early days of PHP 4. It improves performance by taking PHP's intermediate code through multiple Optimization Passes, which replace inefficient code patterns with efficient code blocks. The replacement code blocks perform exactly the same operations as the original code, only faster.
In addition to performance-improvement, the Zend Optimizer also enables PHP to transparently load files encoded by the Zend Encoder or Zend SafeGuard Suite.
The Zend Optimizer is a freely-available product from Zend Technologies. Zend Technologies is the company that develops the scripting engine of PHP, also known as the Zend Engine.
nnnnnnnn
2011-10-1 14:22
大家别乱说了,张工也要挣钱。apmserv晚推出也没什么?必竟人家是义务的,有必要对某些人负责吗?
fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
fastcgi_buffer_size 64k;
fastcgi_buffers 4 64k;
fastcgi_busy_buffers_size 128k;
fastcgi_temp_file_write_size 128k;
gzip on;
gzip_min_length 1k;
gzip_buffers 4 16k;
#gzip_http_version 1.0;
gzip_comp_level 5;
gzip_types text/plain application/x-javascript text/css application/xml;
gzip_vary on;
gzip_http_version 1.1;
server {
listen 80;
server_name moodle.tf-swufe.net;
index index.html index.htm index.php;
root /coredata/htdocs/moodle;
#charset koi8-r;
rewrite ^/file.php/(.*)$ /file.php?file=/$1 last;
rewrite ^/user/pix.php(.*)$ /user/pix.php?file=/$1 last;
rewrite ^/blocks/graph.php/(.*)$ /blocks/graph.php?file=/$1 last;
# access_log logs/moodle.access.log main;
location ~ .*\.(php|php5)?$
{
#fastcgi_pass unix:/tmp/php-cgi.sock;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fcgi.conf;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
}
location ~ .*\.(js|css)?$
{
expires 1h;
}
log_format access '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" $http_x_forwarded_for';
access_log logs/moodle.access.log access;
location /nginx-status {
stub_status on;
access_log off;
}
}
}
---------------------------------
然后 在另一台机器上用 ab -n 50000 -c 500 http://moodle.tf-swufe.net/ 来压,服务器无所应,且top如图:
点击在新窗口中浏览此图片
http://moodle.tf-swufe.net/other/top.jpg
请教如何优化。。。,谢谢!
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
fastcgi_buffer_size 64k;
fastcgi_buffers 4 64k;
fastcgi_busy_buffers_size 128k;
fastcgi_temp_file_write_size 128k;
gzip on;
gzip_min_length 1k;
gzip_buffers 4 16k;
#gzip_http_version 1.0;
gzip_comp_level 5;
gzip_types text/plain application/x-javascript text/css application/xml;
gzip_vary on;
gzip_http_version 1.1;
server {
listen 80;
server_name moodle.tf-swufe.net;
index index.html index.htm index.php;
root /coredata/htdocs/moodle;
#charset koi8-r;
rewrite ^/file.php/(.*)$ /file.php?file=/$1 last;
rewrite ^/user/pix.php(.*)$ /user/pix.php?file=/$1 last;
rewrite ^/blocks/graph.php/(.*)$ /blocks/graph.php?file=/$1 last;
# access_log logs/moodle.access.log main;
location ~ .*\.(php|php5)?$
{
#fastcgi_pass unix:/tmp/php-cgi.sock;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fcgi.conf;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
}
location ~ .*\.(js|css)?$
{
expires 1h;
}
log_format access '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" $http_x_forwarded_for';
access_log logs/moodle.access.log access;
location /nginx-status {
stub_status on;
access_log off;
}
}
}
---------------------------------
然后 在另一台机器上用 ab -n 50000 -c 500 http://moodle.tf-swufe.net/ 来压,服务器无所应,且top如图:
点击在新窗口中浏览此图片
http://moodle.tf-swufe.net/other/top.jpg
请教如何优化。。。,谢谢!
张老师好:
按照你的NGINX配置文档,在ESX上搭建了WEB服务器,8核CPU 16G内存
----------------------------------
user www www;
worker_processes 15;
error_log logs/error.log crit;
#error_log logs/error.log notice;
#error_log logs/error.log info;
pid logs/nginx.pid;
worker_rlimit_nofile 65535;
events {
use epoll;
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';
#access_log logs/access.log main;
server_names_hash_bucket_size 128;
client_header_buffer_size 32k;
large_client_header_buffers 4 32k;
client_max_body_size 128m;
sendfile on;
tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
tcp_nodelay on;
按照你的NGINX配置文档,在ESX上搭建了WEB服务器,8核CPU 16G内存
----------------------------------
user www www;
worker_processes 15;
error_log logs/error.log crit;
#error_log logs/error.log notice;
#error_log logs/error.log info;
pid logs/nginx.pid;
worker_rlimit_nofile 65535;
events {
use epoll;
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';
#access_log logs/access.log main;
server_names_hash_bucket_size 128;
client_header_buffer_size 32k;
large_client_header_buffers 4 32k;
client_max_body_size 128m;
sendfile on;
tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
tcp_nodelay on;