蝸牛的JAVA外殼┎Running Snail┒ ┖ -------------- ┚ |
2007年12月5日 #
摘要: 我寫了一個(gè)Feed提取小程序,但有時(shí)由于Feed長時(shí)間無響應(yīng),所以需要去判斷是否超時(shí),以下的程序
主線程:
1package test.thread;
2
3import com.sun.syndication.feed.synd.SyndFeed;
4
5public class ... 閱讀全文
由于現(xiàn)在跟其他站點(diǎn)合作,遇到跨域問題,在JQuery中的$.get有一個(gè)彩蛋可以使用
服務(wù)器A(192.168.0.102):test.jsp 1
![]() 2 ![]() 3 ![]() 4 ![]() 服務(wù)器B(192.168.0.101):test.htm 1
![]() 2 ![]() 3 ![]() 4 ![]() 5 ![]() 6 ![]() 7 ![]() 8 ![]() 9 ![]() 10 ![]() 11 ![]() 12 ![]() 13 ![]() 14 ![]() 15 ![]() 16 ![]() 17 ![]() 18 ![]() 19 ![]() 20 ![]() 21 ![]() 22 ![]() 今天發(fā)現(xiàn)執(zhí)行mysql的 REPLACE INTO 的時(shí)候mysql返回 #1114 - The table ‘xxxx’ is full 得知是由于內(nèi)存表的大小超過了規(guī)定的范圍,于是搜索解決方法, 找到 $bindir/mysqld_safe --datadir=$datadir --pid-file=$pid_file >/dev/null 2>&1 & 修改為 $bindir/mysqld_safe --datadir=$datadir --pid-file=$pid_file -O tmp_table_size=64M -O max_heap_table_size=32M >/dev/null 2>&1 & 重啟mysql [root@localhost etc]# /usr/bin/mysqladmin -u root -p shutdown Enter password: [root@localhost etc]# /etc/init.d/mysql start [root@localhost etc]# mysql 查看是否己修改 mysql> show variables like '%max_heap_table_size%'; mysql> show variables like '%tmp_table_size%'; 注意:修改參數(shù)值是按照M單位來計(jì)算的。。。 |