Ä¿ÇǴнº, ½Ã½ºÅÛ ¿£Áö´Ï¾îÀÇ ½°ÅÍ Ä¿ÇÇÇâÀÌ ³ª´Â *NIX
Ä¿ÇǴнº
½Ã½ºÅÛ/³×Æ®¿÷/º¸¾ÈÀ» ´Ù·ç´Â °÷
* HanIRCÀÇ #coffeenix ¹æ
[ Àåºñ ¹× ȸ¼± ÈÄ¿ø ]
HOME > µ¥ÀÌÅͺ£À̽º(database) > PostgreSQL µµ¿ò¸»
°Ë»ö : »çÀÌÆ® WHOIS À¥¼­¹ö Á¾·ù


  PostgreSQL¿¡¼­ semaphore ¿¡·¯¹ß»ý½Ã ÀÛ¼ºÀÏ : 2006/06/27 16:18
 
  • ±Û¾´ÀÌ : ÁÁÀºÁøÈ£ ( http://coffeenix.net/ )
  • Á¶È¸¼ö : 9070
          [ ÀÌÀüÈ­¸é / ¼öÁ¤ ]   ºñ¹Ð¹øÈ£ :     Àμâ¿ë È­¸é
      Á¦  ¸ñ : PostgreSQL¿¡¼­ semaphore ¿¡·¯¹ß»ý½Ã
    ÀÛ¼ºÀÚ : ÁÁÀºÁøÈ£(truefeel, http://coffeenix.net/ )
    ÀÛ¼ºÀÏ : 2006.4.28(±Ý)

    FreeBSD¿¡¼­ PostgreSQL ¼³Ä¡ÈÄ¿¡ initdb ½ÇÇàÇÒ ¶§, ´ÙÀ½°ú °°Àº ¿¡·¯°¡ ¹ß»ýÇÑ´Ù¸é Ä¿³Î ÆĶó¹ÌÅÍ¿¡¼­
    semaphore ¼³Á¤°ªÀ» ´Ã·ÁÁÖ¸é ÇØ°áÀÌ °¡´ÉÇÏ´Ù.

     
    creating configuration files ... ok
    creating template1 database in /usr/local/pgsql/data/base/1 ...
    FATAL: could not create semaphores: No space left on device
    DETAIL: Failed system call was semget(1, 17, 03600).
    HINT: This error does *not* mean that you have run out of disk space.
    It occurs when either the system limit for the maximum number of semaphore sets (SEMMNI), or the system wide maximum number of semaphores (SEMMNS), would be exceeded. You need to raise the respective kernel parameter. Alternatively, reduce PostgreSQL's consumption of semaphores by reducing its max_connections parameter (currently 10).
    The PostgreSQL documentation contains more information about configuring your system for PostgreSQL.
    child process exited with exit code 1
    initdb: removing data directory "/usr/local/pgsql/data"
     


    ¸ÕÀú semaphore Á¤º¸¸¦ »ìÆ캸ÀÚ.

     
    # ipcs -S
    seminfo:
            semmap:           30    (# of entries in semaphore map)
            semmni:           10    (# of semaphore identifiers)
            semmns:           60    (# of semaphores in system)
            semmnu:           30    (# of undo structures in system)
            semmsl:           60    (max # of semaphores per id)
            semopm:          100    (max # of operations per semop call)
            semume:           10    (max # of undo entries per process)
            semusz:           92    (size in bytes of undo structure)
            semvmx:        32767    (semaphore maximum value)
            semaem:        16384    (adjust on exit max value)
     


    ÀÌ °ªÀ» º¯°æÇÏ·Á¸é ¾î¶»°Ô ÇؾßÇÒ±î? sysctl read-only °ªÀ̾, sysctl ¸í·ÉÀ¸·Î´Â ÀÌµé ¼³Á¤ °ªÀ»
    È®ÀÎÇÒ ¼ö´Â ÀÖÀ¸³ª ¼öÁ¤Àº ÇÒ ¼ö ¾ø´Ù. /boot/loader.conf ¿¡ ´ÙÀ½À» Ãß°¡ÇØÁÖ°í ¸®ºÎÆÃÇØÁà¾ß ÇÑ´Ù.
    semmni = 10, semmns = 60Àε¥ À̸¦ ¾à 2¹è Á¤µµ·Î¸¸ ¿Ã·Áº» °æ¿ìÀÌ´Ù.

     
    kern.ipc.semmni="20"
    kern.ipc.semmns="120"
     



    * Âü°íÀÚ·á
      FreeBSD Handbook Chapter 11 Configuration and Tuning
      http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-sysctl.html

      Ä¿ÇǴнº Ä«Æä ÃÖ±Ù ±Û
    [04/19] Á¦ÁÖ&#5
    [04/18] ??? ?????
    [04/17] ???? onion ?????? -
    [04/11] ±¹°¡&#5
    [04/10] Stride Into Dream:
    [03/20] Re: ¿Â¶óÀΰÔÀÓÀÇ Á¾ÁÖ±¹ ´ëÇѹα¹
    [10/20] Cross Compiler ±ò
    [07/14] SSL ¬¡¬°
    [04/26] Re: µµ½ºÈ­¸é ¿ø°ÝÁ¶Á¾ ¿©ºÎ
    [04/25] µµ½ºÈ­¸é ¿ø°ÝÁ¶Á¾ ¿©ºÎ
    [10/30] Cshell¿¡¼­ ³­¼ö ¼³Á¤
    [10/23] °øÇ×öµµÁÖ½Äȸ»ç SE ±¸ÀÎ Ëì
    [01/26] Re: wgetÀ¸·Î ´Ù¸¥¼­¹ö¿¡ÀÖ´Â µð·ºÅ丮¸¦ °¡Á®¿À·Á°íÇÕ´Ï´Ù.
    [01/25] wgetÀ¸·Î ´Ù¸¥¼­¹ö¿¡ÀÖ´Â µð·ºÅ丮¸¦ °¡Á®¿À·Á°íÇÕ´Ï´Ù.
    [01/11] ƯÁ¤ ¾Èµå·ÎÀ̵å WebView ¹öÀü¿¡¼­ SSL ¹®Á¦ (WebView ¹ö±×)
      New!   ÃÖ±Ù¿¡ µî·ÏÇÑ ÆäÀÌÁö
      KiCad EDA Suite project (Free/Libre/Open-Source EDA Suite) (CAD)
      ¿ÀÇÂij½ºÄÉÀ̵å ijµå (OpenCASCADE CAD)
      QCad for Windows --- GNU GPL (Free Software)
      The Hello World Collection
      IPMI¸¦ È°¿ëÇÑ ¸®´ª½º ¼­¹ö°ü¸®
      DNS ¼³Á¤ °Ë»ç
      nagiosgraph ¼³Ä¡ ¹æ¹ý
      Slony-I ¼³Ä¡ ¹æ¹ý (postgresql replication tool)
      Qmail±â¹ÝÀÇ Anti spam ½Ã½ºÅÛ ±¸ÃàÇϱâ
      clusterssh

    [ ÇÔ²²ÇÏ´Â »çÀÌÆ® ]




    ¿î¿µÁø : ÁÁÀºÁøÈ£(truefeel), ¾ß¼ö(yasu), ¹ü³ÃÀÌ, sCag
    2003³â 8¿ù 4ÀÏ~