Roberto, thank you for the answer. I checked and saw that I already have reduced mem_limit for sphinx indexer to 64MB. It seems that even this is too much for my slice, when it shouldn't be... Check this (I'm baffled):
Mem: 523008k total, 470204k used, 52804k free, 1896k buffers Swap: 0k total, 0k used, 0k free, 41524k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2218 david 15 0 204m 108m 1936 S 0 21.2 2:22.51 thin 2223 david 15 0 201m 104m 2100 S 0 20.5 1:33.93 thin 2210 david 15 0 130m 60m 1352 S 0 11.8 0:04.31 thin 13651 david 16 0 108m 34m 1464 S 0 6.8 0:01.52 ruby 2102 mysql 15 0 162m 32m 1524 S 0 6.4 0:07.48 mysqld 2378 root 16 0 40608 6512 856 S 0 1.2 0:02.34 munin-node 2472 postgres 16 0 99.6m 4836 2168 S 0 0.9 0:00.85 postgres 13653 postgres 16 0 99.1m 4064 1876 S 0 0.8 0:00.03 postgres 11600 david 16 0 19760 3384 940 S 0 0.6 0:00.12 bash 2476 postgres 16 0 99.9m 3356 812 S 0 0.6 0:00.39 postgres ..... ..... So out of 512MB, only 52MB is free and that's why indexer reported "Cannot allocate memory". Can you please help me understand how can 90% of memory be used if first 5 lines in TOP total to 63% (the rest is negligible). So 3 thins, nginx, mysql and postgres should not consume 90% of 512MB and the percentages in the table confirm this. But still I only have 52MB left (!?). Thank you for any clarifications. David Roberto R wrote: > I haven't used the UltraSphinx plugin, but Sphinx itself has a mem_limit > configuration in its conf file to cap the amount of RAM that the indexer > will use. > > Roberto > blog.idearise.com > > > > > On Tue, Sep 23, 2008 at 10:11 PM, D. Krmpotic < -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---