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
번호 제목 글쓴이 날짜 조회 수
공지 SQLGate for CUBRID 영구 무료 라이선스 제공 file admin 2020.04.09 4443
3987 cubrid count 속 2 kanin 2024.04.19 10
3986 cubrid 10.1 데이터 덮어쓰기 질문입니다. 1 ysk96 2024.04.18 17
3985 ACTION 명령어? 예약어? 1 투투투투기기 2024.04.17 16
3984 sql 구문 사용시 데이터 타입 decimal일 경우 1 투투투투기기 2024.04.11 26
3983 Regexp_count 4 SEO 2024.04.09 56
3982 큐브리드 메모리 오류 관련 질문 2 file 뚜벅뚜벅 2024.04.09 57
3981 큐브리드 실행이 안되는 이슈 1 file 최현욱 2024.04.09 36
3980 unloaddb & loaddb 관련 질문이 있습니다. 1 543534512 2024.04.06 43
3979 mac m1 다운로드 오류 1 file 혜주냉면 2024.04.05 40
3978 list 함수로 만든 sequence type을 varchar로 변환 문의 1 플레이어블 2024.04.04 35
3977 DECODE, CASE WHEN 사용법 문의 2 핑크팬더 2024.04.03 53
3976 schema 파일 loaddb - 스키마 정보 중복오류 문의 4 daay 2024.03.21 88
3975 object to string 4 네오랜덤 2024.03.20 67
3974 mysql로 DB연동 문의 2 연동테스트용 2024.03.20 68
3973 특정DB만 접근 시간이 현저하게 오래 걸리는 문제 1 file 그로구 2024.03.20 58
3972 jdbc 연동시의 charset 강제 변경 방법 1 file gwak 2024.03.14 56
3971 도커로 HA환경 구성 테스트중 hb start.. 1 wodud0170 2024.03.12 62
3970 이중화 관련 문의드립니다. 1 adqwdqwd123412 2024.03.12 66
3969 큐브리드 마스터 복제 관련 문의 드립니다. 2 이지혜 2024.03.11 60
3968 큐브리드 다운로드 에러 1 file 나래아빠 2024.03.08 84
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 200 Next
/ 200

Contact Cubrid

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