Background Image

FORUM

조회 수 12075 추천 수 0 댓글 3
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

java stored procedure를 사용하기 위해서 cubrid.conf화일에 java_stored_procedure=yes를 추가하고 server를 제구동하면 다음과 같은 에러가 발생하고 server가 정상적으로 구동이 되지 않네요. 

------------------------------------------------------------------------------

@ cubrid server start: HCDB


This may take a long time depending on the amount of recovery works to do.


CUBRID 2008 R4.0


Cannot create enough threads for 'max_clients=100'.

++ cubrid server start: fail

------------------------------------------------------------------------------
위의 설정을 막고 다시 구동하면 정상적으로 구동이 됩니다.

------------------------------------------------------------------------------
@ cubrid server start: HCDB

This may take a long time depending on the amount of recovery works to do.

CUBRID 2008 R4.0

++ cubrid server start: success
------------------------------------------------------------------------------

확인 부탁합니다.

  • ?
    정만영 2012.02.24 19:44

    안녕하세요.

    큐브리드를 설치한 유저 로그인 후 아래와 같이 환경정보를 확인해 주세요.

    1, 큐브리드 설치 bit

    $> cubrid_rel

    CUBRID 2008 R4.0 (8.4.0.2027) (32bit release build for linux_gnu)

    2, 큐브리드 cubrid.conf 환경정보

    $>vi $CUBRID/conf/cubrid.conf

    data_buffer_pages=25000

    3, ulimit 정보

    전체 내용..

  • ?
    gtpark 2012.02.24 21:24

    * cubrid_rel

    CUBRID 2008 R4.0 (8.4.0.2027) (32bit release build for linux_gnu) (Oct 25 2011 16:12:21)

    * cubrid.conf
    data_buffer_size=512M

    # Size of log buffer are using K, M, G, T unit
    log_buffer_size=4M

    # Size of sort buffer are using K, M, G, T unit
    # The sort buffer should be allocated per thread.
    # So, the max size of the sort buffer is sort_buffer_size * max_clients.
    sort_buffer_size=2M

    # The maximum number of concurrent client connections the server will accept.
    # This value also means the total # of concurrent transactions.
    max_clients=100

    # TCP port id for the CUBRID programs (used by all clients).
    cubrid_port_id=1523

    # The createdb and addvoldb create a volume file of 'db_volume_size' size
    # if don't have any options about size.
    db_volume_size=512M

    # The createdb creates a log volume file of 'log_volume_size' size
    # if don't have any options about size.
    log_volume_size=512M

    java_stored_procedure=yes

    * ulimit -a
    core file size          (blocks, -c) 0
    data seg size           (kbytes, -d) unlimited
    scheduling priority             (-e) 0
    file size               (blocks, -f) unlimited
    pending signals                 (-i) 31290
    max locked memory       (kbytes, -l) 64
    max memory size         (kbytes, -m) unlimited
    open files                      (-n) 1024
    pipe size            (512 bytes, -p) 8
    POSIX message queues     (bytes, -q) 819200
    real-time priority              (-r) 0
    stack size              (kbytes, -s) 10240
    cpu time               (seconds, -t) unlimited
    max user processes              (-u) 1024
    virtual memory          (kbytes, -v) unlimited
    file locks                      (-x) unlimited


    이상이 요청하신 정보입니다.

  • ?
    seongjoon 2012.02.25 02:50

    안녕하세요. 질문하신 내용에 대해 답변 드립니다.

    내부에서 테스트를 해본 결과 32bit에서는 메모리 사용의 한계에 따라 위와 같은 문제가 발생할 수 있습니다.

    CUBRID 버젼을 32bit가 아닌 64bit버젼을 사용하시거나, ulimit -s 5120과 같이 stack size를 줄이시면 될 것 같습니다. 

    아니면 max_clients의 값을 줄이는 방법을 통해 해당 문제를 해결하실 수 있습니다.


List of Articles
번호 제목 글쓴이 날짜 조회 수
공지 CUBRID 사용자를 위한 DBeaver 도구 출시 안내 admin 2024.04.23 61
공지 SQLGate for CUBRID 영구 무료 라이선스 제공 file admin 2020.04.09 4464
777 cubrid 없이 php ext 설치를 원합니다. 2 송효진 2009.04.04 11931
776 큐브리드와 php 연동을 할려는데 문제가?? 2 흑심품은연필 2009.07.01 11935
775 트랜잭션 교착상태 1 초보 2010.04.14 11936
774 Cannot make connection to master server.... Bad file descriptor T.T 4 노스 2010.11.05 11937
773 [초보질문] 큐브리드 매니저에서 데이타베이스 종료시 에러 1 삽질중 2009.05.16 11940
772 큐브리드 매니저에서 UTF-8을 사용하여 데이터 입력시 글짜 깨짐 현상 1 file 이성찬 2015.06.02 11948
771 이미지사진파일 업로드 방법 1 우주와나 2011.10.10 11964
770 OLEDB 에서의 DATE_FORMAT 함수 문의 4 유니콘 2010.08.16 11964
769 Manager 접속오류 3 단순미학 2009.09.09 11973
768 MS-SQL 2008 -> CUBRID로 마이그레이션 방법.. 2 kings 2012.06.12 11978
767 archive log 삭제 관해서 3 알칸펠 2013.11.08 11978
766 lock_timeout_in_secs 값이 적용이 안됩니다. 1 태율아빠용 2013.07.30 12001
765 오류(연결을 얻을수 없습니다.) 1 맑고푸른하늘 2011.03.25 12002
764 checkdb(데이터베이스검사) 관련 질문드립니다... 2 반짝이 2012.01.10 12003
763 IIS 7.5 x64 / PHP 5.3 x64 / Cubrid R4.0 x64... 1 platanus 2011.06.23 12008
762 큐브리드 매니저 9.3.6.0006 - INSERT/UPDATE 문 생성 시, NULL 오타 2 file 차오이 2017.02.03 12010
761 무슨 오류인가요? 1 초보 2010.04.06 12015
760 primary key의 인덱스에 관한 질문 1 카르마 2010.10.27 12020
759 sql 구분 오류좀 봐주세요 1 므네모시네 2013.08.19 12023
758 컴포지션 관련해서 문의 드립니다. 3 file 野花 2010.02.12 12033
Board Pagination Prev 1 ... 157 158 159 160 161 162 163 164 165 166 ... 200 Next
/ 200

Contact Cubrid

대표전화 070-4077-2110 / 기술문의 070-4077-2113 / 영업문의 070-4077-2112 / Email. contact_at_cubrid.com
Contact Sales