我在CentOS 6.3四核心机器上运行一个小型的Facebook游戏 ,使用PostgreSQL 8.4.3 +几个PHP脚本(主要是select查询)+ 1个Perl守护进程,即使服务器工作正常,我build议我的用户将内存到32 GB,他们已经收集了钱。 现在我的问题是,我不知道,要旋转哪个旋钮,以及如何真正使用额外的内存来加速服务器。 以下是我在高峰时间(晚上)的最高输出 – 如您所见,不使用27 GB的RAM: # top – 18:47:55 up 23:12, 2 users, load average: 2.17, 2.31, 2.56 Tasks: 246 total, 2 running, 244 sleeping, 0 stopped, 0 zombie Cpu(s): 12.1%us, 0.2%sy, 0.0%ni, 87.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 32790380k total, 5296664k used, 27493716k free, 197132k buffers Swap: […]
可能重复: 托pipepublic_html文件夹的服务器上的硬盘已满。 该怎么办? 我有一个硬盘驱动器(1TB),其中有一个名为“flvideo2”的文件夹,我需要装入/ home / ivan / public_html / flvideo2 /因为我的home文件夹已满。 我的家庭文件夹是在不同的硬盘(2TB,全)… 这是可能的,我该怎么办? 服务器运行在64位centos6 / apache2 / php5上。
我不知道在这里做什么,因为我得到的总体错误types相同,因为我尝试在这个云片上安装oAuth。 我不知道该怎么做,但我会认为我需要更新或重新安装? yum? 或者恩..以下是我在下面列出的 我首先尝试运行pecl install Phar。 但是make出错 [root@pleasures ~]# pecl install Phar WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update WARNING: "pear/bz2" is deprecated in favor of "channel://http://php.net/bzip2/ext/bz2" Did not download optional dependencies: pecl/bz2, pecl/hash, use –alldeps to download automatically downloading phar-2.0.0.tgz … Starting to download phar-2.0.0.tgz (450,821 bytes) […]
最近一直在得到关于我们的邮件系统不可用的Zabbix警报,机器的正常运行时间为30天以上。 我一直在追踪Zabbix日志,看起来像Zabbix代理和服务器之间的通信没有及时响应,触发警报。 要知道这是否是networking问题等。我查看了/ var / log / messages并find以下条目: Nov 14 21:48:49 iw kernel: INFO: task zabbix_agentd:3316 blocked for more than 120 seconds. Nov 14 21:48:49 iw kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. Nov 14 21:48:49 iw kernel: zabbix_agentd D 0000000000000003 0 3316 3311 0x00000080 Nov 14 21:48:49 iw kernel: ffff880069075c50 0000000000000086 ffffffff817a8d69 ffff880069075c68 […]
目前,我正在使用Google Apps将发往我的域名balkan-preferans.de(176.9.40.169)的收件人的邮件转发到我的地址[email protected] – 这是通过我的主持人提供的以下DNS区域完成的: $TTL 86400 @ IN SOA ns1.first-ns.de. postmaster.robot.first-ns.de. ( 2012100402 ; serial 14400 ; refresh 1800 ; retry 604800 ; expire 86400 ) ; minimum @ IN NS robotns3.second-ns.com. @ IN NS robotns2.second-ns.de. @ IN NS ns1.first-ns.de. @ IN A 176.9.40.169 localhost IN A 127.0.0.1 www IN A 176.9.40.169 @ IN MX […]
我在CentOS 6.3上设置了一个squid代理服务器,一切正常。 最近我把CentOS升级到6.4,现在所有的squid用户密码都不能通过validation。 我使用基本的ncsa_authscheme,并且密码文件在CentOS 6.3, Fedora 18和squid for windows上正常工作 。 这是一个错误还是其他的东西? testing结果 [root@proxy ~]# /usr/lib64/squid/ncsa_auth /etc/squid/squid-htpassword-cm.txt glsx glsx ERR Wrong password ^C [root@proxy ~]# cat /etc/squid/squid-htpassword-cm.txt glsx:$apr1$VMNrr3BE$ljryzy0FyTLY3OU2Yhd/f/
我已经在狮身人面像上configuration了一切。 它在使用Putty的命令行界面中工作正常。 即使我能够在下面的命令行界面中进行search, [root@phpsalzer sphinx]# search -i gplay 'toy' Sphinx 2.0.4-id64-release (r3135) Copyright (c) 2001-2012, Andrew Aksyonoff Copyright (c) 2008-2012, Sphinx Technologies Inc (http://sphinxsearch.com) using config file '/etc/sphinx/sphinx.conf'… index 'gplay': query 'toy ': returned 1 matches of 1 total in 0.000 sec displaying matches: 1. document=2, weight=1883, app_id=com.disney.ToyStorySmashIt.goo, app_title=Toy Story: Smash It!, app_ratings=4.500000 words: 1. […]
从旧服务器迁移到在CentOS6.4上运行的WHM / cPanel后,ExpressionEngine2出现问题。 简单的testing代码来重现该问题: <?php $protocol = strpos(strtolower($_SERVER['SERVER_PROTOCOL']),'https') === FALSE ? 'http' : 'https'; $host = $_SERVER['HTTP_HOST']; include($protocol . '://' . $host . '/header.html'); ?> <p> Main text…</p> <?php include($protocol . '://' . $host . '/footer.html'); ?> 其中header.html的样子 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled […]
我有一个Centos 6服务器..我已经编译了Perl 5.16(在一个非标准的位置)。 现在,当我尝试安装一些依赖Perl使用yum的包。 百胜尝试再次安装Perl ..我如何告诉百胜使用安装的Perl .. FYI: # perl -v This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux-multi-ld Copyright 1987-2012, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source […]
我已经安装了全新的Centos服务器,并安装了bind和bind-utils。 /etc/named.conf的内容是: # create new options { directory "/var/named"; allow-query { localhost; 10.1.2.0/24; }; allow-transfer { localhost; 10.1.2.0/24; }; recursion yes; }; controls { inet 127.0.0.1 allow { localhost; } keys { rndckey; }; }; view "internal" { match-clients { localhost; 10.1.2.0/24; }; zone "." IN { type hint; file "named.ca"; }; zone "amadeus.netvision" IN […]