weblogic和apache桥接之后,访问量大的时候,遇到了weblogic报下面的错误: ####<2006-5-30 ÏÂÎç12ʱ38·Ö19Ãë CST> < > ####<2006-5-30 ÏÂÎç12ʱ38·Ö19Ãë CST> < > ####<2006-5-30 ÏÂÎç12ʱ38·Ö20Ãë CST> < > ####<2006-5-30 ÏÂÎç12ʱ38·Ö20Ãë CST> < > weblogic产生这个错误以后,就会拒绝服务,这时通过IE已经访问不了了。所以接下来就会出现apache报下面的错误: [Tue May 30 13:00:57 2006] [error] CONNECTION_REFUSED [os error=0, line 1600 of ../nsapi/URL.cpp]: 218.206.70.193:7001 errno= 0
显示httpd进程的pid #ps -C httpd -o pid= 杀死所有httpd进程 #for pid in $(ps -C httpd -o pid=);do kill -9 $pid;done
http://e-docs.bea.com/wls/docs81/perform/HWTuning.html http://www.bea.com.cn/support_pattern/Too_Many_Open_Files_Pattern.html Linux Tuning Parameters For Linux operating systems, the following settings are recommended for optimal performance. Table 2-5 Suggested Linux Values Parameter Suggested Value /sbin/ifconfig lo mtu 1500 kernel.msgmni 1024 kernel.sem 1000 32000 32 512 fs.file-max 65535 kernel.shmmax 2147483648 net.ipv4.tcp_max_syn_backlog 8192
split命令的使用格式如下: $split –help Usage: split [OPTION] [INPUT [PREFIX]] Output fixed-size pieces of INPUT to PREFIXaa, PREFIXab, …; default PREFIX is `x’. With no INPUT, or when INPUT is -, read standard input. Mandatory arguments to long options are mandatory for short options too. -a, –suffix-length=N use suffixes of length N (default 2) [...]
Using Web Server Plug-Ins with WebLogic Server http://edocs.bea.com/wls/docs90/plugins/apache.html
http://edocs.bea.com/wls/docs81/plugins/apache.html#113649 主要是调整weblogic的AcceptBackLog参数。
★ 需求 服务器运行了weblogic和apache,可是有时weblogic进程会莫名crash,业务都在这上面,所以需要能监控程序的运行。我在服务器端写了一个脚本,使用curl检测这两个服务的状态,返回一个数字来确定是哪个服务down了,然后远程通过cacti采集数据画图。
# ls -al xx -rwxr-xr-x 1 root root 2647 Dec 8 16:47 xx # stat -c %a startWebLogic.sh 755 # mv xx xx.ss mv: cannot move `xx’ to `xx.ss’: Operation not permitted 这是怎么回事呢?上bbs问了一下才知道。 # lsattr xx —-i——– xx 只需要执行如下命令即可 #chattr -i xx
0 准备工作 1) 一个全新安装的debian sarge。1台或者多台Win 2k/xp测试电脑。 2) 至少懂一些LDAP和Samba。 3) 假设服务器的域名是abc.com,服务器的名称为test-server。 1 安装web服务器 # apt-get install apache2 php4 libapache2-mod-php4 等待安装完毕之后,用浏览器连接服务器的域名或者ip试试看。能显示web页就说明apache2没问题了。apache2的web的根目录在/var/www,配置文件在/etc/apache2。 此后需要验证php4是否安装妥当。在/var/www目录新建一个index.php文件,内容如下。 <? phpinfo(); ?> 保存之后,再次连接服务器的 http://abc.com/index.php ,会看到一个php信息的网页,表示php安装成功。
apache和weblogic做桥接之后,启动的时候要先启动weblogic,后启动apache,停止的时候要先停止apache,后停止weblogic,这