
'프로그래밍/WEB'에 해당되는 글 4건
- 2011.03.23
- 2010.12.28
- 2010.12.28
- 2010.12.28
1) 한 페이지내 여러개의 data table 사용시.
========================== 전역으로 datatable 객체 생성 ===============
var objTable = "";
$(document).ready(function() {
objTable = $(type).dataTable( {
"sScrollY": "200px",
"bPaginate": false
,"sDom": 'frt<"clear">'
} );
} );
========================================= other function ================
function sendHandler(id){
objTable.fnClearTable();
selTab(document.forms[0].tab_id.value,'init');
$.ajax({
url: '<%=Param.get("servlet.path")%>/WatchDogDashBoard.do?method=monitor_status&act='+document.forms[0].act.value,
dataType : 'xml',
success : whenSucess,
error: whenError
});
}
function whenSucess(xml){
if ( $(xml).find("data").find("result").length >0) {
$(xml).find("data").find("result").each(
function(idx){
var data1 = $(this).find("data1").text()
var data2 = $(this).find("data2").text()
var data3 = $(this).find("data3").text()
check_status(data1,data2,data3);
}
);
}
}
function check_status( data1,data2,data3 ){
var act = document.forms[0].act.value;
if(act != ""){
objTable.fnAddData([data1,data2,data3]); //dataTable add row
}
}
html onLoad 시 onLoad="sendHandler();setInterval(sendHandler,50000);"> .
apache Virtual host 세팅 (0) | 2010.12.28 |
---|---|
apache mutex 에러 (0) | 2010.12.28 |
페이지 로딩속도 단축 (0) | 2010.12.28 |
jQuery & ajax 통신 (0) | 2011.03.23 |
---|---|
apache mutex 에러 (0) | 2010.12.28 |
페이지 로딩속도 단축 (0) | 2010.12.28 |
[Fri Mar 16 10:42:59 2007] [emerg] (13)Permission denied: couldn't grab the accept mutex [Fri Mar 16 10:42:59 2007] [emerg] (13)Permission denied: couldn't grab the accept mutex [Fri Mar 16 10:42:59 2007] [emerg] (13)Permission denied: couldn't grab the accept mutex [Fri Mar 16 10:42:59 2007] [emerg] (13)Permission denied: couldn't grab the accept mutex |
AcceptMutex flock LockFile /usr/local/Apache2/logs/httpd.lock |
http://httpd.apache.org/docs/2.0/en/misc/perf-tuning.html |
This method uses the flock(2) system call to lock a lock file (located by the LockFile directive). |
This method uses the fcntl(2) system call to lock a lock file (located by the LockFile directive). |
AcceptMutex sysvsem AcceptMutex pthread AcceptMutex posixsem |
http://httpd.apache.org/docs/2.0/en/mod/mod_ssl.html |
# SSLMutex 로 설정 합니다. SSLMutex file:/usr/local/apache/logs/ssl_mutex |
SSLMutex file:/usr/local/apache/logs/ssl_mutex |
Wed Aug 25 18:20:50 2010] [notice] Apache/2.0.58 (Unix) configured -- resuming normal operations
[Wed Aug 25 18:21:54 2010] [emerg] (28)No space left on device: couldn't grab the accept mutex
[Wed Aug 25 18:21:55 2010] [alert] Child 9597 returned a Fatal error... Apache is exiting!
[Wed Aug 25 18:21:55 2010] [emerg] (28)No space left on device: couldn't grab the accept mutex
[Wed Aug 25 18:21:55 2010] [emerg] (36)Identifier removed: couldn't grab the accept mutex
[Wed Aug 25 18:21:55 2010] [emerg] (36)Identifier removed: couldn't grab the accept mutex
[Wed Aug 25 18:21:55 2010] [emerg] (36)Identifier removed: couldn't grab the accept mutex
위와 같은 오류 사항이 발생하며
조치사항으로 httpd.conf 에
AcceptMutex fcntl을 추가.
jQuery & ajax 통신 (0) | 2011.03.23 |
---|---|
apache Virtual host 세팅 (0) | 2010.12.28 |
페이지 로딩속도 단축 (0) | 2010.12.28 |
jQuery & ajax 통신 (0) | 2011.03.23 |
---|---|
apache Virtual host 세팅 (0) | 2010.12.28 |
apache mutex 에러 (0) | 2010.12.28 |