html tool

显示标签为“[?]”的博文。显示所有博文
显示标签为“[?]”的博文。显示所有博文

2017年8月18日星期五

ibm x3650M3 安装 ubuntu-14.04.5-server-amd64 的boot分区格式问题

工作原因,对ibm x3650M3 安装 ubuntu-14.04.5-server-amd64
时遇到一个奇怪问题 的boot分区格式问题
安装系统时,手动分区指定/boot 挂载到ext4 的分区,安装过程都是正常的,但重启系统三次都找不到系统入口??
后来使用镜像的默认磁盘划分方法安装后就可以进入查了一下,如下
查了官方文档没有提到这个问题,只是给出的系统列表中倒是没有提可以支持ubuntu-14.04.5-server-amd64 ,之前这个机子安装系统是在lvm上的,看来这里的坑还是不小的。
记录一下吧!

其他Dell的机子倒是没发现有这个问题,如下:
另外一个是centos的,如下:

2017年7月17日星期一

Could not open output pipe '/dev/xconsole'



http://kb.monitorware.com/kbeventdb-detail-id-6904.html

In Ubuntu 12.04.3 LTS, Precise Pangolin, you may get the following error in syslog:

Dec 10 09:17:37 dl6-c4331 rsyslogd-2039: Could not open output pipe '/dev/xconsole' [try http://www.rsyslog.com/e/2039 ]

The package rsyslog-5.8.6-1ubuntu8.6.deb expects /dev/xconsole to be installed, but 'apt-file search /dev/xconsole' found no packages that provide it.

Comment it out near the end of /etc/rsyslog.d/50-default.conf :

# daemon.*;mail.*;\
# news.err;\
# *.=debug;*.=info;\
# *.=notice;*.=warn |/dev/xconsole

You can restart rsyslog with 'sudo service rsyslog restart' to confirm the error is gone.

2017年7月16日星期日

rsyslogd HUPed repeatedly

https://unix.stackexchange.com/questions/245316/rsyslogd-huped-repeatedly


5down voteaccepted
There's nothing to fix. This is normal operation. When the logfile is rotated by logrotate, it tells rsyslog to close and re-open its logfile file handles by sending it a HUP signal.
If rsyslog doesn't do that, then it will continue to write its log output to the OLD logfiles, not to the new ones because the file handles will still connect to the old files.
This is true even if the old files are deleted (because, on unix, a file isn't truly deleted until the last file handle holding it open is closed)....which is why files don't always release the space they are using up back to the filesystem immediately if some process has an open file handle to them.

How to fix “EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro”



https://askubuntu.com/questions/563668/how-to-fix-ext4-fs-sda1-re-mounted-opts-errors-remount-ro


15down voteaccepted
It's not an error, it just tells you that the partition /dev/sda1 has been remounted with the mount option errors=remount-ro. It's nothing you need to worry about. It may happen e.g. during a normal system startup if /dev/sda1 is your root partition.
The mount option means that the system should mount the partition read-only if an error occurs to minimize further damage or data loss and is used by default.

2014年10月29日星期三

关于“Memory Page Out rate” 过高的问题,奇怪中...

问题描述:
WEBIM负载测试时,一个很奇怪的问题,集合点下Memory Page Out rate值飙的很高并伴随有IO的很高使用,下图:
但此机子的内存free值并不吃紧,很奇怪,google了一下 ,多说是和内存吃紧的相关[1]
好奇怪啊,

[add: http://stackoverflow.com/questions/445698/what-is-memory-page-out-rate]
"Page Out Rate (KB per Second) *The number of kilobytes that the virtual memory manager pages out per second averaged over the previous 30-second interval. Note: the value -1 indicates Not Available, -2 indicates Not Collected, 2147483648 indicates Value_Exceeds_Minimum, and -2147483647 indicates Value_Exceeds_Maximum.*"
"
-------------------------------------------------------
参考[1]eg:
add:http://www.itpub.net/forum.php?mod=viewthread&action=printable&tid=854557
“少量的pagein,pageout是正常的。
如果出现大量的pagein和pageout,你可以再观察一下free列,是否已经到了一个临界的最小值,如果是,那肯定就是物理内存的使用不足了。”

add:http://study.qqcf.com/web/90/11714.htm
很高的换页率(high pageout rate):HP-UX是一个按需调页的操作系统,通常情况下,它只执行调入页面进入内存的操作,以让进程能够运行。只有操作系统觉得系统需要释放一些内存空间时,才会执行从内存调出页面的操作,而过高的调出页面操作说明内存缺乏; 
进程进入不活动状态(process deactivation activity):当自由的内存页面数量小于MINFREE时,很多进程将强制进入不活动状态,因为,any deactivation activity represents a condition in which normal paging is inadequate to handle the memory demands. 
自由内存的数量很小,但活动的虚拟内存却很大(very small free memory and large active virtual memory) 
交换区所有磁盘的活动次数可高(high disk activity on swap devices) 
可高的全局系统CPU利用率(high global system CPU utilization): 
很长的运行进程队列,但CPU的空闲时间却很多(large run queue with idle CPU) 
内存不够出错(out of memory errors) 
CPU用于vhand和swapper两中守护进程的时间(CPU time to vhand and swapper) 
必须注意的是,有时候我们发现CPU很忙,这似乎是CPU资源成为系统性能的瓶颈,但如果进一步分析,发现vhand和swapper守护进程占用了大量的系统CPU时间,很显然,这时系统性能瓶颈真正所在可能是内存。 

2014年10月9日星期四

selenium ffor python [?] list

list:

[selenium 最大化窗口问题]
好奇怪上次也是登录是登录页面,这次是商品的添加的登录,不最大化窗口看不到点击效果why,可以用了倒是但原因是什么啊?

[?]打开new one

#[selenium ]click点击开新的窗口后,diver没有切换窗口内容,如何切换呢?