在linux中有一个命令(更具体地说是在CentOS 5上),它显示了在过去几秒钟内每个文件正在被读取多less字节/秒。 Windows 7中类似的工具是资源监视器,它可以显示每个文件的读取速度,这有助于诊断系统性能的下降。
我有这个规格的服务器中的Centos 6.2: 2xCPU 16 Core AMD Opteron 6282 SE 64GB RAM Raid controller H700 1GB cache NV – 2HD 74GB SAS 15Krpm RAID1 stripe 16k (OS Centos 6.2) sda – 4HD 146GB SAS 15Krpm RAID10 stripe 16k (ext4 bs 4096, no barriers) sdb -> /vol01 Raid controller H800 1GB cache nv – MD1200 12HD 300GB […]
我正在运行centos 6.2,其中一个接口有高丢包。 这是从ethtool的信息,这是一个networking问题? [root@w native]# ifconfig eth1 eth1 Link encap:Ethernet HWaddr 10:1F:74:2E:6A:80 UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1 RX packets:38459399 errors:0 dropped:38459399 overruns:0 frame:0 TX packets:3 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2334427918 (2.1 GiB) TX bytes:258 (258.0 b) [root@wye native]# ethtool eth1 Settings for eth1: Supported ports: [ TP ] Supported link […]
我在Redhat 6上打了一个configurationAlfresco 4.0.d的砖墙。 我正在使用Kerberos身份validation,它似乎正常工作,单点login正在主要露天应用程序本身。 我已经通过configuration步骤来获取共享应用程序的工作,但尝试尽我所能,每当浏览器访问http://server:8080/share和“Windows安全性”时,我一直在catalina.out中收到此错误'密码框。 WARN [site.servlet.KerberosSessionSetupPrivilegedAction] credentials can not be delegated! 以下是我迄今为止所做的: 使用AD用户和计算机,selectalfrescohttp帐户,并select'信任此用户委派任何服务(仅Kerberos)。 共享configuration,custom.xml 复制/opt/alfresco-4.0.d/tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml.sample到share-config-custom.xml并编辑如下: <config evaluator="string-compare" condition="Kerberos" replace="true"> <kerberos> <password>*****</password> <realm>MYDOMAIN.CO.UK</realm> <endpoint-spn>HTTP/[email protected]</endpoint-spn> <config-entry>ShareHTTP</config-entry> </kerberos> </config> <config evaluator="string-compare" condition="Remote"> <remote> <keystore> <path>alfresco/web-extension/alfresco-system.p12</path> <type>pkcs12</type> <password>alfresco-system</password> </keystore> <connector> <id>alfrescoCookie</id> <name>Alfresco Connector</name> <description>Connects to an Alfresco instance using cookie-based authentication</description> <class>org.springframework.extensions.webscripts.connector.AlfrescoConnector</class> </connector> <endpoint> <id>alfresco</id> <name>Alfresco – user […]
有一个相当复杂的应用程序比运行在两个虚拟机上(在Xen上)。 两台虚拟机都运行CentOS 6.2,每个运行的应用程序都有完全相同的包和configuration(减去不同的networking)。 两者都禁用SELinux。 在机器A上,应用程序完美地构build。 在机器B上运行一些testing时,我们得到: ruby [2010]陷阱无效操作码ip:7ff9d2944c30 sp:7fff9797e0f8错误:0在ld-2.12.so [7ff9d2930000 + 20000] 机器A挖掘更多一点,以找出机器的不同之处: 型号名称:六核AMD Opteron(tm)处理器2423 HE 和机器B: 型号名称:AMD Opteron(TM)处理器6272 我试过用grub中的cpuid_mask_cpu=fam_10_rev_c启动机器B,但是也没有帮助。 所以,如何处理这个问题,或者如何接近主机提供商以便在另一台物理机器上运行这个VM,我们将不胜感激。
我已经build立了巨大页面,但是我没有看到其中的任何一个保留。 我错过了一个步骤,或者由于某种原因,MySQL是无法利用Hugepages? 我还没有创build一个hugetlbfs挂载,虽然从我读的,MySQL不会以这种方式调用页面。 如果我错了,请让我知道,因为这将是一个微不足道的解决scheme。 几乎所有的MySQL表都使用InnoDB。 注意:我创build了一个hugetlbfs,没有按预期更改。 是否有可能重新启动将纠正这种情况? 我不想通过这个程序,因为这是高可用性,但是如果有必要的话可以这样做。 这是我认为相关的configuration。 /etc/sysctl.conf … ## Huge Pages vm.nr_hugepages = 4096 vm.hugetlb_shm_group = 27 ## SHM kernel.shmmax = 34359738368 kernel.shmall = 8589934592 … /etc/security/limits.conf … mysql soft nofile 12888 mysql hard nofile 51552 @mysql soft memlock unlimited @mysql hard memlock unlimited /etc/my.cnf [mysqld] large-pages … grep Huge /proc/meminfo HugePages_Total: […]
CentOS 5.x 我的CenTOS服务器上的用户帐户已经无法访问,我不知道为什么。 如果我运行chage -l foo我会看到: Minimum: 0 Maximum: 0 Warning: 5 Inactive -1 Last Change: July 17, 2012 Password Expires: Never Password Inactive: Never Account Expires: Never 我不确定-1是什么意思,但据我所知,其他设置,系统不应该过期或自动locking。 假设是这样的话,我还能在哪里寻找解决这个问题的方法? 此外,如果帐户自动lockingvspipe理禁用,只是有一个更改的密码,症状是否会显示相同? 更新:我检查了/ var / log / secure,我看到: Aug 9 07:11:14 foo sshd(pam_unix)[15122]: account foo has expired (failed to change password) Aug 10 19:12:33 foo sshd(pam_unix)[900]: […]
我试图build立一个共同定位的系统。 我试图安装CentOS 6.3时遇到了问题 系统规格: 主板:华硕m5a99x处理器:AMD FX-8120(8核推土机)内存:2x 4GB G-Skill 2133以1600 我一直给我一个错误消息: CPU1: Not Responding. CPU2: Not Responding. CPU3: Not Responding. CPU4: Not Responding. CPU5: Not Responding. CPU6: Not Responding. 然后它立即重新启动。 我已经尝试从USB,多个DVD,多个发行版安装它。 我也在BIOS试图禁用核心。 我能够禁用2/3 4/5 6/7。 我也确保了零超频。 该系统在Windows环境中工作正常。 我没有想法。
我在CentOS服务器上安装了VSFTP守护进程,使用RSA证书使用显式TLSlogin。 现在,我不能上传超过82K。 有了这个限制的文件,没有问题。 FTP就像一个魅力。 但是,一旦文件达到82k与FileZilla(准确的81,952字节),传输将停止,FTP客户端挂起,直到超时。 FTP客户端控制台: 15:10:21 Command: STOR jquery-1.7.2.min.js 15:10:21 Response: 150 Ok to send data. 15:11:21 Error: Connection timed out 15:11:21 Error: File transfer failed after transferring 82 KB in 60 seconds /var/log/vsftpd.log FTP command: Client "xxxx", "STOR jquery-1.7.2.min.js" FTP response: Client "xxxx", "150 Ok to send data." OK UPLOAD: Client "xxxx", "jquery-1.7.2.min.js", […]
我在服务器上修复了许多在Nagios上显示错误的问题,但由于某些原因,即使问题得到解决,警报仍然存在。 所以我想知道,有没有办法强制检查所有主机?