ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Sphinx install

    Scheduled Pinned Locked Moved IT Discussion
    linux
    14 Posts 3 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AmbarishrhA
      Ambarishrh
      last edited by Ambarishrh

      Yeah, I just learnt about this today, when the request came from the dev team. Its an open source full text search server which is used for fast indexing and searching the db
      http://sphinxsearch.com/about/sphinx/

      1 Reply Last reply Reply Quote 0
      • AmbarishrhA
        Ambarishrh
        last edited by

        @scottalanmiller Apart from the fact that this is a new piece of software, would you be able to help me to get this virtual memory issue fixed please?

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller
          last edited by

          What is the output of free -m

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            What OS and version are you on?

            1 Reply Last reply Reply Quote 0
            • AmbarishrhA
              Ambarishrh
              last edited by

              free -m output
              free -m
              total used free shared buffers cached
              Mem: 12288 10790 1497 0 1773 6903
              -/+ buffers/cache: 2113 10174
              Swap: 10207 0 10207

              Server is CentOS release 5.11.

              Seems like the issue is the user account doesnt have enough memory allocation allowed.
              ulimit -a
              core file size (blocks, -c) 200000
              data seg size (kbytes, -d) 200000
              scheduling priority (-e) 0
              file size (blocks, -f) unlimited
              pending signals (-i) 98304
              max locked memory (kbytes, -l) 32
              max memory size (kbytes, -m) 200000
              open files (-n) 100
              pipe size (512 bytes, -p) 8
              POSIX message queues (bytes, -q) 819200
              real-time priority (-r) 0
              stack size (kbytes, -s) 8192
              cpu time (seconds, -t) unlimited
              max user processes (-u) 35
              virtual memory (kbytes, -v) unlimited
              file locks (-x) unlimited

              I am trying to find an option to increase this just for this user in cpanel. Also found that the Shell fork bomb protection could also be the reason for this issue. Still working on it

              1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller
                last edited by

                http://www.scottalanmiller.com/linux/2013/03/09/user-process-limits-preventing-fork-bombs/

                1 Reply Last reply Reply Quote 0
                • AmbarishrhA
                  Ambarishrh
                  last edited by

                  Wow, that was a very good read, and got some good info! Thanks a lot!

                  In my case, it was cPanel's Shell fork bomb protection, I disabled it for a while and was able to complete the installation and later on enabled it back again.

                  But thanks once again for that writeup on your blog 🙂

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    You're welcome. So you are up and working now?

                    1 Reply Last reply Reply Quote 0
                    • AmbarishrhA
                      Ambarishrh
                      last edited by

                      Yes that was sorted, now need to see how the dev team integrates sphinx search on the site.

                      1 Reply Last reply Reply Quote 1
                      • Reid CooperR
                        Reid Cooper
                        last edited by

                        Glad to see that you got that fixed.

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller
                          last edited by

                          Ah good.

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post